Skip to content

ci: use cached linux packages in pr checks - #347655

Merged
Robo (deepak1556) merged 1 commit into
mainfrom
robo/use_apt_cache_pr_jobs
Nov 11, 2026
Merged

Robo (deepak1556) merged 1 commit into
mainfrom
robo/use_apt_cache_pr_jobs

Conversation

@deepak1556

@deepak1556 Robo (deepak1556) commented Nov 11, 2026 •

Copy link
Copy Markdown
Collaborator

The packages needed for these jobs are already present in the runner based apt cache, use it to workaround the canonical incident that is blocking PR.

@deepak1556
Robo (deepak1556) merged commit 85fa073 into main Nov 11, 2026
52 of 54 checks passed
@deepak1556
Robo (deepak1556) deleted the robo/use_apt_cache_pr_jobs branch November 11, 2026 16:15

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Warning

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

Copilot review overview

2 open issues
What changed in this PR

Switch PR workflow Linux dependency installation from inline apt commands to a shared local action to enable caching and reduce duplication.

Changes:

  • Replaced inline apt update/install steps with ./.github/actions/install-linux-packages in two jobs.
  • Standardized step naming to “Install system packages”.
File Description
.github/​workflows/​pr.yml Replaces per-job apt install commands with a shared local action for Linux package installation.

Review effort: Lite

Comment thread .github/workflows/pr.yml
- name: Install build tools
run: sudo apt update -y && sudo apt install -y build-essential pkg-config libx11-dev libx11-xcb-dev libxkbfile-dev libnotify-bin libkrb5-dev
- name: Install system packages
uses: ./.github/actions/install-linux-packages
Comment thread .github/workflows/pr.yml
sudo apt update
sudo apt install -y libxkbfile-dev pkg-config libkrb5-dev libxss1
- name: Install system packages
uses: ./.github/actions/install-linux-packages
Copilot stopped reviewing on behalf of Robo (deepak1556) due to an error November 11, 2026 16:24
Sandeep Somavarapu (sandy081) added a commit that referenced this pull request Nov 11, 2026
Picks up #347655 (cached Linux packages in PR checks) for the PR checks; no
conflicts.

Co-authored-by: Copilot <[email protected]>
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.

3 participants