Repository navigation
test: move bounded_input's tests out of line (#15193) - #16671
EffortlessSteven wants to merge 1 commit into
Conversation
The verifier refuses this owner because a test calls line!() to make a temp directory name unique. A new line number keeps it unique, so the move is the verifier's transform with that one check relaxed; its token-identity check still ran. The process-allowlist row follows the moved Command::new. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YVdGzV3JdcCDM6STapqHBr
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
Warning Review limit reachedEnable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing. Next included review available in 29 minutes. View limit details
|
EffortlessSteven
left a comment
There was a problem hiding this comment.
SOURCE_REVIEW_READY
Head: 559ccb9
Inspected: the full diff, a byte-for-byte reproduction of every moved file with the repository's relocation transform (only the line! refusal relaxed), and an independent subagent review of this head.
- The one
line!()call only makes the temp directoryripr-bounded-input-dir-{pid}-{line}unique; nothing asserts its value and no other temp directory in the file shares that prefix. - No file reads
bounded_input.rsas text;verdict_corpus_tests.rspasses the path string only, and the path still exists. - The traceability ids and the
Command::newallowlist row follow the moved tests.
Local:cargo xtask precommitexit 0 on this head; the reviewer also rancheck-process-policy,check-traceability,check-architectureandindirect-owners --check(all exit 0). The moved unit tests run in hosted CI only.
Generated by Claude Code
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
Requested by Steven · project thread
Summary
Moves
bounded_input.rs's inline tests tobounded_input/tests.rs. The verifier refuses this owner because one test callsline!(), only to make a temp directory name unique (prefixripr-bounded-input-dir-, plus the process id). A new line number keeps it unique, so this is the verifier's transform with that one check relaxed; its token-identity check still ran. The process-allowlist row follows the movedCommand::new.Source-of-truth Links
Proposal: #15217
Governing issue or accepted claim: #15193
Acceptance delta (one sentence): Moves bounded_input's inline tests out of the published source.
Candidate Relationships
Candidate branch (GitHub PR head is authoritative after publication):
claude/relocate-tail-pr5Stack parent or prerequisite PR (if any): none
Proposed replacement of PR (if any; not yet accepted): none
Scope
Production delta:
#[cfg(test)]code moves.Evidence/support delta:
bounded_input/tests.rs(new), the owner,policy/inline-test-modules.txt,policy/process_allowlist.txt, and the traceability rows in.ripr/traceability.d/15275-lsp-artifact-file-type.toml.Non-goals:
Proof
mechanical_relocation.py applyon base 3b7bf9e, with only the check named below relaxed, regenerates every file in this commit byte for byte (relaxed: theline!refusal).mechanical_relocation.py verifyrefuses it as expected, so this is an ordinary PR under the size cap, not the mechanical route.cargo xtask precommitexits 0 on 559ccb9;check-process-policy,check-traceability,check-architectureandindirect-owners --checkexit 0.Source review: REVIEW_READY 559ccb9
riprlib binary (it runs out of memory in this container). Hosted CI runs them.Claim Boundary
May claim: these inline tests leave the published source and still compile and run as unit tests.
Must not claim: a measured
.cratesize change.Rollback
Plain revert.
Static Language Check
killed,survived,untested,proven, andadequate.CI Economics
Generated by Claude Code