Repository navigation
fix(ci): settle a Codex thread that asks for the measured baseline once the Corpus job passes - #418
Merged
Merged
Conversation
…ce the Corpus job passes The train's merge of main carries main's baselines until the PR's own CI run measures the merge, and Codex reviews that intermediate commit and asks for the regenerated baseline (#325 and #388 on 2026-10-27). The train then commits the measured baseline, but the open thread kept the PR from landing until a person answered it. With the Corpus job green on the current head, whose ratchet is exactly that check, land.sh replies and resolves such threads; it touches only the Codex bot's threads that name tools/corpus or tools/oracle/baseline.tsv.
Codex Review SummaryThis 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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 7c788118a5
ℹ️ About Codex in GitHub
Your team has set up Codex to 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 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…e corpus baseline Codex on #418: naming a baseline file is not enough; a finding about weakened or retired oracle comparisons passes a green Corpus job (oracle_base.py lets the PR's retired rows go) and must keep stopping the train. The thread's title must now ask to regenerate or re-measure the corpus baseline, its text must name tools/corpus/baseline.tsv, and it must not mention the oracle.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
land.shreplies to and resolves a Codex review thread that only asks for the measured baseline, once the Corpus job passes on the PR's current head.When the train merges main into a PR, the PR temporarily carries main's
tools/corpus/baseline.tsvuntil its own CI run measures the merge. Codex reviews that intermediate commit and asks for the regenerated baseline. The train then commits the baseline the run measured, but the open thread still kept the PR from landing until a person answered it. This happened on #325 and #388 on 2026-10-27, and would recur on every decoder PR in the queue. The Corpus job's ratchet is exactly the check those threads ask for. So with Corpus green on the head,land.shreplies, citing the head, and resolves the thread.Only threads opened by the Codex bot (
chatgpt-codex-connector) whose first comment namestools/corpus/baseline.tsvortools/oracle/baseline.tsvare touched. Every other thread still stops the train.Spec reference
Maintainer tooling only.
Test plan
bash -n.Source-provenance declaration
By submitting this PR I certify that my contribution does not incorporate executable code from any source whose license is incompatible with Apache-2.0. Specifically:
CLEANROOM.md).dwg-rsis Apache-2.0 and must remain compatible.My contribution is based on:
CLEANROOM.md.See
CLEANROOM.mdfor the full allowed/forbidden source list and the honest scope of what "clean-room" means for this project.Developer Certificate of Origin
By submitting this PR, I certify that the contribution complies with the
Developer Certificate of Origin 1.1.
Specifically, I affirm that the contribution is my own work (or rightfully
licensed to me) and that it can be distributed under the project's Apache-2.0
license.
I will sign off commits with
git commit -swhen asked, which adds aSigned-off-bytrailer to the commit message asserting the DCO.