fix(ci): retain locked dependencies during E2E SDK installation - #11451
fix(ci): retain locked dependencies during E2E SDK installation#11451ericksoa wants to merge 1 commit into
Conversation
Signed-off-by: Aaron Erickson <aerickson@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 (6)
Included review availability: Your plan provides up to 12 included reviews per hour; 11 remain after this review. 📝 WalkthroughWalkthroughThe E2E SDK installation commands now preserve the existing npm lockfile. Tests validate both workflow commands with offline real-npm installation, and workflow trigger contracts run the new SDK installation regression test. ChangesSDK installation correction
Estimated code review effort: 3 (Moderate) | ~20 minutes Severity of issue fixed: High Suggested reviewers: Merge Risk: ⚪ Minimal · up to E2E SDK installs now use the existing lockfile while preserving manifest and lifecycle-script protections. Both workflow paths have matching offline regression coverage, leaving no merge-blocking risk identified. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
|
@coderabbitai review |
✅ Action performedReview finished.
|
Code Coverage OverviewLanguages: TypeScript TypeScript / code-coverage/pluginThe overall line coverage in commit 18b9f1f in the TypeScript / code-coverage/cliThe overall line coverage in commit 18b9f1f in the Updated |
Outcome
E2E jobs install the reviewed OpenShell SDK archive using the dependency graph already installed by
npm ci. This removes the sharededgesOutsetup failure that prevented the runtime tests from starting.Reason
--package-lock=falsedisables lockfile reading as well as writing. During the additional SDK install, npm 10.9.8 resolves the dependency graph again and crashes in Arborist. The existing mocked-npm test checked the command and credential removal but could not detect dependency-resolution failures.Related issues
Fixes #11449. Unblocks qualification of #11382 and #11366.
Changes
--package-lock=falsefrom the catalogue profile and external gateway health job. Retain--no-save,--ignore-scripts, archive cardinality checks, and credential removal.Verification
7b4d000499e3abbedf51d817a8771588e69ecafcpackage files, and SDK 0.0.106 from run 34487048057. The archive matchedci/reviewed-npm-audit.jsonSHA-512 integrity. No host credentials were mounted or passed. Freshnpm ci --ignore-scriptssucceeded in both cases. The old command failed withedgesOut; the correction installed the SDK and passed the connection API import in 1.92 seconds. Both manifests remained byte-identical.npm run validate:prpasses with canonical-main validation code and resolved executables. The changed boundary definition and watch mapping were temporarily replaced by canonical bytes for this independent gate, then restored. Their proposed behavior was tested separately above.Review notes
Self-review covered all six changed files at
18b9f1f1f7c45c27bff72024ffa2d03aee0511d8in NVIDIA/NemoClaw. The two workflows andtools/e2e/standard-profile-workflow-boundary.mtsare sensitive paths. Independent review is pending; this PR remains a draft.This repairs shared test setup. It does not establish live qualification for #11382: its 14 selected Docker/Podman jobs must run again after the repair reaches the trusted main workflow. Advisor review is also blocked by shared provider-budget exhaustion; no waiver is claimed.
Signed-off-by: Aaron Erickson aerickson@nvidia.com
Summary by CodeRabbit
Bug Fixes
Tests