Skip to content

ci(routed-rust): harden self-hosted routing - #5

Merged
EffortlessSteven merged 1 commit into
mainfrom
ci/routed-rust-small-hardening
May 19, 2026
Merged

EffortlessSteven merged 1 commit into
mainfrom
ci/routed-rust-small-hardening

Conversation

@EffortlessSteven

Copy link
Copy Markdown
Member

Summary

  • remove the mutable em-ci-rust:1.95 container tag from self-hosted routed Rust jobs and rely on the explicit em-ci-rust-1.95 runner readiness label
  • keep runner enumeration fully paginated, tighten the image-unavailable fallback, and deduplicate advisory report indexing
  • make Ripr Rust Small Result compute pass/fail status before writing the summary so failures are visible in the normalized check
  • update CI/swarm docs to describe the runner-image/toolchain readiness boundary

Context

Follow-up to #4. That PR merged before these Droid-tagged hardening fixes landed on the branch, so this PR carries only the review repairs on top of current swarm main.

Non-goals

  • no branch protection change
  • no release, publish, signing, or marketplace secrets moved to swarm
  • no analyzer, editor, badge, or product behavior changes
  • no PR/CI producer behavior beyond the routed Rust workflow hardening in scope

Validation

  • cargo xtask check-workflows
  • cargo xtask check-ci-lane-whitelist
  • cargo xtask check-doc-index
  • cargo xtask markdown-links
  • cargo xtask check-static-language
  • cargo xtask check-pr
  • git diff --check origin/main...HEAD

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@coderabbitai

coderabbitai Bot commented May 19, 2026

Copy link
Copy Markdown

Warning

Rate limit exceeded

@EffortlessSteven has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 55 minutes and 15 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: dd03a5c2-7dd7-4680-ba20-b46cff8f97f7

📥 Commits

Reviewing files that changed from the base of the PR and between b649125 and d02d842.

📒 Files selected for processing (3)
  • .github/workflows/routed-rust.yml
  • docs/CI.md
  • docs/swarm-development.md
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch ci/routed-rust-small-hardening

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@factory-droid

factory-droid Bot commented May 19, 2026 •

Copy link
Copy Markdown
Contributor

Droid finished @EffortlessSteven's task —— View job


Droid Review Summary

Review: Phase 2 validation — 0 candidates processed.

Result: approved

No candidate comments were generated for this PR. Review validated zero candidates against the full diff — changes to routed-rust.yml (container removal, runner selection hardening, deduplicated reports indexing, status-before-summary pattern) and docs terminology updates are consistent with the stated hardening goals.

View Phase 2 validation report

@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!

@codecov

