Skip to content

fix(ci): preserve Debian apt package archives in linux-stage-zero - #39

Merged
nilbot merged 3 commits into
masterfrom
fix/ci-debian-package-cache
Aug 29, 2026
Merged

fix(ci): preserve Debian apt package archives in linux-stage-zero#39
nilbot merged 3 commits into
masterfrom
fix/ci-debian-package-cache

Conversation

@nilbot

@nilbot nilbot commented Aug 29, 2026

Copy link
Copy Markdown
Owner

Summary

In linux-stage-zero container jobs, Debian (debian:stable-slim) ships with /etc/apt/apt.conf.d/docker-clean, an APT hook that automatically deletes all downloaded .deb archives from /var/cache/apt/archives/ upon completion of apt-get commands. As a result, actions/cache was saving an empty 394-byte directory metadata tarball, preventing package archive caching.

Changes

  • In .github/workflows/verify.yml, updated the Debian prereqs matrix entry to remove /etc/apt/apt.conf.d/docker-clean and set Binary::apt::APT::Keep-Downloaded-Packages "true"; in /etc/apt/apt.conf.d/keep-cache before running apt-get.
  • Preserves downloaded Debian .deb packages in /var/cache/apt/archives/ so actions/cache can save and restore them across workflow runs.

Validation

  • Validated YAML syntax in .github/workflows/verify.yml.
  • Ran full Go test suites across agents and bootstrap.d: 100% PASS.
  • Full two-stage subagent reviews (spec compliance and code quality): PASSED.

@nilbot
nilbot merged commit f6073bb into master Aug 29, 2026
11 checks passed
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