You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ci(init): generated workflow summary prints nothing when the install step fails, and the cargo-install fallback needs Rust #5377
Re-verified after #13830 (main 4bb11e21), which moved the install into the release's ripr-check action:
When the install fails, the advisory summary step still runs (if: always()). It reads steps.install.outcome and writes a reason and next step to the job summary (init_workflow/advisory_summary.rs).
On a runner without a prebuilt archive and without cargo, the action's installer stops with "Add a Rust toolchain step before this action, or use a runner with a prebuilt archive." That names the missing prerequisite. Both paths are replayed in generated_review_workflow.rs: the failed-install tests run the action's own install script.
Expected: summary step always writes reason + next step when install fails
Production:crates/ripr/src/cli/commands/init_workflow/advisory_summary.rs L10–20 — advisory summary step runs if: always(), reads steps.install.outcome via RIPR_INSTALL_OUTCOME, and on non-success printfs a ## RIPR advisory summary block to $GITHUB_STEP_SUMMARY (names failed install + "Next: open the Install ripr step log…") before exiting.
crates/ripr/tests/generated_review_workflow.rs — generated_workflow_explains_a_failed_install (L3764+, including summary printf + guard ordering)
Expected: cargo install fallback fails clearly when Rust/cargo missing
Production:crates/ripr/src/cli/commands/init_workflow.rs L133–137 — before cargo install, if ! command -v cargo emits ::error::Cannot install ripr: … and this runner has no cargo to build it. Install Rust on the runner (https://rustup.rs) or add a Rust toolchain step before Install ripr.
Activity
EffortlessSteven commentedon Nov 2, 2026
Cursor verify claim: checking whether #5377 is satisfied on main.
EffortlessSteven commentedon Nov 2, 2026
Verify result: already satisfied on
mainChecked
origin/mainat8d89aa930e(2026-11-02).Expected: summary step always writes reason + next step when install fails
crates/ripr/src/cli/commands/init_workflow/advisory_summary.rsL10–20 — advisory summary step runsif: always(), readssteps.install.outcomeviaRIPR_INSTALL_OUTCOME, and on non-successprintfs a## RIPR advisory summaryblock to$GITHUB_STEP_SUMMARY(names failed install + "Next: open the Install ripr step log…") before exiting.ripr reports ci-packet(#4696) #5428 (a88034ea3c), refined in feat(ci): cut the generated workflow to 150 lines (#5409) #6555 / ci(init): consume the qualified public Action after the delivered workflow reduction #5409 (75858a3bb0— extracted step module).crates/ripr/src/cli/commands.rs—init_generated_github_workflow_renders_the_summary_with_one_command(L8517–8524)crates/ripr/tests/generated_review_workflow.rs—generated_workflow_explains_a_failed_install(L3764+, including summary printf + guard ordering)Expected:
cargo installfallback fails clearly when Rust/cargo missingcrates/ripr/src/cli/commands/init_workflow.rsL133–137 — beforecargo install,if ! command -v cargoemits::error::Cannot install ripr: … and this runner has no cargo to build it. Install Rust on the runner (https://rustup.rs) or add a Rust toolchain step before Install ripr.ripr reports ci-packet(#4696) #5428 (a88034ea3c) with install-step hardening from ci(init): generated workflow installs prebuilt ripr and renders its summary with one command #5236 lineage.crates/ripr/tests/generated_review_workflow.rs— samegenerated_workflow_explains_a_failed_install(L3852–3870: no-cargo and failed-download paths)generated_review_workflow.rs(L3683–3696: guard runs before anycargo install)No new PR opened (regression coverage already on main). Issue left open per harness instructions.