Repository navigation
fix(ci): the fail-to-pass replay clears the addopts - #6593
Merged
Merged
Conversation
The replay gave `-o addopts=`, so a test that reads addopts failed on base and on head, and the replay ran with pytest-randomly and without the Hypothesis ci profile. The replay now gives `-n 0`: it keeps addopts and starts no xdist worker. Closes #5599
dan-petty
marked this pull request as ready for review
November 21, 2026 05:48
dan-petty-release Bot
added a commit
that referenced
this pull request
Nov 21, 2026
🤖 I have created a release *beep* *boop* --- ## [0.187.0](v0.186.0...v0.187.0) (2026-11-21) ### Features * **roadmap:** read project review facts through a catalog ([#6586](#6586)) ([752c6ed](752c6ed)) ### Bug Fixes * **ci:** the fail-to-pass replay clears the addopts ([#6593](#6593)) ([8bc7afc](8bc7afc)), closes [#5599](#5599) ### Performance Improvements * **roadmap:** share the listing snapshot and facts in Valkey ([#6583](#6583)) ([b2a277b](b2a277b)) --- 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.
The fail-to-pass replay started pytest with
-o addopts=, which sets theaddoptsof the tree to empty. A test that readsaddopts, such astest_the_full_gate_collects_every_test_module, then failed on base and on head, and the check exited 1 for each fix that changestests/commands/test_test_selection.py.The replay now gives
-n 0in place of-o addopts=. It keepsaddopts, so it also keeps the-p no:randomly, the logfire blocks and the Hypothesisciprofile of a normal run.-n 0overrides-n logical, so the replay starts no xdist worker and takes no gate slot, as before.addoptsholds no--cov, so the replay needs no--no-cov.Closes #5599
Change:
openspec/changes/archive/2026-11-21-5599-replay-keeps-addopts/