Skip to content

fix(devtools): the corpus run traces for testmon only, never under pytest-cov - #4567

Merged
Sinity merged 1 commit into
masterfrom
fix/corpus-run-no-cov
Sep 2, 2026
Merged

Sinity merged 1 commit into
masterfrom
fix/corpus-run-no-cov

Conversation

@Sinity

@Sinity Sinity commented Sep 2, 2026

Copy link
Copy Markdown
Owner

Summary

verify --all no longer passes --cov; the CI coverage artifact upload goes with it.

Problem (evidence)

Job a51519ba (verify_all on 985e0f9) exited 3 after collection: every worker raised TestmonException: testmon doesn't support simultaneous run with pytest-cov when branch coverage is on on its first test (pytest_runtest_protocol → setup_coverage). #4566 folded the coverage floor into the corpus run; [tool.coverage.run] branch = true makes testmon refuse.

Solution

Delete the coverage args and the floor reader. The corpus run's tracer belongs to the testmon graph.

Verification

devtools test tests/unit/devtools/test_verify.py tests/unit/devtools/test_verify_runs.py -n 2   # 33 passed
ruff, mypy on devtools/verify.py clean

The next verify_all job is the end-to-end check.

🤖 Generated with Claude Code

https://claude.ai/code/session_01YGi8wLWGR2HYBh8p8fXFXz

…test-cov

testmon refuses to share coverage's tracer with branch coverage, so
every worker died on its first test after the coverage gate was folded
into verify --all. The corpus run's tracer belongs to the selection
graph; there is no coverage floor.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01YGi8wLWGR2HYBh8p8fXFXz
@Sinity
Sinity enabled auto-merge (squash) September 2, 2026 21:12
@coderabbitai

coderabbitai Bot commented Sep 2, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Team

Run ID: 2c9056c0-3066-4b0e-a34b-236826775036


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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 2, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-02T21:14:16.249090Z 7d47341 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@Sinity
Sinity merged commit 42e501e into master Sep 2, 2026
2 of 3 checks passed
@Sinity
Sinity deleted the fix/corpus-run-no-cov branch September 2, 2026 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant