Skip to content

test(e2e): revert failing #2701 guard assertion#5320

Closed
sandl99 wants to merge 1 commit into
mainfrom
revert/2701-crash-loop-e2e-guard
Closed

test(e2e): revert failing #2701 guard assertion#5320
sandl99 wants to merge 1 commit into
mainfrom
revert/2701-crash-loop-e2e-guard

Conversation

@sandl99

@sandl99 sandl99 commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Summary

Remove the newly added #2701 failing-test-first assertion from the legacy crash-loop E2E so the scheduled suite no longer fails on the known missing guard-chain recovery bug. The #2478 warning check remains in place, so this only backs out the new guard that is currently red.

Related Issue

Refs #2701. Reverts the failing assertion added by #5049.

FYI @jyaunches: this new guard is failing in today's scheduled run with FAIL: #2701: recovery did NOT restore guard chain — gateway respawned naked (DGX Spark crash-loop scenario). This PR removes only that assertion while preserving the existing #2478 recovery-warning coverage.

Changes

Type of Change

  • Code change (feature, bug fix, or refactor)
  • Code change with doc updates
  • Doc only (prose changes, no code sample modifications)
  • Doc only (includes code sample changes)

Verification

Ran bash -n test/e2e/test-issue-2478-crash-loop-recovery.sh; commit/push hooks also passed for the touched file. Full E2E is currently running at https://github.com/NVIDIA/NemoClaw/actions/runs/27396406250.

  • npx prek run --all-files passes
  • npm test passes
  • Tests added or updated for new or changed behavior
  • No secrets, API keys, or credentials committed
  • Docs updated for user-facing behavior changes
  • npm run docs builds without warnings (doc changes only)
  • Doc pages follow the style guide (doc changes only)
  • New doc pages include SPDX header and frontmatter (new pages only)

Signed-off-by: San Dang sdang@nvidia.com

Summary by CodeRabbit

  • Tests
    • Simplified crash-loop recovery regression test by removing an intermediate validation assertion, streamlining the test flow to focus on recovery and stability phases.

@sandl99 sandl99 self-assigned this Jun 12, 2026
@coderabbitai

coderabbitai Bot commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: fdf981de-622d-40f6-89fc-98f424a10a7c

📥 Commits

Reviewing files that changed from the base of the PR and between b3500bf and a705c89.

📒 Files selected for processing (1)
  • test/e2e/test-issue-2478-crash-loop-recovery.sh
💤 Files with no reviewable changes (1)
  • test/e2e/test-issue-2478-crash-loop-recovery.sh

📝 Walkthrough

Walkthrough

The e2e regression script removes a post-negative-case assertion that verified the respawned gateway maintained the library guard chain active. After waiting for the negative process, the test now proceeds directly to proxy-env restoration without performing that intermediate guard-chain validation.

Changes

E2E Crash Loop Recovery Test

Layer / File(s) Summary
Remove post-negative-case guard assertion
test/e2e/test-issue-2478-crash-loop-recovery.sh
The #2701 assertion checking gateway_guards_active "$NEGATIVE_PID" after negative-case recovery is removed, streamlining the test flow to proceed directly to proxy-env restoration and the guard-restore recovery phase.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related issues

Suggested labels

nightly-e2e

Suggested reviewers

  • cv

Poem

🐰 An assertion departs with grace,
No guard-chain check in this test case,
The gateway recovers without the stare,
Straight to restore—a simpler affair! ✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'test(e2e): revert failing #2701 guard assertion' clearly and specifically describes the main change: removing a failing assertion from an e2e test script.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch revert/2701-crash-loop-e2e-guard

Comment @coderabbitai help to get the list of available commands and usage tips.

@sandl99 sandl99 requested a review from jyaunches June 12, 2026 05:56
@sandl99 sandl99 added the nightly-e2e Nightly E2E test failures label Jun 12, 2026
@github-actions

Copy link
Copy Markdown
Contributor

E2E Advisor Recommendation

Required E2E: None
Optional E2E: issue-2478-crash-loop-recovery-e2e, gateway-guard-recovery

Workflow run

Full advisor summary

E2E Recommendation Advisor

Base: origin/main
Head: HEAD
Confidence: high

Required E2E

  • None. No merge-blocking E2E is required because this PR changes only an existing E2E test script and cannot affect runtime/user flows directly. Optional runs may be useful to validate the edited test and adjacent guard-recovery coverage.

Optional E2E

New E2E recommendations

  • None.

@github-actions

Copy link
Copy Markdown
Contributor

Vitest E2E Scenario Recommendation

Required Vitest E2E scenarios: None
Optional Vitest E2E scenarios: None

Workflow run

Full Vitest E2E advisor summary

Vitest E2E Scenario Advisor

Base: origin/main
Head: HEAD
Confidence: high

Required Vitest E2E scenarios

  • None. Changed file is a legacy test/e2e shell test outside test/e2e-scenario/ and does not affect the Vitest scenario registry, live support, fixtures, manifests, or e2e-vitest-scenarios.yaml dispatch machinery.

Optional Vitest E2E scenarios

  • None.

Relevant changed files

  • None.

@github-actions

Copy link
Copy Markdown
Contributor

PR Review Advisor

Findings: 0 needs attention, 2 worth checking, 0 nice ideas
Top item: Update #2701 coverage ownership after removing the legacy assertion

Review findings

🛠️ Needs attention

  • None.

🔎 Worth checking

🌱 Nice ideas

  • None.
Consider writing more tests for

Workflow run details

This is an automated advisory review. A human maintainer must make the final merge decision.

@cv cv added the v0.0.65 Release target label Jun 13, 2026
@cv cv closed this Jun 13, 2026
@sandl99 sandl99 deleted the revert/2701-crash-loop-e2e-guard branch June 14, 2026 09:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

nightly-e2e Nightly E2E test failures v0.0.65 Release target

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants