Repository navigation
test(first-pr): pin --run-chain end to end for Python and TypeScript; disclose the check run (#11720) - #11970
Conversation
… end; disclose the check run it actually writes (#11720) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YVdGzVWk9FoK366FfhytUg
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
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 2 minutes. View limit details
|
|
|
There was a problem hiding this comment.
Independent review (fresh-context reviewer, head 7910b66): REPAIR_REQUIRED
Inspected:
- The candidate's whole change: three files over base
56444f1605fa1431054375f9b232c37f72ede436-crates/ripr/src/output/first_pr.rs(+22/-7), a new integration test filecrates/ripr/tests/first_pr_run_chain.rs(+162/-0), andchangelog.d/11720-run-chain-check-output-disclosure.md(+2/-0). - What the change fixes.
print_side_effect_disclosureused to print a fixed cost class and a fixed first artifact for the--run-chainroute: "runs analysis for each missing artifact (repo-exposure scan, gap ledger, review cards)" and "writes to: each missing artifact (target/ripr/reports/repo-exposure.json, ...)". But a Cargo-less Python or TypeScript root takes the check-output route instead -uses_check_output_gap_ledgerselects it - and that route writescheck.jsonfrom aripr check --jsonrun, never a repo-exposure scan. So the disclosure named an artifact the run does not write. This is a false-confidence surface of exactly the kind the product contract warns about: a stated contract that exceeded its real enforcement. Fixing it is right, and the fix is small and well-targeted. - The fix is correct in the feature-enabled case. The disclosure now computes
uses_check_output_gap_ledger(resolve_path(repo, &options.root))and, when it holds, prints "check run, gap ledger, review cards" and namesoptions.check_output.as_deref().unwrap_or(DEFAULT_CHECK_OUTPUT); otherwise it keeps the old repo-exposure wording. The root is the same one the run uses -first_prresolvesresolve_path(&repo, &options.root)at:191and passes the same expression into the disclosure at:184- andresolve_path(:3354-3369) handles an absolute--rootby using it as-is and a relative one by joining onto the repo root, then normalising components, so the two cannot disagree. The named artifact also matches the run: the run distinguishes "not given" withoptions.check_output.is_none()(check_output_gap_ledger_command(options, options.check_output.is_none(), false),:3104), and the disclosure'sunwrap_or(DEFAULT_CHECK_OUTPUT)names the default exactly in that case. The Python run in the hosted log confirms the production path end to end: the disclosure printed "cost class: runs analysis for each missing artifact (check run, gap ledger, review cards); scales with repository size" and "writes to: each missing artifact (target/ripr/reports/check.json, target/ripr/reports/gap-decision-ledger.json, target/ripr/review/comments.json)", and step 1 was "run-chain step 1/3: check output: ripr check --root ... --base main --json > .../target/ripr/reports/check.json". The production fix does what it claims. - The hosted state at this head, and the reason for the disposition. The
Rust-only feature lanejob 124689607430 failed, soRipr Rust Small Result- the required status check onmain- is FAILURE, and the pull request isCONFLICTING/DIRTYagainst its base. The lane's log names the failures:run_chain_in_a_python_repo_runs_the_check_output_route(panicked atcrates/ripr/tests/first_pr_run_chain.rs:426) andrun_chain_in_a_typescript_repo_runs_the_check_output_route(panicked atcrates/ripr/tests/first_pr_run_chain.rs:431). Both are the two tests this pull request adds. - Why they fail, from the log. The Python case: the disclosure is right, then the run fails with "ripr: Python project markers were detected, but this ripr binary was built without Cargo feature
lang-python; use a Python-enabled ripr binary or addripr.tomlwith[languages] enabled = [\"rust\"]to keep Python preview disabled", and the chain stops at step 1 with exit 2. The assertion at:426-430isassert!(output.status.success(), ...), so the test fails on the exit code, not on the disclosure. The TypeScript case is the more instructive one: the disclosure printed "repo-exposure scan, gap ledger, review cards" and "target/ripr/reports/repo-exposure.json" - the old wording - so the change did not engage at all, and the assertions at:431and:435fail. The reason is in the shared predicate:uses_check_output_gap_ledger(:3082-3085) is!root.join("Cargo.toml").is_file() && (detect_python_project(root) || detect_typescript_project(root)), anddetect_typescript_projectis mirrored as an inertfalsewhen thelang-typescriptfeature is off (crates/ripr/src/config.rs:74-83: "Withoutlang-typescriptno-config detection never selects the adapter, ... so these inert forms keep the shared call sites unconditional"). In a lane whose binary is built without that feature, the predicate is false, the disclosure takes the repo-exposure branch, and the test's expectation that the check-output route is used cannot hold.
Blocking:
- The pull request's own two new integration tests fail in the lane that runs them, and they fail because the new test file is not gated on the Cargo features whose presence its assertions require.
crates/ripr/tests/first_pr_run_chain.rsis an integration test of theriprcrate and is compiled and run by theRust-only feature lane, whose binary does not carrylang-pythonorlang-typescript. The two new tests assert behaviour that only exists when those features are on: the Python one needs the Python adapter to be available for the check run to succeed, and the TypeScript one needsdetect_typescript_projectto be live rather than mirrored asfalse. The fix has three honest shapes and the pull request should pick one deliberately: gate the feature-dependent assertions behind the feature (a#[cfg(feature = "lang-python")]/#[cfg(feature = "lang-typescript")]gate on the two tests, or a feature gate on the file), run these tests in a feature-enabled lane instead of the Rust-only one, or make the assertions tolerant of the feature-disabled behaviour so the lane stays green. What cannot stand is the present state, where the new tests are red in the lane that executes them and the required status check is FAILURE because of them. - This is candidate-attributable, not inherited. The failing tests are new in this pull request - the whole
crates/ripr/tests/first_pr_run_chain.rsfile is a +162-line addition - and they fail on the pull request's own assertions. That is the difference from the rest of the lane's red, which I address below. - One landing-readiness item, not a candidate defect: the branch is
CONFLICTING/DIRTYagainst its base, so it cannot land as it stands regardless of the test repair.
Non-blocking:
- The third failure in the same lane is not in this pull request's diff:
lsp::backend::list_actionable_items_tests::list_actionable_items_names_gaps_the_actionable_profile_hidespanicked atcrates/ripr/src/lsp/backend.rs:12891on a snapshot comparison whosehidden_gap_countis 2. The pull request touches onlyfirst_pr.rsand its new test file, so this is outside its change; I did not establish whether the base is also red for it, and I am therefore not attributing it either way. It is worth confirming separately, because a lane that is red for two different reasons at once is hard to read as evidence. - The disclosure is printed before any filesystem write, and the predicate it consults only depends on project markers, so the disclosure cannot disagree with what the run later does about markers. That is a property worth keeping: it is what makes a pre-write disclosure trustworthy. I checked it rather than assuming it.
- On efficiency - the one dimension of this change worth stating precisely.
uses_check_output_gap_ledgeris not a cheap predicate. It starts with aCargo.tomlstat, and then callsdetect_python_project(crates/ripr/src/config/python.rs:126-133), which stats the Python project markers and then scans the source directories for Python source, anddetect_typescript_project(crates/ripr/src/config/typescript.rs:140-142), which callsdetect_typescript_package_root(root, false) || detect_nested_typescript_package(root)- the second of which searches for nested package roots. So one evaluation can traverse directories, not merely stat a few files. That predicate is evaluated at eleven places infirst_pr.rs-:296,:720,:1832,:1980,:2098,:2268,:3031,:3069,:3133and the definition at:3082, plus the test assertions at:8662and:8667- and this pull request adds a twelfth, in the disclosure path, before any artifact is written. The marginal cost of this change is therefore one extra directory-traversing evaluation perripr first-pr --run-chaininvocation, which is small next to the eleven that already happen. The structural observation is the repetition: the same traversal is recomputed from scratch at a dozen sites for one command, and nothing the command writes between them is a project marker, so the answer cannot change during the invocation. Evaluating it once and threading the boolean would remove the repeated traversal entirely. I am not asking for that inside this pull request - it would widen the diff well past a disclosure fix - but this is the moment to notice it, because the change adds to the count rather than reducing it, and the next caller of the predicate will do the same. - The scope discipline in the pull request body is good and worth keeping: it separates what is delivered from what is left, names the issue for each item it defers, and gives a reason for each deferral rather than a plan. The "Established behavior (before this PR)" section records what was observed before the change, which is what makes a disclosure fix falsifiable rather than assertive.
- The changelog fragment
changelog.d/11720-run-chain-check-output-disclosure.mduses<!-- section: Fixed -->, a single-bullet at column 0 and the(#11720)reference, which satisfiesxtask/src/policy/changelog_fragments.rs:237-275.Fixedis right: the disclosure previously named the wrong artifact, and this corrects it.
Not run:
- The Rust toolchain on this host is not on
PATH: I ran no test, clippy, fmt, orcargo xtaskgate. Every gate result above is a hosted job log or check-run conclusion read at this exact head, with the newest-run-wins rule applied. - The hosted Rust qualification did not succeed at this head: the
Rust-only feature lanefailed on the pull request's own new tests, and the routedRipr Rust Small on GitHub Hosted / Rust gatesjob and theWindows Advisorysubset were stillin_progresswhen I read them. A feature-enabled lane's result for the new tests is unobserved. - I did not run the new tests in any feature configuration, so I am reporting the failure as the hosted lane reports it and not asserting that the tests would pass with
lang-pythonandlang-typescriptenabled - the TypeScript disclosure's repo-exposure wording in the log is evidence that the feature gate changes that branch, but I did not observe the feature-enabled run. - I did not run a combined-tree compile of the merged base and head.
Reviewed by an independent Mavis review agent on behalf of the maintainer; bound to head 7910b661adcf8a942b93c59a7989385c6075935d. Not an approval.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YVdGzVWk9FoK366FfhytUg
There was a problem hiding this comment.
Decision
- Needs reviewer attention before upstream: findings remain.
Confirmed findings
- A custom absolute --check-output path is printed verbatim beside repository-relative artifact paths, potentially misstating its location.
- crates/ripr/src/output/first_pr.rs:311 — The check-output route now prints the raw
--check-outputvalue beside repository-relative artifact paths. If that option is absolute, the disclosure presents it as though it were repository-relative; relative custom paths are also not resolved against the configured root/out directory. Resolve and format the path consistently with the other writes, and add a custom-path assertion.
Verification questions
- Confirm the source now discloses options.check_output or check.json, but the added tests cover only the default output path.
- Confirm the disclosure selects the check-output artifact using the same route predicate used to select the gap-ledger route, while the repo-exposure branch remains the fallback.
- Confirm the added integration coverage exercises Python and TypeScript route selection, disclosure, rerun behavior, artifacts, and fail-closed failure handling.
- Confirm the added integration tests do not exercise --run-chain with an explicit --check-output value, including an absolute path.
Evidence gaps
- The review packet has no completed cargo-test receipt, and the ripr sensor failed with exit code 2.
- Model proof intent was rejected by deterministic validation.
- The Python and TypeScript tests are independently feature-gated, but the shared late cargo-test receipt is absent and the PR body reports only the aggregate 10-test result.
- The seeded prior review reports REPAIR_REQUIRED, but its explanation is truncated and no corresponding review comment or current-diff rebuttal is available.
- The PR-body verification claims are not fully backed by the shared automated receipts.
There was a problem hiding this comment.
Independent review (fresh-context reviewer, head 3093f34): REVIEW_INCOMPLETE
This is a re-bind. An independent review already exists on this PR bound to 7910b661adcf8a942b93c59a7989385c6075935d, which reported REPAIR_REQUIRED with one blocking finding. The head has since moved. This review covers the delta and states, per earlier finding, whether it still holds, has been repaired, or is stale. It does not supersede the earlier review; it binds to the head below.
Inspected:
- Head
3093f3452365b31ae5e034208d1c6b37f3cbe3f4; not draft;mergeable: MERGEABLE,mergeStateStatus: BLOCKED; labelmerge-readypresent; title "test(first-pr): pin --run-chain end to end for Python and TypeScript; disclose the check run (#11720)". - The delta
7910b661a..3093f3452is one path, +147/-0:crates/ripr/tests/first_pr_run_chain.rs.crates/ripr/src/output/first_pr.rsandchangelog.d/11720-run-chain-check-output-disclosure.mdare byte-identical to the previously reviewed head, so the production change is unchanged and the delta is test-only. - The candidate's contribution against merge base
ad8b265b821f2380f15cb6ea859214b46b2c9788remains 3 paths:changelog.d/11720-run-chain-check-output-disclosure.md(+2/-0),crates/ripr/src/output/first_pr.rs(+29/-7),crates/ripr/tests/first_pr_run_chain.rs(+168/-0). - The feature gating now in the test file at this head, read from source:
#[cfg(feature = "lang-python")]onfresh_python_repo(:350),#[cfg(feature = "lang-typescript")]onfresh_typescript_repo(:389),#[cfg(any(feature = "lang-python", feature = "lang-typescript"))]onpreview_repo(:491),#[cfg(feature = "lang-python")]onpython_repo(:533),#[cfg(feature = "lang-typescript")]ontypescript_repo(:548) and onassert_preview_chain(:563),#[cfg(feature = "lang-python")]onrun_chain_in_a_python_repo_runs_the_check_output_route(:648) and#[cfg(feature = "lang-typescript")]onrun_chain_in_a_typescript_repo_runs_the_check_output_route(:654). At the previously reviewed head none of those seven items carried a#[cfg]attribute — I read the previous file rather than inferring it. - The disclosure oracle survives the repair.
assert_preview_chain(:568) still assertsstdout.contains("(check run, gap ledger, review cards)")(:577),stdout.contains("(target/ripr/reports/check.json, ")(:581) and!stdout.contains("repo-exposure")(:584), and I confirmed by whole-tree search that these three substrings occur nowhere else at this head. The two new tests (run_chain_on_a_fresh_python_repo_reaches_a_non_missing_state:433-435 andrun_chain_on_a_fresh_typescript_repo_reaches_a_non_missing_state:462-464) are additional coverage; they do not replace the disclosure assertions. crates/ripr/src/output/first_pr.rsat this head:uses_check_output_gap_ledgeris defined at :3082 and called at nine sites — :296, :720, :1832, :1980, :2098, :2268, :3031, :3069, :3133.- Hosted evidence at this head (56 contexts):
Rust-only feature lane(job 124694468029) FAILURE — 12,885 passed, 1 failed;Ripr Rust Small on GitHub Hosted / Rust gates(job 124694628534) FAILURE —PRECOMMIT_RESULT: failurewithxtask: check-policy-all: 1 gate(s) failed: check-process-policy;Ripr Rust Small Result(the required status check onmain) FAILURE and present;Test AnalyticsSKIPPED;Admit PR Candidate,Route Ripr Rust Small,Detect Docs-Only Surface,cargo-deny,Security,Printed Command Paste,Windows Advisory,ub-review,Graphite / AI Reviews,Graphite / mergeability_check,GitGuardian Security Checks,CodeRabbit(NEUTRAL) SUCCESS.
Earlier findings, re-disposed:
- Blocking — "the pull request's own two new integration tests fail in the lane that runs them, because the new test file is not gated on the Cargo features whose presence its assertions require" → REPAIRED, and verified from the hosted lane rather than from the diff. The earlier review offered three honest shapes and said the PR must pick one; this candidate picked the first — "gate the feature-dependent assertions behind the feature" — and did it at every site that needed it, not just on the two test functions. The hosted
Rust-only feature laneat this head reportstest result: FAILED. 12885 passed; 1 failedwith the single failure beinglsp::backend::list_actionable_items_tests::list_actionable_items_names_gaps_the_actionable_profile_hides; the two preview-language tests no longer appear at all, because in a binary built withoutlang-python/lang-typescriptthey are now compiled out rather than executed and failed. The earlier finding's two "one landing-readiness item, not a candidate defect" notes are also resolved: the branch is nowMERGEABLEagainst its base, notCONFLICTING/DIRTY. - Non-blocking — "the third failure in the same lane is not in this pull request's diff" → STILL HOLDS, and is now the only failure in that lane.
list_actionable_items_names_gaps_the_actionable_profile_hidespanics on a snapshot comparison incrates/ripr/src/lsp/backend.rs; this candidate's contribution is three paths and contains nocrates/ripr/src/lsp/backend.rsand no analyzer source at all, so a snapshot of the actionable-items ordering cannot be affected by it. I did not re-establish whether the base is also red for it at this exact commit, so I attribute it as outside the candidate's diff rather than as a confirmed base red. - Non-blocking — "the disclosure is printed before any filesystem write, and the predicate it consults only depends on project markers, so the disclosure cannot disagree with what the run later does about markers" → STILL HOLDS and is unchanged by the delta. The production side of the PR is byte-identical to the previously reviewed head, so nothing about the disclosure's ordering moved.
- Non-blocking — "CORROBORATES the author's rebuttal of the
github-actions'focused proof failed (exit 101)' item" → still holds.xtask/tests/still contains nopublic-proof.rs, socargo test --package xtask --test public-proofstill cannot resolve a target; exit 101 is a bad invocation, not a source failure. - Non-blocking — "the scope discipline in the pull request body is good" and "the changelog fragment satisfies the fragment policy and
Fixedis the right section" → unchanged. The fragment is byte-identical to the previously reviewed head.
Blocking:
- None attributable to this candidate. The earlier blocking defect is repaired and the repair is verified against the hosted lane at this exact head.
Non-blocking:
- The required Rust lane is red at this head, and neither red is the candidate's.
Ripr Rust Small Resultis present and FAILURE.Ripr Rust Small on GitHub Hosted / Rust gatesfailed atcheck-process-policy— the known base-side orphan foruse std::process::Commandincrates/ripr/src/output/first_pr/run_chain.rsat main tipa69bf0214(job124707375551; repair carrier #11975). That file is outside this candidate's three-path contribution, so the gate cannot be affected by it. TheRust-only feature lane's single failure is the LSP snapshot test above, also outside the contribution. The consequence for the candidate is not a red it caused but a thin lane: the fail-fast chain stopped atcheck-process-policy, soALL_FEATURES_CHECK_RESULT: skipped— thecargo check -p ripr --all-targets --all-featuresstep at.github/workflows/rust-gates.yml:242— never ran either. - The PR's own oracle is compiled only under features that no lane exercised at this head. The disclosure assertions live in
assert_preview_chain, which is now#[cfg(any(feature = "lang-python", feature = "lang-typescript"))]. The only workflow that runs the suite with those features isTest Analytics(.github/workflows/test-analytics.yml:68,cargo nextest run --workspace --all-features --profile ci), and its job gate (:24) fires only for amerge-readylabel event, afull-cilabel, or a push tomain; at this head it is SKIPPED. So at this head the feature-gated code was neither compiled (the all-features check was skipped) nor executed (the all-features lane was skipped). The repair is correct and the lane is now green where it failed, but the behaviour this PR exists to pin is currently unexercised — the greenRust-only feature laneproves the gating works, not the disclosure. Removing and re-addingmerge-readywould schedule both the all-features compile and the all-features suite; that is the remedy, and until it runs the correct statement about this PR's production change is "verified by source reading, not by an executed test". - Duplicate-cluster note, resolved by content rather than by the shared issue number. Issue #11720 groups #11970 with #11975 and #11960. At their current heads #11975 (
6fca309b1) and #11960 (e0e853d23) both carrycrates/ripr/src/output/first_pr.rsblobfd7ba55d2, byte-identical to main's — neither changes that file. #11970 carries blob54f3c049d. So #11970 is the only member of the cluster that touches the run-chain disclosure, and the cluster is not a duplicate set: #11975 is thecheck-process-policyrepair and #11960 is a separate claim that happens to cite the same issue. No survivor decision is needed against this PR. - Efficiency — the change adds a directory-traversing predicate evaluation rather than removing one.
uses_check_output_gap_ledgeris not cheap: it statsCargo.toml, then callsdetect_python_project(which stats the Python project markers and scans the source directories for Python source) anddetect_typescript_project(which callsdetect_typescript_package_rootordetect_nested_typescript_package, the latter searching for nested package roots). One evaluation can therefore traverse directories, not merely stat a few files. This PR's disclosure path is one of the nine call sites at this head (:296, :720, :1832, :1980, :2098, :2268, :3031, :3069, :3133), so the marginal cost of the change is one extra directory traversal perripr first-pr --run-chaininvocation. The structural observation is the repetition rather than the increment: the same answer is recomputed from scratch at nine sites for one command, and nothing the command writes between them is a project marker, so the value cannot change during the invocation. Evaluating it once and threading the boolean would remove the traversal entirely. I am not asking for that inside this PR — it would widen a disclosure fix well past its scope — but this is the moment to notice it, because the count went up rather than down and the next caller will do the same. - Efficiency — the two new helpers leak a temporary git repository per test.
fresh_python_repo(:351) andfresh_typescript_repo(:390) each build a complete throwaway repository:git init -b main,git add -A, a base commit,git checkout -b feature, a second commit, and asrc/andtests/tree. Neither helper nor either new test removes the directory. The file's onlyremove_dir_allcalls (:176, :627) removeroot.join("target"), and the new tests do not even do that, so each feature-enabled test run leaves two full temporary git worktrees — including their.gitdirectories — in the system temp dir, uniquely named per process id and counter so they never collide and never get reused. On a CI runner whose temp directory is not reset between jobs that is a small but strictly accumulating cost, and it is new with this delta. Removing the root at the end of each test (or pointing the helpers at a per-test subdirectory that is removed) would make the new coverage cost-neutral.
Not run:
- The Rust toolchain on this host is not on
PATH, so there was no local build, nocargo xtask precommit, no local test run, and no way to execute the feature-gated tests here. Every Rust-level statement above comes from the hosted job logs at this exact head or from reading source at this exact SHA. - The feature-enabled behaviour is unobserved at this head. I did not observe the two preview-language tests pass or fail under
lang-python/lang-typescript, and the hosted evidence at this head does not contain such a run either. I am reporting the gating as correct by source reading, and the Rust-only lane as green where it previously failed because the lane says so. - The hosted Rust phase beyond the Rust-only lane is unobserved at this head: the shards, goldens, fixtures, clippy and all-features steps were skipped after the fail-fast, so this review does not rest on them and does not claim they passed.
Reviewed by an independent Mavis review agent on behalf of the maintainer; bound to head 3093f3452365b31ae5e034208d1c6b37f3cbe3f4. Not an approval.
Keep main's run-chain timeout tests and Python/TypeScript e2e (#11924, #11960); keep this PR's disclosure-parity tests alongside. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SvmPmoz3yvGnngtDNnPKxG
|
Review of record, head Angles inspected (full diff read): semantic owner, test stimulus and oracle, changelog fragment, docs/output parity.
Findings: none material. Merging on this head. Generated by Claude Code |
…cile help (#11720) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SvmPmoz3yvGnngtDNnPKxG
|
Review of record, head 3d989d0 (COMMENT disposition; self-authored lane). Inspected: the full diff (first_pr.rs disclosure branch, first_pr/options.rs help, first_pr_run_chain.rs, traceability, changelog fragment).
Generated by Claude Code |
Requested by Steven · project thread
Governing issue or accepted claim: #11720
Acceptance delta (one sentence):
ripr first-pr --run-chainin a Python or TypeScript repository is now pinned end to end (check run, gap ledger, cards skipped, preview-limited verdict, fail-closed first step with a next step), and its cost disclosure names the check run andcheck.jsonit actually writes instead of a repo-exposure scan.Established behavior (before this PR)
--run-chainis refused with--check-output, but in a Cargo-less Python or TypeScript repo it selects the check-output route on its own (uses_check_output_gap_ledger). Observed on fresh repos: step 1ripr check --json > check.json, step 2ripr reports gap-ledger --check-output, step 3 review cards "not run"; exit 0; packet isState: top gapwithpython_preview/typescript_previewevidence boundary. No repo-exposure report is produced. That behavior is correct; the failure path reuses the existing "stopped at step N ... run the printed command yourself" message, which already names the next step.Wrong behavior fixed
The disclosure printed under
--run-chainalways said "repo-exposure scan" and listedrepo-exposure.jsonas a write, which is false on this route. It now says "check run" and lists the check output path (--check-outputor the defaultcheck.json).Tests
run_chain_in_a_python_repo_runs_the_check_output_route,run_chain_in_a_typescript_repo_runs_the_check_output_route: fixture repos built in a temp git dir; assert disclosure, step labels, artifacts present/absent (norepo-exposure.json, nocomments.json), preview static limit, non-missing packet state, rerun runs neither check nor ledger, and a failing first step exits 2 naming step 1/3 (check output) with the printed command to run, writing no packet.first_pr_run_chaintests still pass (10 total).Verification (local, head 7910b66)
cargo fmt --check,cargo clippy -p ripr --all-targets -- -D warnings: clean.cargo test -p ripr --test first_pr_run_chain: 10 pass.cargo xtask precommit: allcheck-*gates throughcheck-user-textpassed (incl. static-language, no-panic-family, allow-attributes, output-contracts, doc-artifacts, command-catalog, changelog-fragments, process-policy); the run hit its 30-minute background cap while the final lint stage waited on the shared cargo lock, so that stage was covered by the separate clippy run above.Not verified
Generated by Claude Code