Repository navigation
Conversation
…irect row, and the Head tests run as a file (#540) Argon read #540 after it merged (it was out of quota then): - The unpack cap is one check on the whole archive unpacked, so it is cumulative by construction, but its bound was held by nothing: a 5000-byte member against 4096. Now an archive of exactly UNPACKED bytes, two members of 2048 and 2049, is written, and one byte fewer allowed refuses it; the mutant "an archive of exactly the cap is refused" is killed by it. - adapters/AGENTS.md said an artifact's download "alone" follows its redirect, one row under the row that lets a tarball's follow too. It now says the download follows its redirect to the storage alone, as it does. - tests/test_harness.py's Head class stood after the __main__ block, so running the file as a script skipped it; the block is at the end. - Head's docstring said a refused archive is refused whole. unpack stops at the first check that fails and leaves what it wrote for its caller, which harness/read.py removes, as tests/test_steps.py's head_unreadable cases hold; the docstring says so. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|



Follow-on to #540, "The review reads the pull request's head, held to it by --restricted". Argon was out of quota when #540 merged. It read #540 at its merge commit, 9682602, and found one major and three minors. This PR fixes three of them; the fourth was already held at the caller.
No protected file is touched and no record is added.
UNPACKEDbytes, two members of 2048 and 2049, is written, and with one byte fewer allowed it is refused. A new mutant, "an archive of exactly the cap is refused" (>to>=), is killed by that testadapters/AGENTS.mdsays an artifact's download "alone" follows its redirect, one row under the row that allows a tarball's tooHeadstands afterif __name__ == "__main__"intests/test_harness.py, so running the file as a script skips itHeadnever asserts that a refused archive leaves nothing writtenunpackstops at the first check that fails and leaves what it wrote for its caller, andharness/read.pyremoves it, astests/test_steps.py'shead_unreadablecases assert. The docstring said "refused whole"; it now says thisNot done: a row in
adapters/AGENTS.mdthat names the tarball redirect's own tests. The Claude review and the security pass both asked for one; see the table.Checks
make verifyon an export of the head: 1716 tests OK, at424af11.Reads
424af11424af11424af11424af11adapters/AGENTS.md:12docs/decisions/0138-the-review-reads-the-pull-requests-head-with-the-read-tools-alone-held-to-it-by-restricted.md:41adapters/AGENTS.md:13🤖 Generated with Claude Code