Commit graph

5 commits

Author SHA1 Message Date
awalsh128 06ebcd9b21 Fail the action on package resolution and install errors
lib.sh disables errexit, so failures from package resolution, apt-fast
install, and repository setup were ignored and an incomplete install could
be cached. Check each of these explicitly and abort with a distinct exit
code, and verify every requested package is installed before caching.

- Report virtual packages with no providers (e.g. python on 22.04) with a
  clear error instead of a mangled "Reverse=Provides:" package (#166).
- Stop reporting each apt_query error twice.
- Guard logging.Debug against an uninitialized logger.
- Add an abort helper to lib.sh and use it for all abort sites.
- Add distribute.sh build-committed-binaries / check-committed-binaries and
  apt_query.srchash so PR CI fails when the committed binaries are stale
  (#166, #218). Release and committed builds share build_apt_query.
- Rebuild the committed apt_query binaries.
- Make the expected-failure tests actually fail when the action succeeds,
  and add regression tests for #166 and #221.

Fixes #166
Fixes #221

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 15:50:38 -08:00
copilot-swe-agent[bot] 553a35bb8e Refactor: extract ARCH_DIRS array to eliminate duplication in consolidate-release 2026-06-29 23:00:54 -07:00
copilot-swe-agent[bot] aecf4c42e4 Fix create-release CI failure: consolidate release artifacts and restrict to workflow_dispatch only 2026-06-29 23:00:54 -07:00
copilot-swe-agent[bot] 5602509099 fix: address code review feedback in distribute.sh 2026-06-29 22:40:59 -07:00
copilot-swe-agent[bot] a50a475226 fix: create scripts/distribute.sh for build-distribute workflow 2026-06-29 22:40:59 -07:00