test(e2e): accept recovered proxy env#5365
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe test's negative-case proxy-env restoration validation now conditionally accepts recovered environments when the gateway guard chain is active, rather than requiring byte-identical file restoration after recovery. ChangesProxy-env Restoration Validation
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
E2E Advisor RecommendationRequired E2E: None Dispatch hint: Full advisor summaryE2E Recommendation AdvisorBase: Required E2E
Optional E2E
New E2E recommendations
Dispatch hint
|
Vitest E2E Scenario RecommendationRequired Vitest E2E scenarios: None Full Vitest E2E advisor summaryVitest E2E Scenario AdvisorBase: Required Vitest E2E scenarios
Optional Vitest E2E scenarios
Relevant changed files
|
Selective E2E Results — ❌ Some jobs failedRun: 27438172279
|
PR Review AdvisorFindings: 0 needs attention, 2 worth checking, 0 nice ideas Review findings🛠️ Needs attention
🔎 Worth checking
🌱 Nice ideas
Consider writing more tests for
Since last review detailsCurrent findings:
This is an automated advisory review. A human maintainer must make the final merge decision. |
Selective E2E Results — ❌ Some jobs failedRun: 27438652246
|
|
There's a follow-up here #5342 that is related to this as well. |
Selective E2E Results — ❌ Some jobs failedRun: 27444194176
|
|
Closing as superseded by #5342, which folded in the recovered proxy-env test update, tightened the guard-log proof to use fresh recovery boundaries, and has a passing issue-2478 crash-loop recovery E2E in run 27449849361. |
Summary
Tests the hypothesis from nightly run 27435780434 that
issue-2478-crash-loop-recovery-e2eis failing because PR #5321 now restores a minimal hardened/tmp/nemoclaw-proxy-env.sh, while the bash test still expects to overwrite it with the original byte-identical snapshot.This keeps the #2701 contract assertion intact, but after the negative-case recovery it accepts either:
gateway_guards_activeproves the safety-net + ciao guards are active.Validation
bash -n test/e2e/test-issue-2478-crash-loop-recovery.shgit diff --checkSelective nightly run will be dispatched for
issue-2478-crash-loop-recovery-e2eagainst this branch.Refs #2478 #2701 #5321
Summary by CodeRabbit