cache-apt-pkgs-action/test
awalsh128 c24c2b9e97 fix: write logs under the home cache directory and await artifact upload
Instruments opened its log files at the relative path cache-apt-pkgs/
before that directory existed, so the action crashed at startup with
ENOENT. It also pointed artifact uploads there while Cache uses
~/cache-apt-pkgs. Resolve both with a shared resolveCacheDir helper and
create the directory before opening the logs.

The artifact upload was also never awaited, so a failed upload became an
unhandled rejection. Await it and report failures as a warning.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 18:22:55 -08:00
..
action-runner.test.ts fix: archive installed package files on cache miss (#229) 2026-11-05 16:34:09 -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 (#229) 2026-11-05 16:34:09 -08:00
cache.test.ts stuff 2026-08-01 12:33:44 -07:00
instrumentation.test.ts fix: write logs under the home cache directory and await artifact upload 2026-11-05 18:22:55 -08: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