Skip to content

ci(visual): cache apt packages for heavy Linux DEs#29

Merged
afonsojramos merged 1 commit into
mainfrom
cache-heavy-de-apt-pkgs
May 12, 2026
Merged

ci(visual): cache apt packages for heavy Linux DEs#29
afonsojramos merged 1 commit into
mainfrom
cache-heavy-de-apt-pkgs

Conversation

@afonsojramos
Copy link
Copy Markdown
Member

Summary

KDE Plasma, Cinnamon, and Budgie pull hundreds of MB of apt packages on every visual-tray run. Adds awalsh128/cache-apt-pkgs-action@v1.6.0 for those three matrix entries so subsequent runs skip the download phase.

  • Split install into base dependencies (xvfb, faketime, libgtk-3-0, etc. — same for every job, fast) + desktop environment (per-matrix).
  • New cache_apt: true flag on the KDE/Cinnamon/Budgie matrix entries routes them through the cache action; everything else uses regular apt-get install.
  • Action is tag-pinned to v1.6.0 (latest stable, published 2025-10-15) and scoped to version: '1.0' — bump that string to invalidate caches if the heavy DE package set ever changes.

Expected saving: ~30–60s per heavy run on cache hits. Today's KDE/Budgie 17–20min times were mostly GHA queue wait, not install — this won't fix that, but it does trim real wall-clock when runners are responsive.

Test plan

  • First run: cache misses on all three, jobs still pass (warm cache populated)
  • Second run: cache hits visible in job log, KDE/Cinnamon/Budgie install steps measurably faster

@afonsojramos afonsojramos merged commit f2ddd8e into main May 12, 2026
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant