test(skills): isolate triage subprocess options - #9210
Conversation
Signed-off-by: Senthil Ravichandran <senthilr@nvidia.com>
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
|
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 triage runtime tests now clear ChangesTriage runtime test updates
Estimated code review effort: 1 (Trivial) | ~5 minutes Merge Risk: ⚪ Minimal · up to The change isolates the standalone triage test process from inherited Node options and improves failure context without changing product behavior; no actionable merge-blocking risk remains after normal checks and review. Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
Code Coverage OverviewLanguages: TypeScript TypeScript / code-coverage/pluginThe overall coverage in commit df3c972 in the TypeScript / code-coverage/cliThe overall coverage in commit df3c972 in the Show a code coverage summary of the most impacted files.
Updated |
PR Review Advisor — No blocking findings reportedAdvisor assessment: No blocking advisor findings reported Model lanes
Second-opinion terminology and E2E selections are advisory. Live E2E does not run automatically for pull requests. E2E guidanceAdvisory only. A maintainer can dispatch the default E2E suite for the commit under review. Recommended E2E: None 1 warning · 0 suggestionsWarningsWarnings do not block.
|
Summary
The maintainer triage runtime test now isolates its standalone Node process from Vitest's inherited
NODE_OPTIONS. This prevents the test runner's source-require hook from rewriting the script's./shared.tsimport to missing./shared.jsin CLI shard 12.Affected evidence:
Both jobs failed the same three assertions in
test/skills/triage-runtime.test.ts.Related Issue
No issue. This is a shared required-check blocker for #9199 and #9204.
Changes
NODE_OPTIONSonly for the spawned standalone triage process, which already receives its required Node arguments explicitly.Type of Change
Quality Gates
Documentation Writer Review
no-docs-needed/root/openclaw_docs_review)DGX Station Hardware Evidence
Verification
Signed-off-by:line and every commit appears asVerifiedin GitHubpre-commit,commit-msg, andpre-pushhooks passed, ornpm run validate:prpassed after refreshingorigin/mainwhen hooks were skipped or unavailable./shared.jsand passed 3/3 at commit under reviewdf3c9723npm testfor broad runtime/test-harness changes;npm run checkfor repo-wide validation/coverage changes — fullnpm run validate:prpassed at commit under reviewdf3c9723npm run docsbuilds without warnings (doc changes only)Signed-off-by: Senthil Ravichandran senthilr@nvidia.com
Summary by CodeRabbit
NODE_OPTIONSwhile preserving the mocked execution path.