fix(e2e): restore CLI artifact for security posture - #8621
Conversation
Signed-off-by: Apurv Kumaria <akumaria@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 (7)
💤 Files with no reviewable changes (2)
📝 WalkthroughWalkthroughThe E2E workflow now restores the exact-commit CLI artifact for ChangesCLI artifact alignment
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Suggested labels: Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
Code Coverage OverviewLanguages: TypeScript TypeScript / code-coverage/pluginThe overall coverage in commit 4c2e1db in the TypeScript / code-coverage/cliThe overall coverage in commit 4c2e1db 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. 2 semantic terminology decisionsTerminology decisions are advisory. They affect the assessment only when a separate finding identifies concrete semantic impact.
E2E guidanceAdvisory only. A maintainer can dispatch the default E2E suite against this exact revision. Recommended E2E: This automated review informs maintainers. Warnings and suggestions do not require a response. A maintainer decides whether to merge. |
Summary
The trusted
security-posturejob now restores the exact candidate CLI artifact produced bygenerate-matrixbefore telemetry, installation, and live testing. This suppliesnemoclaw/dist/shared/sandbox-name.cjswhile retaining the existing receipt, provenance, digest, and security-posture gates.Changes
prepare-e2estep insecurity-posture.security-postureas an exact-artifact consumer and requiresandbox-name.cjsat both producer and restore contract boundaries.prepare-e2eskipped the CLI build forsecurity-posture, while the artifact-consumer registry also excluded that job even thoughgenerate-matrixpackaged the required shared module. The former contract test encoded that exclusion, so it did not catch the missing restore. The failure is visible in current-main run 31243363889.Type of Change
Quality Gates
test/e2e/README.mdwas updated to match the trusted workflow ordering.4c2e1db90; receipt, provenance, credential scope, failure ordering, and security-posture controls remain intact.Documentation Writer Review
docs-updatedtest/e2e/README.mdto document artifact restoration before telemetry and the resultingsecurity-posturemeasurement window.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 unavailableorigin/mainpath-scoped selection passed 397 tests across 36 files.npm testfor broad runtime/test-harness changes;npm run checkfor repo-wide validation/coverage changes — command/result:npm run docsbuilds without warnings (doc changes only)Signed-off-by: Apurv Kumaria akumaria@nvidia.com
Summary by CodeRabbit
Bug Fixes
Documentation