Skip to content

ci(init): install ripr through the release's ripr-check action; generated workflow 216 → 150 lines (#5409) - #13830

Merged
EffortlessSteven merged 6 commits into
mainfrom
claude/project-thread-gwdsrm
Nov 16, 2026
Merged

EffortlessSteven merged 6 commits into
mainfrom
claude/project-thread-gwdsrm

Conversation

@EffortlessSteven

Copy link
Copy Markdown
Member

Requested by Steven Zimmerman · project thread

Summary

  • The workflow ripr init --ci github writes used to carry a 65-line copy of the installer that already lives in .github/actions/ripr-check. Its Install ripr step now runs that Action from the pinned release tag:
    - name: Install ripr
      id: install
      uses: EffortlessMetrics/ripr/.github/actions/ripr-check@v<pin>
      with:
        version: <pin>
        install-only: true
    The installer now exists in one place, and the generated file drops from 216 to 150 lines, which meets the ci(init): consume the qualified public Action after the delivered workflow reduction #5409 bar again. The size test is back at <= 150.
  • The Action gains an install-only input (default 'false', so existing users see no change) that skips ripr check.
  • Other trims in the workflow:
    • PR number and head SHA move from three step env: blocks to job env:. They still never appear as ${{ }} inside run:.
    • REPO is replaced by the runner's own GITHUB_REPOSITORY. An unused PR_HEAD_SHA is dropped from the capture step.
    • Setting comments now trail their entries.
    • RIPR_CACHE_DIR moves from a GITHUB_ENV write in the old install shell to the Run RIPR step's env.
  • ripr doctor reads the pin from the Action tag. It still recognizes the older cargo install lines.

Decision: which public Action path

#5409 asked for a qualified public Action and left the source Marketplace work (ripr#1857) open. I chose the existing ripr-check composite Action, addressed by the release tag:

  • It needs no new Action implementation and no Marketplace publication. Publishing to the Marketplace stays Steven's call and is not part of this PR.
  • The tag is the same trust root the installer already used. It downloads the release archive by that tag and checks it against that release's published SHA-256. Nothing is added to what adopters trust.
  • A released generator self-pins, so the first generator that emits this route is 0.11.0. Its tag comes from the history-preserving swarm-to-source integration and will carry this Action with install-only.
  • docs/RELEASE.md Post-Publish now says to confirm ripr-check@v<version> resolves at the tag before announcing.
  • A development build still pins the latest release (0.10.0), whose tag has no such Action. The existing stderr note already says a dev-generated workflow fails until its version ships. The note now names the Action input among the missing pieces.
  • Behaviour change: a ripr already on PATH that reports exactly the pinned version is reused, which is the Action's existing rule (test(ci): behavioral coverage for the ripr-check Action's install and base-derivation routes #11659). A different version never stands in. The archive replay's ambient ripr now reports a non-matching version, so falsifier 4 still bites.

Tests

  • Unit tests for released and unreleased rendering:
    • the tag and the version input carry the same pin;
    • there is exactly one install route, with no cargo install or download shell in the template;
    • the Action accepts install-only, and install-only gates Run ripr check.
  • The Windows zip and unix archive replays, the failed-install explanations and the no-cargo and cargo-fallback replays now run the Action's Install ripr block with the version the generated workflow passes. They were not deleted.
  • The xtask distribution-contract tests read the target mapping from the Action.
  • Doctor tests cover the Action-tag pin.
  • The template hash is re-pinned.

Source-of-truth Links

Proposal:
Spec: docs/specs/RIPR-SPEC-0038-generated-pr-ci-review-workflow.md
ADR:
Plan item:
Governing issue or accepted claim: #5409
Acceptance delta (one sentence): the generated workflow installs through the release's ripr-check Action instead of a second installer copy, at 150 lines.

Still open on #5409, so it stays open: exercising the emitted workflow in a clean consumer repository needs the v0.11.0 tag to exist.

Local checks

  • cargo xtask precommit exit 0.
  • cargo test -p ripr --lib (init, init_workflow, commands, doctor filters; 165 pass).
  • --test generated_review_workflow (33 pass), --test ripr_check_action (16 pass), --test cli_smoke -- init_ci doctor (62 pass).
  • cargo test -p xtask -- distribution passes. Three dx_scoreboard git-clone tests also fail in this container, in partial-clone object handling, which this diff does not touch.

Generated by Claude Code

