Repository navigation
perf(ci): narrow cache retention checkouts - #14402
Conversation
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
[Low impact] The PR appears safe to merge. SummaryThis PR narrows both checkouts in the cache-retention workflow.
No actionable correctness or security issues were found. The trusted revision, event checks, and credential settings remain unchanged. Supersession could not be checked because GitHub access required authentication. Tests were not rerun during this review; hosted timing remains unmeasured. Reviews (1) · Last reviewed commit: "perf(ci): narrow cache retention checkou..." · Reviewed by Greptile |
Summary
Cache retention runs after eligible default-branch CI completions. Its two checkouts took a combined median of 13 seconds across eight successful runs. Each checkout materialized the project tree.
Change and scope
Fetch the Node pin and CI scripts at the workflow revision. Fetch root files at the triggering revision, where the workflow computes the static, deep-static, and Knip cache keys. Each checkout retains its existing revision, path, and credential settings.
Evidence and regression coverage
26cb5b53cand the older lockfile at417beaf3a. All three key digests matched the corresponding complete tree in both cases.26cb5b53c, the checkouts selected 49 trusted files (294,511 bytes) and 37 triggering files (1,211,041 bytes). Each complete tree contained 118,572,937 bytes of tracked blobs. These are uncompressed source sizes.Validation performed
ciCachePolicy.test.tsandciCacheRetention.test.tspassed all 34 tests under Node 24.22.1.actionlint,oxfmt --check, andgit diff --checkpassed.Author readiness
Human owner: @vincentkoc