Repository navigation
fix(ci): replay a changed gate check in fail-to-pass - #4898
Merged
Merged
Conversation
The tests describe the gate replay of #4554: a changed module of tests/gate/<row>_checks/ runs its row on the base and head trees, and a case that fails on base and passes on head proves the fix.
fail-to-pass listed only tests/**/test_*.py files, so a manifest fix that a changed k8s gate check proves always failed the replay. The command now lists the changed check modules of tests/gate/<row>_checks/, runs the row of each on the base tree with the head tests and on the head tree, and counts a case of a changed module that fails on base and passes on head as a proof. A row run that could not run, a change of the case count, or a base failure of a module that the fix does not change refuses the replay.
The workflow contract tests ask the path filter of fail-to-pass.yml to start for a module under tests/gate/*_checks/, and the comment of the workflow to name these modules.
The path filter of fail-to-pass.yml adds tests/gate/*_checks/**, so a manifest fix that a changed gate check proves gets the check. The comment no longer says that only a change under src/ can make a test fail on base.
CONTRIBUTING.md, the help of devops ci fail-to-pass, the generated command references and the Purpose of the ci-fail-to-pass spec name a changed module under tests/gate/*_checks/ as a proof that fails on base and passes on head.
The Feasibility section names the result of the gate replay of PR #4551 and of the same fix on this branch.
Owner
Author
Test record (head 9843fe1)Local runs on the final code, after the rebase onto origin/main:
Fail-to-pass:
|
dan-petty
marked this pull request as ready for review
November 12, 2026 02:44
dan-petty
pushed a commit
that referenced
this pull request
Nov 12, 2026
🤖 I have created a release *beep* *boop* --- ## [0.115.0](v0.114.1...v0.115.0) (2026-11-12) ### Features * **design:** add the design tokens and their build ([#4811](#4811)) ([db4b19a](db4b19a)) * **roadmap:** find symbol definitions with tree-sitter ([#4820](#4820)) ([3b3fddc](3b3fddc)) ### Bug Fixes * **ai:** the gateway group that answered decides the local label ([#4907](#4907)) ([0da637f](0da637f)) * **ci:** replay a changed gate check in fail-to-pass ([#4898](#4898)) ([59bfc57](59bfc57)) * **config:** read each config file as YAML 1.2 ([#4858](#4858)) ([c3130a3](c3130a3)) * **roadmap:** loosen the caps that turn a stage refusal into a loss ([#4869](#4869)) ([4492fc3](4492fc3)) * **roadmap:** refine reads a dependency named by title ([#4877](#4877)) ([2829f9c](2829f9c)) * **roadmap:** refine sends a judge refusal to an agent round ([#4874](#4874)) ([e4fc6a9](e4fc6a9)) * **tests:** refuse test writes under the real home ([#4857](#4857)) ([0f6ac1b](0f6ac1b)) * **tests:** the plain-Python helper test keeps PYTHONPATH ([#4914](#4914)) ([99c109d](99c109d)) ### Performance Improvements * **ci:** direct pytest runs wait for a gate slot ([#4901](#4901)) ([e80db62](e80db62)) * **roadmap:** status lane reads the snapshot, skips idle stops ([#4887](#4887)) ([f285cf8](f285cf8)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
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.
devops ci fail-to-pass listed only tests/**/test_.py files, so a manifest fix that a changed gate check proves always failed the replay, and its author wrote the k8s row runs by hand. The command now lists the changed check modules of tests/gate/_checks/, and runs the gate row of each on the base tree with the head tests and on the head tree. A case of a changed check module that fails on base and passes on head proves the fix, when both runs count the same cases. A row run that could not run, a change of the case count, or a base failure of a check module that the fix does not change refuses the replay. The dry run lists the gate row runs. The workflow also starts for a change under tests/gate/_checks/, and its comment, CONTRIBUTING.md and the command help name the gate replay.
Closes #4554
Change:
openspec/changes/archive/2026-11-12-4554-fail-to-pass-skips-the-gate/