Repository navigation
fix(devtools): keep flake recovery from laundering a broken run - #4595
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Team Run ID: Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
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: 93a17125d1
ℹ️ 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".
An accepted flake rewrote the step's verdict but not all of its evidence, and the recovery path accepted any nonzero pytest exit. Recovery now runs only for exit 1, "tests failed" — the one outcome a rerun can speak to. Exit 2 (interrupted), 3 (internal error) and 4 (usage) describe the run itself, and reporting one of those as a recovered flake turned a broken run green. The json report states its exit status twice; both are cleared together, and the accepted flake node ids are written into the report and carried into the durable receipt, so a step green only on rerun is distinguishable from one that never failed. A focused `devtools test` traces into the same datafile `devtools verify` selects from, so it forces the full Hypothesis profile the way verify already does. An edge recorded under a reduced budget would let a later selected green stand for less property coverage than it claims. Inside an agent job the worker cap now applies to an explicit `-n`, which previously skipped it entirely and could claim the whole shared host. An explicit zero survives the cap: it asks for no xdist at all, which is always within it. `devtools verify --json` answers a tier refusal in JSON. Schema promotion audits the registry tree it actually writes to rather than a relative literal, and keeps its `--json` output to one document. An integration selection cannot pin one session identity from two witnesses. Distinct recipes with the same session_native_ids passed the recipe-digest check and then silently materialized over each other. The rerun and step runners acquire the host pytest slot, so the tests that drive them inline use the documented POLYLOGUE_PYTEST_SLOT escape instead of requiring a live queue. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01YGi8wLWGR2HYBh8p8fXFXz
Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01YGi8wLWGR2HYBh8p8fXFXz
93a1712 to
29c9139
Compare
|
Closing out open Codex review threads on this PR (evidence checked against master at 64a9bd0):
Resolving every thread listed; confirmed defects are fixed under the named bead. |
Devtools half of the unaddressed-Codex-review sweep (26 findings verified against current master, 41 tests). Sibling PRs: #4580, #4582, #4583, #4587, #4594.
🤖 Generated with Claude Code
https://claude.ai/code/session_01YGi8wLWGR2HYBh8p8fXFXz