Repository navigation
ci(rust): call the proven rust-ci reusable for every crate - #712
Conversation
…ed Pinned source closure) Dependabot #699 moved the scanner-credential pin to f2c06048 without updating the source manifest or receipts. Blob 15c597e is identical at both commits, so only the commit binding changes; nested uses are unchanged.
Return the any() result directly instead of an if guard that returns a bool literal followed by a literal false. Behaviour is unchanged; newer stable clippy rejects the old form under -D warnings. (cherry picked from commit 6ddc6dc)
url <= 2.5.8 recurses in Url::origin() on blob: URLs. Lock url to 2.5.9 with 'cargo update -p url --precise 2.5.9'; form_urlencoded moves from 1.2.2 to 1.2.3 with it. Only bots/gsbot/Cargo.lock changes. gsbot builds and its tests pass with --locked. (cherry picked from commit 6bfdde7)
…le workflow repins <!-- coderabbit-ai-generated:v1 -->
cargo fmt --check failed the Rust build/test/clippy job on #707 (two assert_eq! calls over the line width). Formatting only; no logic change.
Adds one caller job per crate (robot-repo-automaton, shared-context, dashboard, rhodibot, panicbot, ponsbot, idris-dependents) on hyperpolymath/proven-cicd-and-workflows rust-ci.yml, pinned at 50a443f01b1b85e4957b893a6f1a0ed2e8a52459 and de-onboarded from actions.lock. CI/gate now also needs these callers. The existing `build · test · clippy (<crate>)` matrix stays until branch rules require the new `rust-ci (<crate>) / ...` contexts. To pass the stricter gate: - rustdoc: fence the URL tables in registry_guard.rs (two crates), link `overlay` by path in rhodibot, code-span `<repo>` and `Option<usize>` in panicbot. - cargo-deny advisories: lockfile-only updates (no manifest changes) of url 2.5.9, rustls/rustls-webpki/webpki-roots/webpki-root-certs, libz-sys, rustix 1.1.6, crossbeam-epoch, h2, ctutils and tokio 1.53.3. - Pinned source closure: record the reusable's blob, sha256, callers and nested uses in pinned-reusable-sources.json, its emitted closure receipt in lock-closure-receipts.tsv, and dependency records for setup-zig, rust-cache and install-action.
|
Review these changes at https://app.gitnotebooks.com/hyperpolymath/gitbot-fleet/pull/712 |
…filter Move the seven job-level rust-ci callers from rust.yml into rust-proven.yml, a file of reusable calls only (actions.lock entry []), like secret-scanner.yml and scorecard.yml. Scorecard's native action-lock reconciliation rejects a workflow that mixes step pins with a job-level remote reusable. The local CI/gate job in rust.yml again needs only the matrix, dispatch contracts and GSBot; branch rules require the rust-ci verdict contexts directly. The secret-scanner historical projection removed every proven-cicd-and-workflows receipt row, so the new rust-ci@50a443f rows vanished from the disposable tree and the source audit reported a receipt mismatch. Remove only the 1fd5e63 scanner source rows it replaces, and refresh the fixture's SHA256SUMS line.
|
What is ruled out: callee permissions ( Most likely cause: the callee ( Blocked on: the run page's startup error message, or this repo's Settings → Actions → General allowed patterns. Neither is readable from my session. If the allowlist is the cause, adding Generated by Claude Code |
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: df330e43ce
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Add workflow_dispatch to rust-proven.yml. A startup_failure cannot be re-run, so a repository settings fix (such as the Actions allowlist the callee's setup-zig and install-action steps need) otherwise has no way to be witnessed without a new commit. Caller line numbers in the pinned-source manifest move down by three.
|
This security review couldn’t start because the paying account has exhausted its Codex allowance and has insufficient available credits. The payer can check their balance and add credits in the Codex usage dashboard, then try again. If you do not manage the paying account, contact this repository's admins. |
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
## Summary - Adds the stamped `proven-lock-gate` workflow (suite `proven-cicd-and-workflows@50a443f`, gate version 0.3.2) and records its checkout pin in `actions.lock`. - The secret scanner already calls the suite's reusable workflow; no change needed there. - `rust.yml` is left to #712 (owned by another thread); `ci-gate` is not added because the suite has no profile for this repository yet (it would fail closed). ## Verification Ran the suite's `scripts/proven-lock-gate.sh` locally: stamp matches, verdict `CONSISTENT`. ## Choices recorded - Pin is a full 40-hex suite SHA, with the checkout pinned by SHA and keyed in the lock by that SHA. - Sweep 1 test swap (unit, smoke, build, P2P) is a follow-up on this branch once F1 confirms the artefacts to consume. ## Sweep 1 (added in c6ceeb9) - `tests/sweep1/fleet-coordinator.sweep1.test.sh`: 16 assertions (UT, SMK, BLD, P2P) using the kit's helpers from `proven-tests-and-benches` at `4d849e9` (kit PR #121, draft). Nothing is vendored; `PTB_LIB` points at `kit/lib`. Exits 2 if the kit or assertions are missing. - `.proven/coverage.tsv` claims only ids a real test covers (UT, SMK, BLD, P2P). The other 35 ids are violations from `kit/check-coverage.sh` until sweeps 2-4. No N/A was written to hide them. - Not wired into CI here: the umbrella workflow from F2 should call these. No workflow logic added to this repo. - Choice: the kit pin is a draft-PR SHA, to be re-pinned to a `kit-v0.x` tag once cut. --- _Generated by [Claude Code](https://claude.ai/code)_ <!-- This is an auto-generated comment: release notes by coderabbit.ai --> <!-- coderabbit-ai-generated:v1 --> ## Summary by CodeRabbit - **Tests** - Pull requests and updates to the main branch now receive automated checks for workflow integrity and fleet coordinator commands, including help, status, and syntax checks. - Checks report when required test resources are unavailable, distinguishing that from a completed validation. - Workflow validation now identifies issues such as invalid pins, repository mismatches, and unavailable commits. - **Documentation** - Clarified where to find the canonical estate master schedule, who maintains it, and its license. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Claude <noreply@anthropic.com>
Resolve scripts/lib/lock-closure-receipts.tsv by keeping both the rust-ci receipts and the hypatia credential-read-check receipt.
|
This security review couldn’t start because the paying account has exhausted its Codex allowance and has insufficient available credits. The payer can check their balance and add credits in the Codex usage dashboard, then try again. If you do not manage the paying account, contact this repository's admins. |
|



Summary
Stacks on #707 (its signed fmt commit
752c785is this branch's parent; merge #707 first).Calls the estate's proven
rust-ci.ymlreusable (hyperpolymath/proven-cicd-and-workflows@50a443f01b1b85e4957b893a6f1a0ed2e8a52459) once per crate, from a new reusables-only workflow.github/workflows/rust-proven.yml(lock entry[], likesecret-scanner.yml; Scorecard's action-lock reconciliation rejects a file mixing step pins with a job-level remote reusable):robot-repo-automaton, shared-context, dashboard (
doctests: false, binary-only), bots/rhodibot, bots/panicbot, bots/ponsbot, idris-dependents.CI/gatejob inrust.ymlis kept unchanged (matrix, dispatch contracts, GSBot); the rust-ci verdicts are required directly instead.build · test · clippy (…)matrix stays until required checks are swapped; a follow-up removes it.cargo doc -D warningspasses (URL tables fenced astext, broken intra-doc links / bare generics made code spans).Cargo.lockupdates so cargo-deny (advisories, bans, sources) is clean in all 7 crates.scripts/lib/pinned-reusable-sources.json, and 5 reviewed rows inscripts/lib/lock-closure-receipts.tsv.1fd5e63scanner receipts it replaces (it removed every proven-cicd row, including the new rust-ci ones); itsSHA256SUMSline is refreshed.e2e.ymlis unchanged: no proven reusable exists yet for E2E tests or pinned-source closure (to be built in the proven repo).Local verification
-D warnings(one test fails locally only because the container runs as root).cargo deny check advisories bans sources: clean on all 7.audit-pinned-reusable-sources.sh --fetch-sources: findings=0 (live and historical-projection trees);audit-lock-closure.sh: fatal=0, review=0;pinned-source-entrypoints-test.sh9/9; migration preflight exit 0.gh actions-lockregeneration step.Owner steps (required checks on
main)rust-ci (<crate>) / Rust CI verdictfor each of the 7 crates.build · test · clippy (robot-repo-automaton|shared-context|dashboard)and approve the follow-up PR that deletes the matrix.Generated by Claude Code
Summary by CodeRabbit