Repository navigation
fix: keep the review warm-start analysis for 5 days - #183
Conversation
The warm-start bundle is how a push re-analyzes only what changed since the previous push. At one day it expired over every weekend and every pause in review, and the next run re-derived from the base: every file the pull request changed, plus the LLM updates for all of them, instead of the last push. Each push stores its own copy (about 1.4 MB on a mid-size repository) until it expires, so the cost grows with pushes times days, which stays in the tens of MB for a busy repository. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codex Review Summary: ✅ CompletedThis 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. |
CodeBoarding reviewStatus: 0 changed components (no analysed file changed) See the full change in CodeBoarding. graph LR
n_Action_Workflow_and_Analysis_Execution["Action Workflow and Analysis Execution"]
n_Remote_Review_and_Problem_Ledger["Remote Review and Problem Ledger"]
classDef added fill:#1f883d,stroke:#0b5d23,color:#ffffff;
classDef modified fill:#bf8700,stroke:#7d4e00,color:#ffffff;
classDef deleted fill:#cf222e,stroke:#82071e,color:#ffffff,stroke-dasharray:5 3;
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 8e4d53005a
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| description: 'Days to keep the reusable analysis. Only the next run reads it; a pull request idle for longer re-derives from the base.' | ||
| required: false | ||
| default: '1' | ||
| default: '5' |
There was a problem hiding this comment.
Keep the default within repository retention limits
For repositories or organizations whose artifact-retention maximum is 1–4 days, this new default makes the Publish this analysis for the next run upload request exceed policy. GitHub documents that a custom period “cannot exceed the retention limit set by the repository, organization, or enterprise”; because the upload step has continue-on-error: true, reviews still appear successful but never publish a warm-start bundle, so every subsequent push silently re-derives from the base unless each affected consumer overrides this input.
Useful? React with 👍 / 👎.
ivanmilevtues
left a comment
There was a problem hiding this comment.
seems fine yes, 5 days of retention instead of 1. It's okay
What
warmstart_retention_daysnow defaults to5instead of1. The README's input table and the retention section ofdocs/COMMIT_STRATEGY.mdsay the same.Why
The warm-start bundle (
codeboarding-warmstart-<cfg>-pr<N>) is what lets a push re-analyze only the files changed since the previous push. At one day it expires over every weekend and every pause in review, and the next run then re-derives from the base: every file the pull request changed, and the LLM updates for all of them.Measured on one of our repositories, a pull request pushed again three days after its last run:
The log for the second one:
No stored codeboarding-warmstart-…-pr343 to reuse; deriving from the base analysis.Cost
Each push uploads its own copy (about 1.4 MB on a mid-size TypeScript repository), and same-named copies from earlier runs stay until they expire. Storage is therefore pushes per day × days. On that repository (about 6 review runs a day, 17 at peak) it is roughly 8 MB at 1 day, 41 MB at 5 days on average, and about 85 MB in a busy week.
No GitHub limit is near: artifact storage is 500 MB on Free and 50 GB on Enterprise Cloud (shared with Packages), retention can be set up to 90 days on public repositories and 400 on private ones, and
fetch-state.shtakes the newest trusted copy from a page of 100, which a busy pull request at 5 days (about 30 copies) stays well inside. A repository can still set the input lower.Longer retention also means longer warm-start chains, since more pushes build on the previous push instead of the base. Nothing caps
chain_depthtoday; that was already true within a busy day.Tests
python -m unittest discover -s tests: 375 pass, 9 skipped.actionlint: clean.Nothing visible changes beyond faster reviews on pull requests that sit for more than a day.
🤖 Generated with Claude Code