cache-apt-pkgs-action/scripts/dev
Andrew Walsh 9792dbe32f
style: set Prettier print width to 110 and reformat (#246)
* style: set Prettier print width to 110 and reformat

Without a repo config, the Prettier CLI and Trunk used the default
width of 80, while editors with a user printWidth reflowed files on
save, producing formatting-only diffs. Pin the width in .prettierrc.json
and reformat source, tests, scripts and JS/TS config files to match.

Files that already failed Prettier at width 80 for unrelated reasons
(tsconfig*.json, .trunk/*, V2_FAQ.MD) are left untouched.

No code changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* test: cover cache restore and save failure paths

Codecov flagged lines in #246 as uncovered patch lines; they were
untested before the reformat touched them. Add behavior tests for:

- Cache: cache miss, missing or empty manifests, unreadable cache dir,
  metapackage-only restore, install scripts running after their archive
  with dpkg actions, existing archives, unavailable cache service, and
  save failures.
- ManifestEntry.fromJSON round trip.
- buildFileList dropping missing files, updateAptLists skipping update
  for populated lists and searching only to max depth, and fromInput
  ignoring a version without a package name.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 11:45:29 -08:00
..
act_ci.sh Add local act CI runner and document @latest-v2 2026-10-23 09:16:44 -07:00
create_testcase_logs.mts style: set Prettier print width to 110 and reformat (#246) 2026-11-09 11:45:29 -08:00
gh_auth.sh stuff 2026-07-25 16:08:50 -07:00
gh_sync.mts style: set Prettier print width to 110 and reformat (#246) 2026-11-09 11:45:29 -08:00
hotfix_pr.mts style: set Prettier print width to 110 and reformat (#246) 2026-11-09 11:45:29 -08:00
node_ver.mts style: set Prettier print width to 110 and reformat (#246) 2026-11-09 11:45:29 -08:00
setup_devenv.mts style: set Prettier print width to 110 and reformat (#246) 2026-11-09 11:45:29 -08:00