Repository navigation
test(gate): clean owned hermetic corpus copies (#3742) - #8287
Conversation
|
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 1 minute. View limit details
Comment |
EffortlessSteven
left a comment
There was a problem hiding this comment.
Independent exact-head LLM review — REVIEW_INCOMPLETE.
Reviewed head b9640ce4394d325428b565dd56bf863d998f0c07, base a1ea790e923ae6036efdd9457ffc16ea2ad93348, tree 0c3942924493bd23f28d760f3144fda60c53e9fc. No actionable source or oracle findings. The source is coherent for the normal hosted qualification route; this is not merge readiness.
Observed by independent reviewer: complete four-file diff, the cfg(test) boundary, Weak/Arc sharing, exclusive creation before cleanup authority, pre-copy guard, all 53 tuple bindings, three inline roots, three CLI scopes, matrix lifetime, current-worktree byte/layout parity and ambient-target exclusion. All evaluations are synchronous and no consumer escapes its guard. All 7 exact-module tests passed independently; 2 additional controls passed for failure retry without poisoned cache/residue and named-underscore tuple-owner lifetime. Reviewer inspected the original 0/2 behavioral failures and all four compiled wrong-implementation refutations. Consumer rustfmt syntax/format and diff whitespace passed. Root read the review, receipt and source hash back; helper SHA256 matches 9a433a91ea6ce4c5e15ebc29eee0d7c482d6f0e9e31bff112588eef27fb9322e.
The first reviewer compile hit a reviewer-imposed 512 MiB virtual-address limit in lld thread creation (native 1, Resource temporarily unavailable). One codegen unit / linker thread succeeded under the same cap. Both attempts are retained; no source change or candidate-failure attribution. Independent peak compiler RSS 189,672 KiB; review temp root empty.
Root additionally observed GitHub merge ref 70b797007ba83ac0ed30a7e0ee3fb9ed23a896f0, parents exact base + reviewed head, same tree as reviewed source. Live PR is Draft/mergeable, reviews and inline-thread inventories empty. Empty inventories are not review evidence. Gemini and CodeRabbit posted quota limits; neither is counted as clean review and no paid review was requested. Draft-triggered jobs are in flight; no required Rust Small qualification has been requested yet.
Not established: full Cargo consumer typecheck/tests, actual gate/CLI/golden execution, check-fast/precommit, native Windows and required hosted receipts. Broad local rebuilding was excluded by the assigned leaf budget; the existing hosted route must supply those applicable merge dimensions. Cleanup errors remain diagnostic; forced termination and hostile replacement are outside this claim.
Independent review and execution receipts: /workspace/scratch/3742-review/{review.txt,receipt.json}; frozen proof under the PR's named local proof directory. Next: inspect existing hosted results and actual required qualification subject, repair any valid finding, then refresh this published-head disposition before protected integration.
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
There was a problem hiding this comment.
Decision
- Needs reviewer attention before upstream: findings remain.
Confirmed findings
- Cleanup I/O errors during Drop are diagnostic-only (eprintln) and are not asserted by any test; the diff has no test for 'Drop tolerates read-only ErrKind::PermissionDenied on the corpus root'. This is documented as a non-claim in the PR body but means a misconfigured workspace could leak silent residue without test signal.
Refuted
- Returning Arc leaks the path handle past the test scope and defeats the cleanup claim.; refuted because: Drop runs when the last Arc is dropped; the matrix tests bind
_fixture_input(underscore) only to keep the Arc alive for that iteration, while the outer binding in the two matrix tests holds the Arc across the loop. The single copy contract holds as long as the outer binding is not removed. - Cleanup I/O failure should panic or propagate rather than only log; refuted because:
Dropimpl falls through toeprintln!for any error other than NotFound; claim explicitly admits cleanup I/O failure is diagnostic on stderr, not guaranteed filesystem removal. Fits the smallest-complete fix: failures are observable but not contagious across test processes.
Parked follow-ups
- concurrent_readers test uses std::panic::resume_unwind inside std::thread::scope; resuming a non-payload panic via catch_unwind after spawn-join risks double-panic abort.
EffortlessSteven
left a comment
There was a problem hiding this comment.
Independent final published-head review — REVIEW_READY.
Reviewed head b9640ce4394d325428b565dd56bf863d998f0c07; unchanged four-file fixture-lifetime claim under #3742. No actionable source, oracle or integration finding remains. This advances the source review after inspecting the actual hosted qualification and present composition.
Observed qualification. Run 38989275728 / Rust gates 117267846570 checked out 70b797007ba83ac0ed30a7e0ee3fb9ed23a896f0, ordered parents a1ea790e923ae6036efdd9457ffc16ea2ad93348 + reviewed head, tree 0c3942924493bd23f28d760f3144fda60c53e9fc. Root and independent reviewer read the full terminal log and independently counted 16,539 unique PASS subjects, zero FAIL, with native summary 16,539 passed / three skipped. Doctests: two passed / one ignored. All seven lifecycle controls, both real gate matrices and all three changed CLI consumers passed. Workspace/all-target and all-feature checks, strict workspace Clippy, policy, golden/fixture/verdict contracts and PR evidence passed. The actual PR-evidence commands use that same base/head pair and complete their contract checks. Required Result 117278651578 is success on the exact head.
Current-main judgment. Main is be4cee9ec702a89918668156c680ab70ad352e68, three commits beyond the tested base (#8278 selectors/context, #8281 side-flip analysis, #8243 npm recovery). Both reviewers inspected their actual delta and consumers. No fixture owner, migrated gate caller, selected corpus, manifest/lock/toolchain, workflow or governing instruction changed. Local composition is clean, tree f7d3d2c82373253504acf95b3840de5fb35f905b. Independent full-tree comparison confirms the exact union of candidate four-path and main sixteen-path changes; all candidate blobs and the entire candidate binary patch are identical (patch SHA256 90fcb68fe54f9a195580c42dbcf2f54a29adab61815a2b607a79aeea06cd868a). Existing affected proof transfers under the behind-only rule. This does not claim whole-tree execution on the newer main.
Disposition of the automated review's findings.
- Missing PermissionDenied-specific test: accurate test observation, with no accepted-claim defect. Cleanup I/O failure is explicitly diagnostic rather than guaranteed removal. The “silent residue” inference is refuted: a new independent real NotADirectory control captured owned-path/error stderr and returned normally (compile native 0, one test passed, temp root empty; no permission changes). It exercises the generic error branch, not PermissionDenied or hostile-replacement safety. No source expansion warranted.
- Arc lifetime and “Drop should propagate/panic” suggestions remain refuted by the owning-handle contract, retained controls and actual consumer passes.
- Parked unwind finding is factually incorrect:
concurrent_readers_keep_one_copy_alivehas no unwind call; the separate unwind control resumes a valid payload inside one catch boundary. No nested spawn/join panic path exists there.
Merge boundaries. Active ruleset 18845973 requires resolved threads, zero approving reviews and permits no bypass. Current classic protection GET was denied 403 “Resource not accessible by integration”; branch-rule GET was rejected 400 by tool URL allowlist. Those and previous search/auth holds remain held. Classic strictness is unknown, not waived by this review, settings YAML or mergeable metadata. Root may use only ordinary expected-head protected squash after refreshing live checks/threads. Any server denial remains a hold; no admin bypass, settings change or credentials change.
Retained independent final record: /workspace/scratch/3742-review/final-review.txt; verified facts and diagnostic receipt alongside it. Raw required log SHA256 20670bb5d324333472e2858843e43850623939f3de802ec0bf1d493e3496cac6; composition receipt under /workspace/scratch/3742-gate-corpus-proof/present-composition.json. Root read these back. Native Windows full-suite / #3742 umbrella / RIPR0.11 qualification and publication remain outside this acceptance.
EffortlessSteven
left a comment
There was a problem hiding this comment.
Integration-currentness addendum — REVIEW_READY remains current on exact head b9640ce4394d325428b565dd56bf863d998f0c07.
The final live guard caught newer main f3fa41d265e1fb51f280d6d8d5f0c4967c362025, so no merge was attempted on the earlier basis. Independent reviewer and root inspected #8285's mixed-quote rename delta. It preserves the unquoted parser fallback used by every candidate diff header; fixture readers, owner/caller/corpus paths, toolchain and workflow are unchanged. Proposed composition tree 12fb223474fa1623c4ec4280b50e81bd267f481a preserves all four candidate blobs and the byte-identical patch. No source repair, branch update or new build is warranted by this independent main movement.
Final source, qualification and bot-finding review and required run38989275728 evidence transfer unchanged. Current combined-tree execution is not claimed. Independent addendum /workspace/scratch/3742-review/composition-f3fa41d2.txt and receipt /workspace/scratch/3742-gate-corpus-proof/present-composition-f3fa41d2.json were read back. All access/protection read gaps remain explicit; only normal expected-head protected squash is permitted, after fresh live checks/threads.
Summary
Gate-test corpus copies were retained by a static owning
PathBufuntil process exit, without teardown; nextest's separate test processes each left another copy. Copy errors also left partial trees. The current corpus is 355 files / 913,691 logical bytes.Return an owning handle, share the copy only while readers remain alive, and remove it after the last reader. Exclusively create the root before establishing cleanup authority, then install the guard before copying. Gate inputs and the three CLI harnesses retain the owner through evaluation. The full gate matrix holds one live copy across its loop. Preserve current-worktree bytes, relative layout and the two selected trees; workspace
target/stays excluded.Swarm / Source Boundary
ripr-swarm.Source-of-truth Links
Refs #3742, specifically existing post-merge cleanup and current-worktree-contract residuals items 2–3. This writer's bounded claim and admission.
This preserves the delivered #3763 matrix migration. #8228 /
608a94d3artifact allocators are excluded. It does not close the parallel-load umbrella or qualify RIPR0.11.Candidate Relationships
codex/3742-owned-gate-corpus.b9640ce4394d325428b565dd56bf863d998f0c07.0c3942924493bd23f28d760f3144fda60c53e9fc; byte-identical to pre-publication reviewed commit66437fc155a418f3eb66c90ddc52b9a1d75eb1e3(Git diff native 0). Connected GitHub API publication changed only commit metadata.a1ea790e923ae6036efdd9457ffc16ea2ad93348./workspace/gate-corpus-3742; one writer, no stack/prerequisite.hermeticandfixture_workspacePR searches found only the prior matrix migration for this claim. Two later narrower searches returned HTTP403 secondary rate limits and remain held; they are not claimed as negative search evidence. Main source and the issue's ownership record remain the canonical premise.Acceptance and Proof
rustc --edition=2024 --test -Dwarnings; 7 passed / 0 failed / 0 ignored, native 0; temp root empty afterward. Includes 8 concurrent readers.clippy-driveron the exact helper with every configured workspace Rust/Clippy lint and-Dwarnings: native 0. Changed-file rustfmt andgit diff --check: native 0. This is not workspace Clippy or precommit.70b797007ba83ac0ed30a7e0ee3fb9ed23a896f0, tree equal to reviewed head. Workspace/all-target and all-feature checks, strict Clippy, 16,539 nextest passes / zero failures / three skips, doctests two passed / one ignored, both real matrices, goldens, fixtures, verdict corpora and exact B/H PR-evidence contracts passed. Local doctor/check-fast/precommit and full native Windows remain unrun; no local broad rebuild.Retained commands, native logs, experimental sources, hashes and original red/green executables:
/workspace/scratch/3742-gate-corpus-proof/. Exact helper SHA2569a433a91ea6ce4c5e15ebc29eee0d7c482d6f0e9e31bff112588eef27fb9322e; green executable SHA256a5ba8a761c2d75b1b4b96d8d07183ad52cdd33cc3deb615b7fae2127a4a8180a. Baseline receipt SHA25636ac48df01159d568277868cc95ff8960909d386387eba94aa7a177b828b2376; final focused receipt SHA25698a784ff4ea8d4075ec13676ce37724327ce36e82771057f1f8e834b4aab02fe.Engineering and Claim Boundary
Production delta: none;
testingand modified callers are cfg(test). One acceptance boundary: own the hermetic corpus for exactly its live readers and clean owned partial/finished copies. Ordinary errors and unwinds are covered; forced process termination and hostile replacement of an already claimed root are excluded. Cleanup I/O failure is diagnostic on stderr, not a claim of guaranteed filesystem removal. The cache holds Weak references, so it cannot pin disk state after callers exit; a later caller may materialize a fresh copy. Existing current-worktree copy semantics, including entries within the two selected trees, remain unchanged.Resource admission: measured 16 GiB memory, 4 CPU quota, 30 GiB free disk; peak additional disk cap 3 GiB / reserve 12 GiB, one compiler, 60s commands. Task-local SDK 634 MiB; worktree 152 MiB; focused proof under 64 MiB. Final helper build/Clippy child high-water RSS 209,268 KiB; seven tests 0.0808s wall in this one local sample. These do not measure whole-suite RSS, CI speedup or all-host completion. No broad build, CI rerun campaign, timeout/retry/skip change or new dependency.
Changelog:
changelog.d/3742-owned-gate-corpus.md,Internal / CI, canonical section/bullet/issue-reference format checked againstchangelog.d/README.md.Traceability: existing RIPR-SPEC-0014 gate consumers retain their tests and literal outputs. Added helper lifecycle controls exercise only internal fixture resource ownership; no new product-spec mapping or static-exposure claim.
Rollback: revert these four paths; no migration or user state.
Landed Review and Qualification Handoff
PR_MERGED: ordinary expected-head squash
d22644616d3879af44450ad46f137d118ebf0079, verified parentf3fa41d265e1fb51f280d6d8d5f0c4967c362025, tree12fb223474fa1623c4ec4280b50e81bd267f481a. Actual landed tree equals the independently assessed composition; the candidate's complete four-path patch remains byte-identical. Main reachability and raw merged/closed PR state were read back.Final independent REVIEW_READY and latest composition addendum cover source, all bot findings, actual hosted qualification and current-main impact. Whole-new-main execution is not claimed; independent selector, classifier, npm and rename changes preserve all affected fixture/consumer assumptions. The live guard withheld merge after main advanced until the new delta was reviewed. No source repair or broad rebuild was needed.
Qualified source remains head
b9640ce4394d325428b565dd56bf863d998f0c07, actual checkout70b797007ba83ac0ed30a7e0ee3fb9ed23a896f0, ordered parents tested basea1ea790e923ae6036efdd9457ffc16ea2ad93348+ head, tree0c3942924493bd23f28d760f3144fda60c53e9fc. Run38989275728 and required Result succeeded. Raw native log independently counted 16,539 unique passes / zero failures / three skips; doctests two passed / one ignored. All changed consumers, both matrices, seven lifecycle controls, checks, strict Clippy, policy, golden/fixture/verdict and exact B/H PR-evidence contracts passed. Local check-fast/precommit, full native Windows and all-feature runtime are not claimed.Immediately before merge, all 38 check-runs were terminal success/skipped, required Result success on expected head, classic statuses success and review-thread inventory empty. Ordinary squash API succeeded without bypass/settings/credential changes. Active ruleset18845973 required resolved threads and zero approvals, with no bypass. Classic protection403, branch-rule URL400, original search-rate/auth holds remain held; no absence or waiver was inferred from metadata. No denied route was retried.
Owning issue reconciliation accepts only the hermetic corpus lifecycle/current-worktree residual. #3742 remains open/status-partial with broader owner/scope unchanged; #8228 excluded. No release, source integration, package publication or parent-completion claim.
Task-owned clean worktree and SDK released after consumers completed. Required original witnesses, raw hosted log and landed qualification handoff retained (52 MiB proof; 22 MiB independent review), temporary roots empty, source head pinned in Git metadata, shared Git store untouched.
/workspace/scratch/3742-gate-corpus-proof/closeout.jsonrecords exact disposition and restoration./workspace/scratch/3742-gate-corpus-proof/landed-qualification.jsonbinds qualification to actual landing (SHA2568a91c85a42ebf8b45178132d7f35faede74d941ecfd960be9103a58020b34559). No remaining leaf implementation/merge blocker or local running consumer.