codecov Bot commented May 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@EffortlessSteven
EffortlessSteven merged commit 5dddb57 into main May 19, 2026
18 checks passed
@EffortlessSteven
EffortlessSteven deleted the ci/routed-rust-small-hardening branch May 19, 2026 21:36
EffortlessSteven added a commit that referenced this pull request Jun 14, 2026
…ner resolved (#1245) (#1251)

* fix(ts-actionability): drop verify_command from missing list when runner is resolved (cockpit delta #5, #1245)

The check --diff --json output self-contradicted: it emitted
typescript_verify_command with a resolved runner command WHILE also listing
verify_command in missing_actionability_fields. Fix: after pushing
typescript_verify_command into finding.evidence in mod.rs (where inferred_cmd
is known), scan for the missing_actionability_fields line and remove
verify_command from it. Fail-closed: the patch runs only when
inferred_cmd.is_some(); the unresolved branch leaves the missing list
intact. Structured repair-packet verify_command and cockpit copy were already
correct. Goldens re-blessed for ts_repair_packet_complete,
ts_runner_detect_ava_devdep, ts_runner_detect_ava_script.

* chore(goldens): record bless changelogs for delta-5 / #1245 fixtures
EffortlessSteven added a commit that referenced this pull request Jul 19, 2026
…cache (#1823)

Add concise first-pr onboarding disclosure for local side effects, cache
location, git reads, network behavior, and qualitative runtime cost. The output
is ASCII-stable and the first-pr CLI smoke test asserts every disclosure line.

The disclosure renders after parse_options and reflects the resolved
invocation: `--check` reports no writes (validate-only); write mode reports the
resolved `--out-dir`. This addresses the P2 review finding that the banner
previously always claimed the default write/cache paths even in check mode or
with a custom out-dir.

Convergence winner #5 per #1862. Verified locally: first-pr CLI smoke test
(write + check disclosure paths) passes, clippy -D warnings and rustfmt clean;
branch merged current with main. Review P2 resolved.

Closes #1572
EffortlessSteven added a commit that referenced this pull request Oct 12, 2026
…h points; waive 0233; coverage 100/130 (#7544)

* eval(verdict-corpus): authored cases for RIPR-SPEC-0229 match-arm selection examples

Nine behavior_change cases on nine authored crates cover examples 1 to 8
of RIPR-SPEC-0229 (example 8 has one case per test). Every edit was
replayed with `verdict-corpus relabel` (0 drift). Example 9 is waived:
both arms return 2, so the pattern edit and every mutant of it are
equivalent. The spec-coverage floor rises from 88 to 96.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01M7meAy5d967X5KFZKs7zdP

* test(verdict-corpus): cover RIPR-SPEC-0117 #5-6, 0233 #2, 0224 #1, 0118 #3

Add five runtime-truth cases with spec_examples:
- spec0117-proximity-macro-only (0117#5): limited, weakly_exposed with
  rust_macro_reach_unresolved.
- spec0117-proximity-macro-plus-direct (0117#6): gap, a measured false
  actionable; the macro-routed test kills every mutant.
- spec0233-consistent-boundary-literal (0233#2): credited, exposed.
- semver-op-ge-reads-greater (0224#1): the spec's own edit on the semver
  1.0.23 pin; limited, static_unknown.
- semver-greater-patch-guard-ge (0118#3): the launch patch, applied to the
  corpus pin where matches_greater is byte-identical; limited,
  no_static_path with rust_integration_public_api_path_unresolved.

Waive RIPR-SPEC-0233 examples 1, 3 and 4: their wrong-literal test fails
on the unedited owner, so relabel cannot establish runtime truth. Raise
the coverage floor to 93.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01M7meAy5d967X5KFZKs7zdP

* eval(verdict-corpus): integrate spec-coverage batch 2 and raise the floor to 101

Combines the SPEC-0229 match-arm cases with the 0117, 0233 and semver
launch-point cases, raises the spec-example floor to the combined 101/131,
names 0229 and 0233 in the corpus SPEC.md, refreshes public proof, and adds
the changelog fragment.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01M7meAy5d967X5KFZKs7zdP

* eval(verdict-corpus): waive RIPR-SPEC-0233 example 2 instead of claiming a diff case for it

Example 2 is the repo-scope seam-credit rule (an added test whose literal
agrees with the fold keeps the oracle strong and closes the gap), which
the spec's Test Mapping says diff-scoped corpora do not pin. The operand-
swap case read exposed independently of the fold, so it is removed with
its subject and the example is waived; coverage is 100/130, floor 100.

Also corrects the 0117 plus-direct reasoning (inner_is_positive fails on
the x / 3 mutant), notes why the two 0229 pre-edit-literal cases could
move if arm literals are ever folded, describes split `<k>a`/`<k>b`
crates in SPEC.md, and restates the changelog numbers.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01M7meAy5d967X5KFZKs7zdP

* eval(verdict-corpus): leave the public-proof snapshot to its refresh PR; cite the PR in the fragment

The corpus SPEC.md says a case PR does not refresh docs/PUBLIC_PROOF.md or
metrics/public-proof/verdict-corpus.json (#6660), so both return to the
PR's base. The changelog fragment now ends with its PR reference.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01M7meAy5d967X5KFZKs7zdP

* fix(verdict-corpus): port #7547's Python row re-bless so check-all passes on this base

#6750 moved 18 Python corpus rows after #6597 landed; main fails
verdict-corpus check-all until #7547 merges. These are the same 18 row
files from #7547's head and become no-ops once main carries them.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01M7meAy5d967X5KFZKs7zdP

---------

Co-authored-by: Claude <noreply@anthropic.com>
EffortlessSteven pushed a commit that referenced this pull request Oct 13, 2026
…ples

Adds runtime-labeled TypeScript cases for every acceptance example the
ledger left uncovered: RIPR-SPEC-0246 #3-5/#7/#9/#10, 0247 #3/#5, 0248
#7-10, 0249 #3/#5-9, 0250 #4-6, 0251 #2-7, 0254 #2-5 and 0256 #2-6.
Coverage 67/103 -> 103/103, floor 103 (ledger and the pinned xtask
assertion). Truth comes from running each subject's own test command on
the unedited package, on the edit, and on each listed mutant in a scratch
copy; new tests sit in new src/test file pairs, so re-bless added 37 rows
and moved none.

ripr: 25 ideal, 2 abstained, 8 false actionable, 2 false exposed. Every
false verdict is the grade the cited example states: 0248 #10 (substring
toThrow on an error seam) and 0246 #3 (field dropped under toEqual of an
input that already holds it) are spec-accepted false exposed; the false
actionable rows are the refused shapes whose tests still discriminate.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UkJX24i4awmd7UoVV5CXkP
EffortlessSteven added a commit that referenced this pull request Oct 14, 2026
…age (#7731)

* eval(verdict-corpus): 37 TypeScript cases for the remaining spec examples

Adds runtime-labeled TypeScript cases for every acceptance example the
ledger left uncovered: RIPR-SPEC-0246 #3-5/#7/#9/#10, 0247 #3/#5, 0248
#7-10, 0249 #3/#5-9, 0250 #4-6, 0251 #2-7, 0254 #2-5 and 0256 #2-6.
Coverage 67/103 -> 103/103, floor 103 (ledger and the pinned xtask
assertion). Truth comes from running each subject's own test command on
the unedited package, on the edit, and on each listed mutant in a scratch
copy; new tests sit in new src/test file pairs, so re-bless added 37 rows
and moved none.

ripr: 25 ideal, 2 abstained, 8 false actionable, 2 false exposed. Every
false verdict is the grade the cited example states: 0248 #10 (substring
toThrow on an error seam) and 0246 #3 (field dropped under toEqual of an
input that already holds it) are spec-accepted false exposed; the false
actionable rows are the refused shapes whose tests still discriminate.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UkJX24i4awmd7UoVV5CXkP

* changelog: name the TS batch-3 fragment for #7731

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UkJX24i4awmd7UoVV5CXkP

* fix(verdict-corpus): name no test for the 0246 #9 process-exit kill; clarify cart vitest history

Devin on #7731: the async-forEach case named `tickPrice` as failing although
jest reports no failed test; the command fails through an unhandled
rejection. failing_test now says so, and #7734 tracks representing
process-level kills in the schema. SPEC.md separates the cart subject's
older vitest 3.2.7 labels from the 4.1.11 runs of the new lookup-table cases.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UkJX24i4awmd7UoVV5CXkP

---------

Co-authored-by: Claude <noreply@anthropic.com>
EffortlessSteven added a commit that referenced this pull request Oct 26, 2026
… 0158#19/#20) (#10376)

* corpus(rust): cover RIPR-SPEC-0118#4/#5 and RIPR-SPEC-0158#19/#20, the last uncovered Rust spec examples

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

* Label the unit helper chain subject as RIPR-SPEC-0118 example 5

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

---------

Co-authored-by: Claude <noreply@anthropic.com>
EffortlessSteven added a commit that referenced this pull request Oct 26, 2026
…em truthfully (#10565)

* corpus(typescript): retag SPEC-0247 #5/#7/#9 mis-tags and add truthful cases

jest-spec0247-ex05-spyon-send is example 12 (module-object spy), not 5.
nodetest-legacy-equal-literal-one is example 11 (typed number owner), not 7.
jest-spec0234-ex03 is a committed snapshot (0258#1), not 0247#9.
Add not_discriminated cases for 0247#5 (ship(notifier, cb)), #7 (legacy
assert.equal on a loosely typed owner) and #9 (empty inline snapshot).

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

* corpus(typescript): ex09 truth runs jest with --ci=false

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

---------

Co-authored-by: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant