Repository navigation
fix(config): isolate tests and complete export E2E selection - #11303
Conversation
Signed-off-by: Carlos Villela <[email protected]>
|
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 (7)
💤 Files with no reviewable changes (1)
Included review availability: Your plan provides up to 12 included reviews per hour; 9 remain after this review. 📝 WalkthroughWalkthroughThe changes update ChangesConfiguration and contract updates
Priority: ⬇️ Low Estimated code review effort: 1 (Trivial) | ~5 minutes Severity of issue fixed: Low Merge Risk: ⚪ Minimal · up to This change makes configuration-export and CLI contract tests deterministic, routes relevant changes to existing network-policy E2E coverage, and aligns OpenShell test imports with the SDK module boundary. No current merge-blocking production risk is identified. Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
Comment |
Outcome
Configuration-export tests no longer depend on an absent host API key, and export command, serialization, publisher, and SDK-schema changes select the existing
network-policylive target. The compiled version-format test uses an explicit gateway port instead of automatic port discovery.Reason
These repairs address review findings from #11065. The environment assertion failed with a host API key set, and publisher/schema changes did not select their live coverage. Automatic port discovery also failed locally before the version probe reached the CLI.
Related issues
Refs #10938. Follow-up to #11065.
Changes
Verification
373 selected tests passed on the follow-up branch:
npx vitest run --project cli src/lib/adapters/config/live-export-source.test.ts src/lib/adapters/openshell/sandbox-command-sdk.test.ts src/lib/adapters/openshell/providers.test.ts— 72 passed.npx vitest run --project e2e-support test/e2e/support/workflow-plan.test.ts— 103 passed.npx vitest run --project integration test/automation/pull-requests/pr-risk-plan.test.ts test/automation/pull-requests/growth-guardrails.test.ts— 197 passed.npx vitest run --project package-contract test/package-contract/cli/public-cli-contracts.test.ts -t 'prints the public NemoClaw version prefix'— 1 passed.npm run build:cli,npm run typecheck:cli,npx oxlint . .dsh/tools, andgit diff --check— passed.The missing publisher/schema selections and ambient-key failure were reproduced before repair. The diff contains no secrets, API keys, or credentials. No live E2E run was performed.
Review notes
tools/e2e/target-catalogue.mtsis a sensitive enforcement path. Local self-review of NVIDIA/NemoClaw commit52c7c37fc268bb13d6e906385254eae32d9fef08checked that selection expands only to the existing export owner and adds no runtime target or assertion budget. The originating CodeRabbit review identified the selection and environment issues; this follow-up candidate awaits independent review. Validation uses the listed local checks and normal Git hooks;npm run validate:prwas not run.The earlier CI failure reported a five-second version-test timeout. Removing port-discovery dependence passed locally; GitHub CI must confirm the result for this candidate.
Signed-off-by: Carlos Villela [email protected]
Summary by CodeRabbit
Documentation
Tests