Repository navigation
Share fixtures and cases across delivery tests - #1680
Conversation
Co-Authored-By: Codex <noreply@openai.com>
Co-Authored-By: Codex <noreply@openai.com>
Co-Authored-By: Codex <noreply@openai.com>
Co-Authored-By: Codex <noreply@openai.com>
Co-Authored-By: Codex <noreply@openai.com>
There was a problem hiding this comment.
loopzero primary review by codex on d3de405e02089c688c9931ce2f7340182a378dab, 136.0s: approve (0 critical, 0 important, 2 suggestion)
Same-family fallback: independent reviewers failed: claude: not authenticated. Cross-family review is preferred.
Settings per native call (launch configuration and CLI claims, not backend attestation):
- Call 1: requested model gpt-6.2-astra (effort medium); CLI-reported model gpt-6.2-astra (effort medium); configured model gpt-6.2-astra (effort medium)
Raw reviewer output
Native Codex transcript retained in the restricted local review receipt; public evidence is publisher-derived, not backend attestation. Exact raw SHA256: 7884589980188042da84887bf8366399b797014dd1a0bcc21604f129bbb8b737
| calls.append(command) | ||
| if interrupt and cut == "second stage" and len(calls) == 2: | ||
| if interrupt and cut != "final validation" and len(calls) == (5 if changed_inputs else 2): | ||
| raise KeyboardInterrupt |
There was a problem hiding this comment.
suggestion: Trigger the checkpoint interruption by command
The changed-inputs case now interrupts on the fifth dispatch across two check runs. That number encodes both the warm-up plan length and the position of second. Since interrupt already excludes the warm-up, match the intended command directly and keep the final call-list assertion to verify reuse.
| arm_approved_ready_pr(gh, head, wt, isDraft=False) | ||
| old_conclusion = "cancelled" if replacement == "pending" else "failure" | ||
| arm_replacement_workflow(gh, head, old_conclusion) | ||
| elapsed = 0.0 |
There was a problem hiding this comment.
suggestion: Reuse the polling clock in the replacement-workflow test
This test still maintains its own elapsed time and patches both monotonic and _sleep beside callers of poll_clock. Pass the replacement check update as after_sleep and use patch_sleep=False for the zero-wait case. That removes the duplicate clock while preserving each scenario’s behavior.
|
@Mergifyio queue |
✅ Merged into
|
|
No description provided. |
Share fixtures and cases across delivery tests
Context and goal
Refs #575
Supersedes #1586 after addressing its checkpoint and fixture findings and preserving new upstream cases.
Acceptance
Base
main @ b388ed8
Base: b388ed8
Validation
Recorded for
d3de405e0208uv run --group dev ruff check src tests: exit 0uv run --group dev tach check: exit 0uv run --python 3.14 python scripts/check_architecture_docs.py: exit 0scripts/size_budget.sh: exit 0uv run --group dev pytest -q: exit 0(filled by loopzero check)
Review
(filled by loopzero review)
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.Coverage comparison
Slotted
pytest --cov=loopzero --cov-branchon prior mainb388ed8d7and PR headd3de405e0: