Skip to content

Tidy CI caching and dead workflow config - #2025

Merged
benbalter merged 1 commit into
mainfrom
audit-ci-cleanup
Sep 27, 2026
Merged

benbalter merged 1 commit into
mainfrom
audit-ci-cleanup

Conversation

@benbalter

Copy link
Copy Markdown
Owner

CI cleanup from a general audit.

  • Nested cache. The Astro build cache (node_modules/.astro) contained the Chromium cache (node_modules/.astro/chrome), so every new build-cache entry re-saved about 150 MB of browser. That path is now excluded; Chromium keeps its own lockfile-keyed cache.
  • E2E Chromium cache. The e2e build renders /resume.pdf, so it needs Chromium too. Until now it only got Chromium by accident, through the shared Astro cache key. It now has the same explicit cache as deploy.
  • Deploy concurrency. cancel-in-progress: false, so a new push can no longer kill wrangler deploy mid-upload. GitHub still replaces a queued run with the newest one.
  • FORCE_JAVASCRIPT_ACTIONS_TO_NODE24 removed. I checked each pinned action's action.yml: cache, checkout, and setup-node all declare node24 already.
  • Dead triggers removed. Dropped the master trigger (no such branch) and the js/** path filters (no such directory).
  • links.yml. The issue step only ran on schedule, and the workflow has no schedule. Removed it and issues: write, and set persist-credentials: false. The workflow is still disabled; I didn't delete it because it also validates HTML.

Verification

  • actionlint and yamllint pass.
  • Prettier reports no findings beyond what main already has.

🤖 Generated with Claude Code

- Exclude node_modules/.astro/chrome from the Astro build cache (it has its own cache) so ~150MB of Chromium isn't re-saved with every build-cache entry
- Give the e2e build job the same astro-pdf Chromium cache as deploy
- Don't cancel an in-progress deploy; queued runs are still superseded
- Drop FORCE_JAVASCRIPT_ACTIONS_TO_NODE24; every pinned action already runs on node24
- Remove the nonexistent master branch trigger and js/** path filters
- links.yml: drop the schedule-only issue step (no schedule exists) and its issues: write permission; don't persist checkout credentials

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@benbalter
benbalter merged commit 4f96dbe into main Sep 27, 2026
22 checks passed
@benbalter
benbalter deleted the audit-ci-cleanup branch September 27, 2026 13:48
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