The generated `ripr init --ci github` workflow carried a 65-line copy of
the installer that also lives in .github/actions/ripr-check. It now runs
that Action from the pinned release tag with a new `install-only` input,
so the installer exists once and the workflow drops from 216 to 150
lines. PR number and head SHA move to job env, the repository comes from
the runner's GITHUB_REPOSITORY, and setting comments trail their entries.

doctor reads the pin from the Action tag; the archive replays now run the
Action's installer with the version the workflow passes. Docs (CI.md,
RELEASE.md, EXIT_CODES.md, spec 0038) record the route and the release
check that the tag carries the Action.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UNUoLU2ixP77wQD1hYUsRB
@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@EffortlessSteven EffortlessSteven self-assigned this Nov 8, 2026
@coderabbitai

coderabbitai Bot commented Nov 8, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

  • Ask an admin to enable usage-based reviews

Open in CodeRabbit

Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing.

Next included review available in 57 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available. Your 145 included PR review attempts over the past 7 days set your current allowance at 1 review per hour.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Essentials
  • Run ID: 22900098-93af-4010-9648-38e5ae0643da
Commits

Reviewing files that changed from the base of the PR and between f657791 and 31a7afb.

Files selected for processing: 16

  • .github/actions/ripr-check/action.yml
  • changelog.d/5409-generated-workflow-installs-through-action.md
  • crates/ripr/src/cli/commands.rs
  • crates/ripr/src/cli/commands/doctor.rs
  • crates/ripr/src/cli/commands/init.rs
  • crates/ripr/src/cli/commands/init_workflow.rs
  • crates/ripr/tests/cli_smoke.rs
  • crates/ripr/tests/generated_review_workflow.rs
  • docs/CI.md
  • docs/EXIT_CODES.md
  • docs/INSTALLATION_VERIFICATION.md
  • docs/RELEASE.md
  • docs/specs/RIPR-SPEC-0038-generated-pr-ci-review-workflow.md
  • policy/network_allowlist.txt
  • xtask/src/policy/distribution/tests.rs
  • xtask/src/reports/release.rs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@EffortlessSteven
EffortlessSteven marked this pull request as ready for review November 8, 2026 18:16
@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 2 potential issues.

Devin Review

Comment thread crates/ripr/src/cli/commands/doctor.rs Resolved
@github-actions

github-actions Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

ripr static exposure check

Commit 71d13eb55c1d · run · advisory, static evidence only (not a mutation run).

