You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(ci): cache Release's build + console dist, stop PR-side cache churn, move CodeQL/coverage off the hot path (#3666)
Data from today's runs (post-#3622 steady state): every main push paid a
~9.5-minute Release job of which Build (4m21s, no turbo cache — the same
omission lint.yml had) and the vendored Console SPA build (3m11s, a pure
function of the .objectui-sha pin that rarely changes) were 80%. Meanwhile
PR-side cache saves (~5 turbo entries per push) churned the 10 GB Actions
cache pool and evicted the main seeds — observed as sudden cold spikes
(Build Core 51s → 4m30s).
- release.yml: add the standard turbo cache (Build ~4½min → expected <1min),
and cache packages/console/dist keyed on hashFiles(.objectui-sha,
build-console.sh) — skip build-console.sh on hit, and verify the dist
stamp against the pin either way via check:console-sha (its exit-1-on-
drift contract covers a stale restore).
- ci.yml + lint.yml: turbo caches become restore-only on PRs
(actions/cache/restore); explicit main-push-only actions/cache/save steps
(always(), matching the old post-step semantics) keep seeding. PRs read
main's entries via the existing prefix restore-keys.
- codeql.yml: drop the pull_request trigger (user decision) — ~4½ runner-
minutes per PR sync; every merge is analyzed on main within minutes at
the current merge cadence, plus the weekly deep pass. Note left about the
Analyze check no longer reporting on PRs.
- coverage → nightly (user decision): new coverage-nightly.yml (05:00 UTC +
workflow_dispatch) owns the instrumented spec suite; ci.yml's push run now
includes spec's plain test task instead (uninstrumented — net faster).
Verified locally that spec's suite runs coverage without any build (spec
has no workspace deps) and the v8 provider is present.
All five workflow files parse; changeset is empty (releases nothing).
Claude-Session: https://claude.ai/code/session_01ECTCrcCdZpCHw5zFSgcmGt
Co-authored-by: Claude <noreply@anthropic.com>
CI-only: turbo cache for the Release job, console-dist cache keyed on the objectui pin, restore-only turbo caches on PRs (main seeds them), CodeQL off pull_request (main push + weekly schedule), spec coverage moved to a nightly workflow. Releases nothing.
0 commit comments