Repository navigation
Clean up GitHub API payloads when staging fails - #1675
Conversation
Architecture-Review: unchanged; GitHub keeps the existing request staging boundary and scopes the temporary file to the operation. Co-Authored-By: Codex <noreply@openai.com>
There was a problem hiding this comment.
loopzero primary review by claude on 8c5f9046b5bf5678e5b0107e477af888c6c587d7, 16.8s: approve (0 critical, 0 important, 0 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.
Co-Authored-By: Codex <noreply@openai.com>
There was a problem hiding this comment.
loopzero delta review by claude on 24105f1e851ad61469b4ef49a5997976d28a6597, 19.4s: approve (0 critical, 0 important, 0 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.
|
@Mergifyio queue |
✅ Merged into
|
|
No description provided. |
Keep the temporary GitHub API payload file under cleanup from the time it is opened. A staging write or close error now removes the file and propagates before dispatch. Successful calls still close the file before passing its path to
gh api --input.Closes #1672
Validation
Recorded for
24105f1e851auv 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 0EFBIGwithout dispatching GitHub. The original code left a staging file. The fix leaves none.24105f1e. The integrated test tree counts 13,842 lines against the 13,850 cap.Review