Repository navigation
ci(test): replace stale CLI shard artifacts - #11644
Conversation
Signed-off-by: Charan Jagwani <[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 (2)
Included review availability: Your plan provides up to 12 included reviews per hour; 11 remain after this review. 📝 WalkthroughWalkthroughThe CLI coverage shard upload now overwrites existing artifacts with the same shard-specific name. A contract test verifies this configuration, and the source-shape budget records the related exception. ChangesCLI shard artifact replacement
Priority: ⬇️ Low Estimated code review effort: 1 (Trivial) | ~5 minutes Change: Bug fix · Severity of issue fixed: Low Suggested reviewers: Merge Risk: ⚪ Minimal · up to The CI change correctly replaces stale shard artifacts without introducing a supported production or coverage-merge risk. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
|
PR Review Advisor finished for commit |
Signed-off-by: Julie Yaunches <[email protected]>
|
Maintainer refresh status for head
The fresh hosted PR Review Advisor did not run because its green-CI prerequisite was not met. Repository follow-up policy permits rerunning unchanged work only when a checked-in transient retry policy applies; none was found for this timeout. Awaiting maintainer direction on whether to rerun the failed CI job. |
…1658) ## Outcome Portable rootless validation runs for relevant launch, connect, receipt, lifecycle state, retirement, and Hermes manifest changes. Both pull requests and main pushes select the Portable runtime authorities and production inputs used by the rootless proof. ## Reason The workflow filters omitted lifecycle owners, allowing relevant changes to miss Portable validation before merge. ### Related issues Fixes #11653 Part of #11573. ## Changes - Extend the existing filters for Portable lifecycle, registry, host/runtime authority, destroy, and inference-recovery owners. - Cover the gateway, build, executable-resolution, and other production modules imported by the existing rootless proof. - Exercise every added filter through 146 positive path-selection assertions and four unrelated-path exclusions in the existing workflow contract. ## Verification - Original baseline `cad153cc1b761353e4a9590da7fa2f5121913056`: three workflow tests passed; the lifecycle-selection regression failed. - Latest repair baseline `c76fee3f06dfd4cf8ea56f46293d84e8ca24a067`: three workflow tests passed; the expanded regression failed at 30 missed selections. - `node node_modules/vitest/vitest.mjs run --project e2e-support test/e2e/support/portable-profile-rootless-runtime-workflow.test.ts` — four tests passed after repair. - `node node_modules/vitest/vitest.mjs run --project integration test/automation/pull-requests/growth-guardrails.test.ts` — seven tests passed. - The workflow contract also passed all four tests under the official, SHA-256-verified Node v22.19.0 binary. - Read-only selection audit confirmed all 75 added event filters have real-file regression witnesses. All 25 direct production imports of the live rootless test select both triggers. - Normal signed-commit and pre-push hooks passed. GitHub verifies all eight published commits. - Diff reviewed; no secrets, API keys, or credentials added. Current candidate: `e64a04e5bb7cff37ee254e4d83469a9340e20c11`. This integrates canonical `main` at `14c500d9a1e9b1ab468c030fa205242b422e5eb7` to consume the merged CI artifact repair in #11644. That repair replaces stale CLI shard reports after a retry. [Fresh SDK packaging](https://github.com/NVIDIA/NemoClaw/actions/runs/34798801952) passed. [CI 34798803879](https://github.com/NVIDIA/NemoClaw/actions/runs/34798803879) passed on attempt 1, including all 12 CLI shards, coverage aggregation, and the final gate. Scanning, code quality, and the image/sandbox smoke checks passed. The PR diff remains limited to the workflow filters and their existing contract test. After integration, all four workflow tests and all 52 CI contract/growth tests passed. The canonical validation surface and 33,702 installed dependency files matched the independent reference. [Rootless E2E 34798803903](https://github.com/NVIDIA/NemoClaw/actions/runs/34798803903) passed all 13 phases. All four artifact files were read; both receipt source revisions match this commit. Artifact 10329969924 has verified SHA-256 `e175f865ffca7261d20c3ffcd7eaffaff2a5873b2ace07f64b7d2d1e7c38576b`. [CodeRabbit full review](#11658 (comment)) completed for this commit with no actionable in-scope findings. All nine specialists in [Advisor 34799626412](https://github.com/NVIDIA/NemoClaw/actions/runs/34799626412) completed on attempt 1. Every findings file, full summary, and E2E recommendation was read. The fixture-coverage finding is inherited and outside this production-source issue; assertion consolidation is advisory and conflicts with the existing loop rule. [Complete dispositions](#11658 (comment)) preserve those findings and the unperformed source-only/main-push dispatch limitation. No candidate-owned blocking repair remains. Historical evidence for `a055e5964ff92c8199abaffce7ba1dcd2c9bad50`: [rootless E2E 34768845805](https://github.com/NVIDIA/NemoClaw/actions/runs/34768845805) passed all 13 phases, and scanning, quality, and full CodeRabbit review completed. CI attempt 2 reused a stale failed shard artifact. The externally requested attempt 3 later cancelled during SDK discovery: the existing SDK producer was outside the consumer's 100-run lookup window. Advisor skipped behind the failed gate and produced no specialist artifacts. These results do not establish success for the new commit. ## Review notes Prior-commit review: CodeRabbit run `dc68a73e-0fb7-47d9-a6fb-e4d946f45a73` read the complete base-to-candidate diff. Its helper-input concern was [withdrawn after canonical-base reproduction](#11658 (comment)): both helpers retain the same PR-false/push-true selection on the base and candidate, outside this issue’s production-source scope. Self-review of NVIDIA/NemoClaw at `e64a04e5bb7cff37ee254e4d83469a9340e20c11` covered the sensitive `.github/workflows/portable-profile-e2e.yaml` and its existing contract test. Only path filters and selection assertions change. All nine specialists' findings, full summaries, and E2E recommendations from [Advisor run 34767731422, attempt 2](https://github.com/NVIDIA/NemoClaw/actions/runs/34767731422/attempts/2) were read. The preceding attempt lacked one report because of an Advisor submission-protocol error; the authorized full retry completed. The valid destroy, inference-recovery, and direct rootless-input omissions are repaired here. CodeRabbit's full review of `c76fee3` reported no actionable code findings; both existing threads are resolved. The Node API availability finding is disproven by [official Node v22.19.0 documentation](https://github.com/nodejs/node/blob/v22.19.0/doc/api/path.md#pathmatchesglobpath-pattern) and the successful minimum-version test. Direct assertions preserve the repository's test-loop growth rule; no budget or validator was relaxed. Deterministic tests prove both trigger lists. Published PR execution supplies commit-bound rootless evidence. An isolated source-only dispatch experiment has no supported E2E selector and is not claimed. No test, coverage, review, or identity gate is waived. --- Signed-off-by: Prekshi Vyas <[email protected]> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Tests** - Expanded automated coverage to verify that relevant portable runtime, sandbox, lifecycle, registry, CLI, and workflow changes trigger the appropriate validation workflows. - Added checks confirming that documentation-only and unrelated messaging changes do not trigger these workflows. - **Chores** - Updated continuous integration path filters to improve validation coverage for portable-profile changes across pull requests and pushes. - Included additional runtime, onboarding, cleanup, and workflow-related paths in validation coverage. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Signed-off-by: Prekshi Vyas <[email protected]>
Outcome
A successful CLI shard retry now replaces that shard's failed report instead of leaving both artifacts for the coverage merge to choose from. This prevents stale failed results from turning a successful retry into another failed rollup; production behavior is unchanged.
Reason
PR #11642 exposed the gap: shard 6 passed on retry, but the merge job selected its earlier failed artifact on two consecutive rollup attempts. Rerunning the rollup could not recover because both same-name artifacts remained attached to the workflow run.
Changes
Verification
npx --no-install vitest run --project integration test/automation/pull-requests/pr-workflow-contract.test.ts— 45/45 passed.npm run source-shape:check— passed with no unbudgeted source-shape tests.npm --prefix nemoclaw run build— passed.6f698307fae4b9b97210cf837c999618ec92c56eis Verified.Review notes
Sensitive workflow path:
.github/actions/ci-cli-coverage-shard/action.yaml. The exact three-file diff at6f698307fae4b9b97210cf837c999618ec92c56ereceived contributor self-review and a documentation-impact review; no maintainer pre-publication review exists. Ready for independent workflow review.Signed-off-by: Charan Jagwani [email protected]
Summary by CodeRabbit
Bug Fixes
Tests