fix(hermes): clear Tirith retry marker before command dispatch#4666
Conversation
Signed-off-by: Chengjie Wang <chengjiew@nvidia.com>
|
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)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughRelocates the Tirith retry-marker cleanup to run before explicit-command ChangesTirith Marker Cleanup on Command Dispatch
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 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 Full advisor summaryE2E Recommendation AdvisorFailed: Could not parse JSON from advisor output; see /home/runner/work/NemoClaw/NemoClaw/artifacts/e2e-advisor/e2e-advisor-raw-output.txt |
E2E Scenario Advisor RecommendationRequired scenario E2E: None Full scenario advisor summaryE2E Scenario AdvisorFailed: Could not parse JSON from advisor output; see /home/runner/work/NemoClaw/NemoClaw/artifacts/e2e-advisor/e2e-scenario-advisor-raw-output.txt |
PR Review AdvisorFindings: 0 needs attention, 0 worth checking, 0 nice ideas This is an automated advisory review. A human maintainer must make the final merge decision. |
Summary
Hermes startup now clears a retryable Tirith
download_failedmarker before dispatching explicit sandbox commands. This lets restart/status command paths run the documented marker cleanup instead of skipping it and leaving.tirith-install-failedbehind.Related Issue
Fixes #4511
Changes
retry_tirith_marker_if_neededahead of explicit command dispatch in both root and non-root Hermes startup paths.download_failedmarker and verifies explicit command dispatch sees the marker already removed.Type of Change
Verification
npx prek run --all-filespassesnpm testpassesnpm run docsbuilds without warnings (doc changes only)Focused checks run:
npm test -- --run test/hermes-start.test.tspassesnpm run source-shape:checkpassesgit diff --checkpassesFull local checks attempted but did not pass due existing environment/setup blockers: missing plugin
json5dependency undernemoclaw/node_modules, localdist/artifact failures in a directnpm testrun before build, macOS OpenShell standalone asset expectations, localhost fixture HTTP 403s, locale warnings, and e2e-scenario timeout failures.Signed-off-by: Chengjie Wang chengjiew@nvidia.com
Summary by CodeRabbit
Bug Fixes
Tests