Repository navigation
Decode architecture check paths as filesystem names - #1213
Conversation
Architecture-Review: unchanged; the same watched paths and trailer requirements apply after pathname decoding. Co-Authored-By: Codex <noreply@openai.com>
There was a problem hiding this comment.
loopzero primary review by claude on 5d64b010e82e897024d919e1f0846f4cbde29adb, 13.4s: 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)
Native Claude output is retained in the restricted local review receipt.
| text=True, capture_output=True, check=False) | ||
|
|
||
|
|
||
| @pytest.mark.skipif(sys.platform != "linux", reason="requires raw pathname bytes") |
There was a problem hiding this comment.
suggestion: Linux-only skip does not cover filesystems that reject non-UTF-8 names
The skip only checks sys.platform. On a Linux filesystem that requires UTF-8 names (for example ZFS with utf8only=on, or some casefolded or encrypted mounts), write_text on caf\xe9.txt raises OSError and the test fails instead of being skipped. Smallest fix: try creating the file first and call pytest.skip on OSError/UnicodeEncodeError. This is non-blocking. The fix itself is correct: git ... -z emits raw, unquoted path bytes, and os.fsdecode with surrogateescape keeps them round-trippable. WATCHED and INTERFACES contain only ASCII names, so set membership is unaffected. The test fails before the fix because the strict decode raised UnicodeDecodeError, which main turns into a FAIL, and it also checks that a watched change still fails.
|
@Mergifyio queue |
✅ Merged into
|
|
No description provided. |
Decode architecture check paths as filesystem names
Context and goal
Closes #1191
Acceptance
Base
Base: a4fa169
Notes
Validation
(no
loopzero checkrun recorded)Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.Review