Repository navigation
Conversation
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 442323ba59b914dd31ec5a7eb4db341191fee160, 123.6s: request_changes (0 critical, 1 important, 1 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: 19ba232f6d767d08b09bef01aa702101210cc7151a6b03fe49739a7660392790
| elif condition == "empty": | ||
| report["results"] = [] | ||
| elif condition == "checkpoint": | ||
| report["results"].append(asdict(CheckResult("<checks incomplete>", 1, 0.0, ""))) |
There was a problem hiding this comment.
important: Preserve the partially completed checkpoint case
The base test supplied the first of two configured stages followed by <checks incomplete>. Appending the marker to the fixture’s full result list now models an interruption after both stages finished. A regression that recognizes checkpoints only after every configured stage has a result would pass, leaving mid-run interruptions without the tested recovery diagnostic. Replace report["results"][1:] with the single checkpoint marker to restore the original case.
| for overflow in (0, 1, 2)), | ||
| pytest.param("\n", 1, True, id="adjudication-counts-toward-tightened-budget"), | ||
| ]) | ||
| def test_raw_leading_utf8_span_at_limit_and_overflow(native, separator, overflow, tightened, monkeypatch): |
There was a problem hiding this comment.
suggestion: Avoid building a Git repository for all 33 byte-boundary cases
Pytest resolves native before the test body, so every separator and overflow combination now creates a repository, commits a 40 KB file, reads its diff, and installs a fake Codex executable. Only the tightened-budget case uses the fixture result. Keep that case separate or request native lazily for that parameter alone.
Superseded by #1680 after addressing the checkpoint and fixture findings and resolving upstream test conflicts.
Share fixtures and cases across delivery tests
Context and goal
Refs #575
Supersedes #1555 after resolving overlapping upstream GitHub replay and Codex fixture changes.
Acceptance
Base
main @ 89be895
Base: 89be895
Validation
Recorded for
442323ba59b9uv 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 main base89be8950080e06ce44b7ea94514ddabaa5daa3bcand PR head442323ba59b914dd31ec5a7eb4db341191fee160: