cache-apt-pkgs-action/test
awalsh128 c06fd86f51 fix: archive installed package files on cache miss
Manifest.from built every entry with an empty file list and buildFileList
was never called, so tar.create was handed no paths. node-tar throws "no
paths specified to add to archive" for that, so every cache miss failed
before saving.

The runner now builds each manifest entry from buildFileList and passes
the manifest to archiveAndSave. Packages with no files (e.g.
metapackages) are skipped on archive and on restore since tar can't
create an empty archive. Manifest.from is removed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 16:30:52 -08:00
..
action-runner.test.ts fix: archive installed package files on cache miss 2026-11-05 16:30:52 -08:00
action.test.ts stuff 2026-08-01 12:33:44 -07:00
cache-restore.test.ts fix: archive installed package files on cache miss 2026-11-05 16:30:52 -08:00
cache.test.ts stuff 2026-08-01 12:33:44 -07:00
instrumentation.test.ts stuff 2026-08-01 12:33:44 -07:00
manifest.test.ts stuff 2026-08-01 12:33:44 -07:00
packages.test.ts stuff 2026-08-01 12:33:44 -07:00