#ripr agent static-advisory base=ab93e28c665bdc75242bc33f4db3a21854126f04 findings=124 gaps=26 exposed=2 infection_unknown=6 propagation_unknown=17 reachable_unrevealed=1 static_unknown=52 weakly_exposed=46
analysis=incomplete|outcome=partial_with_limitations
limitation=language_scope_unsupported|reason=1 generated or vendored Rust file(s) were intentionally skipped by the generated…|recovery=Files skipped only by naming conventions: crates/ripr/tests/generated_review_workflow.rs. If these are hand-written, declare exact repository-relative paths in `[languages.rust] handwritten_files`. Explicit generated_file_patterns, generator headers and vendor markers remain excluded.
reachable_unrevealed|crates/ripr/src/cli/commands/init.rs:65|"ripr: note: this build of ripr ({generator}) is a development version, so the g…|missing=No statically established oracle: assertion execution or macro binding is unesta…|test=t1|id=probe:crates_ripr_src_cli_commands_init.rs:call_deletion:53e23ac4
weakly_exposed|crates/ripr/src/cli/commands/doctor.rs:3364|return Some(Some(input.unwrap_or(tag)))|missing=-|test=t2|id=probe:crates_ripr_src_cli_commands_doctor.rs:return_value:6ad85173
weakly_exposed|crates/ripr/src/cli/commands/doctor.rs:3372|Some( words .windows(2) .find(\|pair\| pair[0] == "--version") .map(\|pair\| pair[1]…|missing=No strong discriminator was detected|test=t2|id=probe:crates_ripr_src_cli_commands_doctor.rs:return_value:214527c8
weakly_exposed|crates/ripr/src/cli/commands/doctor.rs:3392|return Some(format!( "{GENERATED_WORKFLOW_PATH} runs the ripr-check action from …|missing=-|test=t2|id=probe:crates_ripr_src_cli_commands_doctor.rs:return_value:9c31cbfd
weakly_exposed|crates/ripr/src/cli/commands/doctor.rs:3392|Some(format!( "{GENERATED_WORKFLOW_PATH} runs the ripr-check action from v{tag} …|missing=-|test=t2|id=probe:crates_ripr_src_cli_commands_doctor.rs:return_value:20d0af98
weakly_exposed|crates/ripr/src/cli/commands/init_workflow.rs:43|RIPR_GATE_MODE: ${{ vars.RIPR_GATE_MODE \|\| '' }} # empty (advisory), visible-onl…|missing=No strong discriminator was detected|test=t3|id=probe:crates_ripr_src_cli_commands_init_workflow.rs:call_deletion:46d9cca0
weakly_exposed|crates/ripr/src/cli/commands/init_workflow.rs:43|RIPR_GATE_MODE: ${{ vars.RIPR_GATE_MODE \|\| '' }} # empty (advisory), visible-onl…|missing=-|test=t3|id=probe:crates_ripr_src_cli_commands_init_workflow.rs:field_construction:1e231e97
weakly_exposed|crates/ripr/src/cli/commands/init_workflow.rs:45|RIPR_PILOT_TIMEOUT_MS: ${{ vars.RIPR_PILOT_TIMEOUT_MS \|\| '' }} # optional positi…|missing=RIPR_PILOT_TIMEOUT_MS: ${{ vars.RIPR_PILOT_TIMEOUT_MS \|\| '' }} # optional positi…|test=t3|id=probe:crates_ripr_src_cli_commands_init_workflow.rs:field_construction:49100985
t1=crates/ripr/src/cli/commands.rs:2883 command_help_branches_return_ok unknown miss=assertion_admission_unproven
t2=crates/ripr/src/cli/commands/doctor.rs:6092 generated_workflow_line_flags_unpinned_and_other_version_installs unknown miss=assertion_admission_unproven
t3=crates/ripr/src/cli/commands/init_workflow.rs:534 composite_action_accepts_the_template_inputs unknown miss=assertion_inert
+18 more gaps not shown; `--format json` lists all
limits=infection_unknown:6,propagation_unknown:17,static_unknown:52,weakly_exposed:21
next=ripr explain --root . --base ab93e28c665bdc75242bc33f4db3a21854126f04 --committed --mode draft --format agent probe:crates_ripr_src_cli_commands_init.rs:call_deletion:53e23ac4
verify=refused|outcome=partial_with_limitations|findings=124|exposed=2|reason=analysis_incomplete,gaps_remain

Took 110s.

…#5409)

Review follow-ups on the ripr-check install route:
- release-readiness `init-generator-self-pin` and the manual smoke in
  INSTALLATION_VERIFICATION.md looked for the removed inline installer
  (`cargo install ripr --version`, `version=`), so they would fail a correct
  0.11 release; they now require the action tag and `version:` input, with
  fixtures in the real rendered shape.
- doctor takes the step's `version:` input (what CI installs) over the tag
  and names a tag/input split.
- the archive replay's falsifier 4 wording now says it covers a non-matching
  ambient ripr; the network allowlist note names the action's install step.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UNUoLU2ixP77wQD1hYUsRB
…_concat)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UNUoLU2ixP77wQD1hYUsRB

@EffortlessSteven EffortlessSteven left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

REVIEW_READY — head af01130

Review of the full diff on this head. It combines an independent fresh-agent review, Devin's two threads and my own pass.

  • Template: Install ripr is a single uses: step on EffortlessMetrics/ripr/.github/actions/ripr-check@v<pin>, with version: <pin> and install-only: true. No installer shell remains, and the rendered output is 150 lines.
  • Action: install-only defaults to 'false', so existing callers see no change, and Run ripr check is gated on it.
  • Context rules: runner is used in step env and github in job env, both allowed. steps.install.outcome still works through id: install, and the composite's $GITHUB_PATH write reaches later steps.
  • Cache dir: RIPR_CACHE_DIR only matters to ripr reports ci-packet, which still receives it.
  • Tokens: GH_TOKEN stays step-scoped. The job env carries only the public PR number and head SHA.
  • Reviewer finding, addressed: release-readiness init-generator-self-pin and the manual smoke in INSTALLATION_VERIFICATION.md now look for the action tag and version: input. The fixtures use the real rendered shape, and I checked the grep against real ripr init --dry-run output with a matching and a non-matching version.
  • Devin finding, addressed: doctor prefers the version: input and names a tag/input split. A test covers it.
  • Installer replays: the Windows zip and unix archive routes, the failed-install explanations and the cargo fallback all run the Action's Install ripr block with the version the workflow passes. Falsifier 4's wording now matches what it covers. Reuse of a matching ambient ripr is the Action's documented rule (#11659), covered in tests/ripr_check_action.rs and disclosed in CI.md and spec 0038.
  • Local checks: cargo xtask precommit exit 0 on this head's content. Focused suites pass: lib init/init_workflow/commands/doctor, generated_review_workflow 33, ripr_check_action 16, cli_smoke init_ci/doctor 62, and xtask distribution plus init_generator_self_pin.
  • Threads: both Devin threads have replies and are resolved.

Generated by Claude Code

Copy link
Copy Markdown
Member Author

spec-maintenance-digest failed on the merge composition, and the cause is outside this PR. crates/ripr/src/output/format.rs:450 does not compile on current main: OutputFormat::MissedTxt is missing from is_json_request. #13720 added that exhaustive match and #13666 added the new variant, and the two landed separately. This PR does not touch output/format.rs.

The fix is open as #13848. Once it lands I'll bring main into this branch so the required checks run on a tree that compiles.


Generated by Claude Code

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Decision

  • Needs focused proof failure resolved before upstream.

Test proof

  • Focused HEAD proof failed (exit 101): cargo test --locked --package ripr --test agent_command_journey. This is a current failure, not a red/green witness.

@EffortlessSteven EffortlessSteven left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

REVIEW_READY — head 71d13eb

This head is af01130 (reviewed: independent subagent review plus Devin, all findings addressed) with origin/main merged in by a merge commit. The merge resolved without conflicts and touches none of this PR's files. It brings in #13848, so the tree compiles again and the required checks can run.

Dimensions refreshed: integration basis only. The production implementation, test stimulus, test oracle and docs are unchanged since the af01130 review.

Local: on this head, cargo xtask precommit passed its policy checks (static-language, no-panic-family, allow-attributes, local-context and the rest). The container's memory limit then killed the ripr lib-test compile, which is an infrastructure limit. The same command exited 0 on af01130. Hosted CI on this exact head is the compile and test proof.


Generated by Claude Code

@EffortlessSteven EffortlessSteven left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

VERDICT: APPROVE 71d13eb — no blocking findings on this head, but the head is CONFLICTING with current main and must be restacked before it can be admitted.

Reviewed the whole diff at this head (+411/−300, 16 files). Evidence that the route is sound:

  • Template identity. I recomputed the pinned hash from the raw template text (TEMPLATE_HEAD + ADVISORY_SUMMARY_STEP + TEMPLATE_TAIL): sha256 15376b05b06b0f66fcc7218a51261a0be2e59f46952957792dae01ece1341899, 150 lines, matching the constant and the claimed 216 → 150 reduction.
  • The action the template calls. .github/actions/ripr-check/action.yml gains install-only (default 'false') and gates only Run ripr check with if: inputs.install-only != 'true'; it has exactly those two steps, so an install-only run installs and stops. The install step binds RIPR_INPUT_VERSION: ${{ inputs.version }} and the generated step passes version: equal to the @v tag, so both carry one pin.
  • Generated step. Install ripr keeps id: install (the advisory summary's steps.install.outcome still resolves), runs no shell of its own, and adds install-only: true. uses: and version: agree; the tests assert exactly one install route and no cargo install / releases/download left in the template.
  • Cache and env moves. actions/cache uses a literal path: ${{ runner.temp }}/ripr-cache, not env.RIPR_CACHE_DIR, so setting that variable on the Run RIPR step instead of via $GITHUB_ENV keeps the restore/analysis order. PR_NUMBER/PR_HEAD_SHA move to job env: with the same expressions they had per step, and $GITHUB_REPOSITORY replaces ${{ github.repository }} in the same URLs, so no run block gains a ${{ }}.
  • Doctor. generated_install_action reads the tag and the step's version: input, generated_workflow_pin prefers the input (what CI actually installs), a tag/input split is named explicitly, and the older cargo install template is still recognized. The resolved devin thread on this point is fixed in the head, not just answered.
  • Policy bookkeeping. init.rs still has exactly one curl (the action's checksum line), so its allowlist row is right; the init_workflow.rs row is removed because the template no longer contains one.

Residual, not blocking: a development build still pins the latest release (0.10.0), whose tag lacks install-only; the stderr note names that and docs/RELEASE.md now requires confirming ripr-check@v<version> resolves before announcing. Callers of the composite action are unaffected because the new input defaults to false.

Not checked here: no build or test run, and no fresh CI. The head's check runs are 12 success / 18 skipped from 2026-11-08, its base is ab93e28c (2026-11-08) against main 9b914379, and GitHub reports the head CONFLICTING, so the merge route must restack it and a restacked head needs a fresh review. Read-only: no push, label, enqueue or merge.

@EffortlessSteven

Copy link
Copy Markdown
Member Author

Disposition: parked, not merge-ready.

This PR is CONFLICTING with main at head 71d13eb5, so it cannot pass late qualification or land as-is. The merge-ready label was removed on 2026-11-14.

Owner: coding ripr-swarm. Revisit by 2026-11-21, or close it earlier as superseded if another candidate lands the same issue. No code was rejected here; this records the unowned state rather than leaving it silent.

@EffortlessSteven EffortlessSteven left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SOURCE_REVIEW_READY

VERDICT: APPROVE 71d13eb — no blocking findings on this head, but the head is CONFLICTING with current main and must be restacked before it can be admitted.

Reviewed the whole diff at this head (+411/−300, 16 files). Evidence that the route is sound:

  • Template identity. I recomputed the pinned hash from the raw template text (TEMPLATE_HEAD + ADVISORY_SUMMARY_STEP + TEMPLATE_TAIL): sha256 15376b05b06b0f66fcc7218a51261a0be2e59f46952957792dae01ece1341899, 150 lines, matching the constant and the claimed 216 → 150 reduction.
  • The action the template calls. .github/actions/ripr-check/action.yml gains install-only (default 'false') and gates only Run ripr check with if: inputs.install-only != 'true'; it has exactly those two steps, so an install-only run installs and stops. The install step binds RIPR_INPUT_VERSION: ${{ inputs.version }} and the generated step passes version: equal to the @v tag, so both carry one pin.
  • Generated step. Install ripr keeps id: install (the advisory summary's steps.install.outcome still resolves), runs no shell of its own, and adds install-only: true. uses: and version: agree; the tests assert exactly one install route and no cargo install / releases/download left in the template.
  • Cache and env moves. actions/cache uses a literal path: ${{ runner.temp }}/ripr-cache, not env.RIPR_CACHE_DIR, so setting that variable on the Run RIPR step instead of via $GITHUB_ENV keeps the restore/analysis order. PR_NUMBER/PR_HEAD_SHA move to job env: with the same expressions they had per step, and $GITHUB_REPOSITORY replaces ${{ github.repository }} in the same URLs, so no run block gains a ${{ }}.
  • Doctor. generated_install_action reads the tag and the step's version: input, generated_workflow_pin prefers the input (what CI actually installs), a tag/input split is named explicitly, and the older cargo install template is still recognized. The resolved devin thread on this point is fixed in the head, not just answered.
  • Policy bookkeeping. init.rs still has exactly one curl (the action's checksum line), so its allowlist row is right; the init_workflow.rs row is removed because the template no longer contains one.

Residual, not blocking: a development build still pins the latest release (0.10.0), whose tag lacks install-only; the stderr note names that and docs/RELEASE.md now requires confirming ripr-check@v<version> resolves before announcing. Callers of the composite action are unaffected because the new input defaults to false.

Not checked here: no build or test run, and no fresh CI. The head's check runs are 12 success / 18 skipped from 2026-11-08, its base is ab93e28c (2026-11-08) against main 9b914379, and GitHub reports the head CONFLICTING, so the merge route must restack it and a restacked head needs a fresh review. Read-only: no push, label, enqueue or merge.

…-gwdsrm

# Conflicts:
#	crates/ripr/src/cli/commands/init_workflow.rs

@EffortlessSteven EffortlessSteven left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SOURCE_REVIEW_READY

Restack review for head 0754371. It is 71d13eb, approved in the review above, with current main (60114de) merged in by a merge commit.

  • The only conflict was init_workflow.rs template_pin_tests, where #14300 (seam SARIF upload limited to manual runs) also changed the template. The resolution keeps both history notes and re-pins TEMPLATE_SHA256 to b325222e00542ccd687f8e3f0c24bdeee2280de5c03040361a31c2b8f2cefda2. I computed that from the merged raw template text (TEMPLATE_HEAD + ADVISORY_SUMMARY_STEP + TEMPLATE_TAIL). The same script reproduces main's pinned 6bd24dd9… from main's text, so the method is checked. The template is still 150 lines.
  • The PR's diff against main is unchanged in shape: 16 files, +411/−300, the same files as the approved head. #14300's step change merged cleanly beside this PR's install, env and cache changes.
  • Local proof on this head: cargo test -p ripr --test generated_review_workflow (33 passed), cargo test -p ripr --test cli_smoke init_ (33 passed), cargo test -p xtask -- distribution release (562 passed), and cargo xtask precommit (exit 0). The container's memory limit kills the ripr lib-test compile, so template_matches_the_pinned_bytes runs in hosted CI.

Dimensions refreshed: integration basis and the template pin. Production, stimulus, oracle and docs are as in the approved review.


Generated by Claude Code

Copy link
Copy Markdown
Member Author

Unparked. I restacked onto main 60114de with a merge commit. Head 0754371 resolves the one conflict, the template hash, against #14300, and the restack review is posted above. merge-ready is re-applied and qualification is running on this head. I own the merge.


Generated by Claude Code

@github-actions

Copy link
Copy Markdown
Contributor

merge-ready is set, but this PR conflicts with main (head 0754371d), so GitHub creates no test-merge ref and no qualification run can start. 1. Merge main into the branch and resolve the conflicts. 2. Remove and re-apply merge-ready to request admission and qualification only. 3. After qualification is green, enqueue the PR through the native queue route; re-applying the label does not enqueue it.

…-gwdsrm

# Conflicts:
#	.github/actions/ripr-check/action.yml
#	docs/CI.md

@EffortlessSteven EffortlessSteven left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SOURCE_REVIEW_READY

Restack review for head 31a7afb: 0754371 plus main f657791, merged with a merge commit.

  • Main's #14819 reworked the ripr-check action. It added a cache input, exit-code/report outputs, an actions/cache step, and id: check on the run step. Two conflicts resulted:
    • action.yml: the inputs now list both cache and install-only. The run step has id: check and if: inputs.install-only != 'true'. The new cache step's guard is inputs.cache == 'true' && inputs.install-only != 'true', so an install-only call (the generated workflow, which keeps its own cache step) installs and stops, as before. With install-only the outputs are empty; the generated workflow reads neither.
    • docs/CI.md: kept main's rewritten composite-action section and added the install-only input to its input list.
  • composite_action_accepts_the_template_inputs now pins the run step's id/if pair and the cache step's install-only guard.
  • The PR diff against main is the same 16 files (+419/−302).
  • Local proof on this head: ripr_check_action (24 passed), generated_review_workflow (33), cli_smoke init_ (33), xtask -- distribution release (568), and cargo xtask precommit (exit 0). The ripr lib-test compile exceeds this container's memory, so the unit tests run in hosted CI.

Dimensions refreshed: integration basis, the action contract, and the docs input list. The template, the doctor and the release check are as in the approved review.


Generated by Claude Code

@EffortlessSteven EffortlessSteven left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

VERDICT: APPROVE 31a7afb — no blocking findings on this head.

Refreshed review of the delta since my 71d13eb5 approval. The candidate's own change moved: it now adds the install-only input to .github/actions/ripr-check/action.yml, has the generated workflow install through EffortlessMetrics/ripr/.github/actions/ripr-check@v<version> with version: <version> and install-only: true, moves PR_NUMBER/PR_HEAD_SHA to job env:, uses GITHUB_REPOSITORY, and sets RIPR_CACHE_DIR on the Run RIPR step.

Checked:

  • The action's install-only gates both Run ripr check and the action's own cache step; the generated workflow's own actions/cache step and RIPR_CACHE_DIR on Run RIPR replace them. The action has no later step that depends on the skipped check.
  • The action's Install ripr block still carries the checksum/archive contract; the generated step runs no shell of its own.
  • ripr doctor reads the pin from the action tag and the version input, and names a tag/input disagreement.
  • The template hash, line-count bound (150), release self-pin checks, network allowlist, and distribution-contract tests are updated consistently.
  • Hosted checks: 15 success, 1 neutral, 5 skipped, no failures. No unresolved review threads.

Limits: static review plus hosted check status; no local build or test run. mergeable is still unknown from GitHub at this head.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants