fix(ci): isolate apt package metadata - #11344
Conversation
Signed-off-by: Charan Jagwani <cjagwani@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 (3)
Included review availability: Your plan provides up to 12 included reviews per hour; 7 remain after this review. 📝 WalkthroughWalkthroughAPT package installation in two workflows now uses temporary package-list state and explicit Ubuntu source configuration. The contract test validates the isolated update and pinned package installation commands. ChangesAPT installation isolation
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to The workflows now isolate APT metadata while retaining pinned tool installation, with contract coverage for both refresh and install commands. No current merge-blocking risk remains. 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 line coverage in commit 98cac24 in the TypeScript / code-coverage/cliThe overall line coverage in commit 98cac24 in the Show a line coverage summary of the most impacted files.
Updated |
|
Closing to consolidate this work into #11319. The isolated APT-list cache detail and regression evidence have been shared there. |
Outcome
APT package refresh and installation in CLI coverage and the trusted Advisor runtime now use the same official Ubuntu source and an isolated package-list directory. Ambient third-party indexes on hosted runners can no longer influence the pinned tool installation.
Reason
PR #11324 restricted
apt-get update, fixing the shared Chrome repository hash failure, but its subsequentapt-get installcould still consult cached indexes from unrelated runner sources. The completed PR Review Advisor run identified that incomplete trust boundary after #11324 merged.Related issues
Relates to #10791
Follow-up to #11324
Changes
RUNNER_TEMPfor both affected workflow owners.Verification
npx vitest run test/automation/pull-requests/pr-workflow-contract.test.ts --project integration— 42 tests passed on currentmain.npm run check:diff— passed after generating the checkout's ignored build artifacts normally.98cac24d9eb96da5061024f572363f82db601eb7is Verified (reason: valid).npm run check:diff— passed; the diff contains no secrets, API keys, or credentials.Review notes
This changes sensitive workflow paths. It is the smallest follow-up for the package-origin finding reported by all relevant specialists in Advisor run 34408930398 and still requires independent maintainer review.
Signed-off-by: Charan Jagwani cjagwani@nvidia.com
Summary by CodeRabbit
Bug Fixes
Tests