Skip to content

Bound package setup for the E2E native-cache job - #24758

Merged
nwparker merged 1 commit into
mainfrom
nwparker/test-audit-native-apt-bounds
Oct 2, 2026
Merged

nwparker merged 1 commit into
mainfrom
nwparker/test-audit-native-apt-bounds

Conversation

@nwparker

@nwparker nwparker commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor
Files Added Deleted Net
Test 0 0 0 0
Prod 1 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​21 $\color{#cf222e}{\Huge{\mathbf{−}}}$​14 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​7

ELI5

The native-cache job could spend its test budget waiting on an apt mirror and block every E2E lane behind it. It now uses the same bounded package setup as the UI test jobs.

What Changed

Move the existing HTTPS archive selection, 15-second connection timeouts, one retry, and 120/300-second update/install limits into the native-cache step's YAML anchor. Pass each job's existing package list through ORCA_E2E_APT_PACKAGES; all three UI lanes reuse the same installer and package-list anchor. The cache job installs only its build tools.

Why

The earlier mirror fix covered UI jobs but left their native-cache prerequisite unbounded. Sharing the existing implementation keeps the limits consistent. Keeping it inline also lets this workflow test historical commit refs without requiring a new script file in those checkouts.

Linked Issue

Internal CI audit; follow-up to #24617.

Visual Proof

N/A — CI setup only.

Testing

  • 14 existing workflow selection, Docker-sharding, and CLI-artifact tests passed on the final revision.
  • Four controlled Bash executions with stubbed apt/timeout commands verified both package lists, the emitted apt settings, and propagation of update/install timeout failures. An update timeout prevents installation from starting.
  • YAML parsing confirms all four jobs use the same installer with their correct package lists. Bash syntax and shellcheck passed.
  • Formatting, whitespace, and changed-code quality passed. Actionlint has the same three baseline findings and no new findings.
  • No real apt installation was run on the macOS desktop. The unchanged UI installer settings previously passed Linux CI; the new cache-step wiring has controlled local execution evidence.

Review

Linux-only CI jobs retain their declared Ubuntu runners and timeout budgets. No application, Windows, macOS, SSH protocol, or terminal behavior changes.

  • Not applicable to the agent skill upstream boundary.

Checklist

  • Focused change; mechanism and reasons explained
  • N/A visual proof supplied
  • Self-reviewed; historical-ref execution preserved
  • Relevant tests and shell/workflow checks passed

@coderabbitai

coderabbitai Bot commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 4 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 10 included reviews currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Advanced

Run ID: 41d39638-04ff-4466-8add-a659f310b747

📥 Commits

Reviewing files that changed from the base of the PR and between adf447d and fc9f34e.

📒 Files selected for processing (1)
  • .github/workflows/e2e.yml
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Autopilot is currently an internal CodeRabbit preview.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@nwparker
nwparker merged commit 3025264 into main Oct 2, 2026
2 of 3 checks passed
@nwparker
nwparker deleted the nwparker/test-audit-native-apt-bounds branch October 2, 2026 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant