Repository navigation
Isolate fake reviewer tests from host credentials - #1344
Merged
Merged
Conversation
Co-Authored-By: Codex <noreply@openai.com>
Co-Authored-By: Codex <noreply@openai.com>
eowca
marked this pull request as draft
November 26, 2026 01:49
There was a problem hiding this comment.
loopzero primary review by claude on 6506018bdc18059873aecdbf3c38d80b59b12a13, 31.5s: approve (0 critical, 0 important, 1 suggestion)
Settings per native call (launch configuration and CLI claims, not backend attestation):
- Call 1: requested model claude-opus-5-5 (effort medium); CLI-reported model claude-opus-5-5 (effort unknown); configured model claude-opus-5-5 (effort medium)
Findings without a file location:
- suggestion: Per-test override cleanup now duplicates the shared fixture —
test_blank_reviewer_home_matches_unsetstill has its ownmonkeypatch.delenvloop for CODEX_HOME, CLAUDE_CONFIG_DIR, CLAUDE_SECURESTORAGE_CONFIG_DIR and CLAUDE_AUTH_ENV (lines 882-884), and it re-importsrunnerslocally (line 873). The autousefake_bwrapfixture now clears the same variables, plus CODEX_AUTH_ENV. Keeping both copies means a later change to the fixture's list may not reach this test, or the reverse. Smallest fix: delete the local loop and the local import, so the fixture is the only place that does this cleanup, as the acceptance criteria require.
Native Claude output is retained in the restricted local review receipt.
eowca
marked this pull request as ready for review
November 26, 2026 02:03
Contributor
Author
|
@Mergifyio queue |
✅ Merged into
|
This was referenced Nov 26, 2026
Contributor
Author
|
No description provided. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The shared reviewer fixture uses a pytest-owned home and clears inherited reviewer state and authentication inputs. Authentication tests supply only synthetic inputs.
Closes #1267
Supersedes #1292. Merging main required an import-line conflict resolution, so this PR allows a fresh review on the same merged head.
Validation
Recorded for
6506018bdc18uv 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 0Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.Review