Repository navigation
test: move ci_packet's tests out of line (#15193) - #16672
Draft
EffortlessSteven wants to merge 1 commit into
Draft
EffortlessSteven wants to merge 1 commit into
EffortlessSteven wants to merge 1 commit into
Conversation
The verifier refuses this owner because its tests call line!(). Each call only makes a temp directory name unique and each has its own prefix, so a new line number changes nothing. The move is the verifier's transform with that one check relaxed; its token-identity check still ran. init_generated_github_workflow_matches_smoke_fixture checks that every artifact path appears in the workflow, the recorded packet or ci_packet's source. Eight agent-loop paths appeared only in ci_packet's tests, so the check now reads ci_packet.rs and ci_packet_tests.rs together, as before. 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 3 minutes. View limit details
|
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.
Requested by Steven · project thread
Summary
Moves
cli/commands/ci_packet.rs's inline tests tocli/commands/ci_packet_tests.rs(a#[path]sibling, sincecommands.rsloadsci_packet.rsby#[path];policy/relocation-indirect-owners.txtgains its row). The verifier refuses this owner because its tests callline!(), each only to make a temp directory name unique with its own prefix plus the process id, so this is the transform with that check relaxed.init_generated_github_workflow_matches_smoke_fixtureincommands.rschecks that every artifact path appears in the workflow, the recorded packet or ci_packet's source; eight agent-loop paths appeared only in ci_packet's tests, so the check now readsci_packet.rsandci_packet_tests.rstogether, as before the move.Source-of-truth Links
Proposal: #15217
Governing issue or accepted claim: #15193
Acceptance delta (one sentence): Moves ci_packet's inline tests out of the published source and keeps the generated-workflow surface check reading them.
Candidate Relationships
Candidate branch (GitHub PR head is authoritative after publication):
claude/relocate-tail-pr6Stack 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:
ci_packet_tests.rs(new), the owner,commands.rs(oneinclude_str!becomes aconcat!of two),policy/inline-test-modules.txt,policy/relocation-indirect-owners.txt, and the traceability rows that name the moved tests.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) except the hand edit tocrates/ripr/src/cli/commands.rs.mechanical_relocation.py verifyrefuses it as expected, so this is an ordinary PR under the size cap, not the mechanical route.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