Skip to content

ci: bun dependency cache + skip docs-only changes - #274

Merged
dahai80 merged 2 commits into
mainfrom
ci/retrofit-273
Nov 16, 2026
Merged

dahai80 merged 2 commits into
mainfrom
ci/retrofit-273

Conversation

@dahai80

@dahai80 dahai80 commented Nov 16, 2026

Copy link
Copy Markdown
Owner

Closes #273.

Meta-tracker: dahai80/fusion#2 retrofit checklist (audit 2026-11-16, remote default branch):

Checklist item Before After
concurrency cancel present unchanged
dependency cache missing actions/cache@v4 on ~/.bun/install/cache, keyed bun.lock hash + OS, restore-keys fallback (setup-bun@v2 has no built-in cache option)
paths / paths-ignore for docs-only changes missing paths-ignore: ["**.md"] on push + pull_request (docs.yml already had paths gating)
sharding / tiered gate assessed not applied — current gate is lint subset + build + version check at ~20s wall; sharding pays off only when the full test suite joins CI

Run minutes

Before (2026-11-14 baseline, 10 runs all success): wall clock 15-21s per run (~1 billed minute each). Docs-only commits (e.g. 13:21Z docs commit) each burned a full CI run. After: docs-only changes skip CI entirely; cached installs skip re-downloading the dependency set on lockfile-stable runs (first run pays the cache fill).

Meta-tracker dahai80/fusion#2 retrofit checklist:

- dependency cache: actions/cache@v4 on ~/.bun/install/cache keyed on
  bun.lock hash (setup-bun@v2 has no built-in cache option)
- paths-ignore: '**.md' on push+pull_request — docs-only changes no
  longer burn a CI run (docs.yml already had paths gating)
- sharding/tiered gate: assessed, not applied — current CI is lint
  subset + build + version check at ~20s wall; sharding pays off only
  when the full test suite joins the gate
…l cache

PR run 43815795120 log: setup-bun restored the bun install cache
(~32MB) on its own default key while the explicit actions/cache@v4
step reported Cache not found (different key scheme). Keep the single
built-in mechanism.
@dahai80
dahai80 merged commit 9e1fdcf into main Nov 16, 2026
1 check passed
@dahai80
dahai80 deleted the ci/retrofit-273 branch November 16, 2026 06:21
@dahai80 dahai80 mentioned this pull request Nov 16, 2026
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.

CI retrofit per fusion#2 checklist: dependency cache + path filters

1 participant