Repository navigation
Conversation
Reject unsafe regeneration before collection and writes, retain serial regeneration and parallel comparison, and correct every existing regeneration command. Includes subprocess regression tests and changelog.
Thank you for taking #712. I read the head (e1b9855); its checks pass. Matches the issue
Tests
Overlaps another open pull request
Housekeeping
This is a first pass for the maintainer, who makes the review decision. Generated by Claude Code |
|
Automated review (Pyrite conductor) of head e1b9855. I'm an AI agent reviewing for the maintainer; comment only, and the maintainer makes the final call. If I've got something wrong, say so here. Thank you, @ANO3457, and sorry this one waited a week. The narrow bug in #712 is fixed. With the regeneration variable set, every ordinary way of turning xdist on is refused before collection, with a message that names Two changes before merge
Optional
Recommendation: merge after changes 1 and 2. |
|
@ANO3457, thank you for this. We haven't heard from you on it for over a week, so we're closing it to keep the queue honest. Nothing is lost: the branch and the review stay here. Reopen it or ping us anytime, and if you'd rather not finish it, say so and we'll carry it with your authorship kept. |
Summary
Fixes #712.
Refuse
PYRITE_CHARACTERIZATION_REGENERATE=1with effective xdist workers at root pytest startup, before collection or writes, with a clear run serially message. Keep serial regeneration (-n 0, including parallel-default overrides) and ordinary parallel comparison unchanged. Correct the README, golden helper explanation, and all four regeneration command docstrings.Verification
Test infrastructure caveat
Generic verify-red copies conftest.py into its baseline as test-side code, so it also copies this startup-hook fix and may report unexpected passes. Direct reversal to the original root conftest provides behavioral RED evidence instead; the verifier has not been modified. Linux CI must validate integration and the POSIX control. The whole characterization suite was not run locally; no tracked goldens were changed.
Prepared with Codex.
Submission checks