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
Commit ceebd02
Browse filesBrowse the repository at this point in the historyBrowse files
authored
fix(ci): turn main green: hypatia pin closure + clippy needless_bool + url 2.5.9 (carries #705 and #706 fixes) (#707)
## Why
`main` fails three required checks and each fix sat in a different PR,
so none could merge. This PR carries all three fixes (owner chose "Fold
into #707").
| Fix | Commit | Origin |
|---|---|---|
| Pinned source closure: re-attest hypatia `credential-read-check.yml`
at f2c06048 | 6e64d5a | this PR |
| robot-repo-automaton clippy `needless_bool` in `confidence.rs` |
76a2155 | cherry-pick -x from #705 (6ddc6dc) |
| GSBot audit: `url` 2.5.9 (RUSTSEC-2026-0592), `bots/gsbot/Cargo.lock`
only | 7388520 | cherry-pick -x from #706 (6bfdde7) |
Original authorship kept on the cherry-picks. The departures commit from
#706 is **not** included; #706 keeps it.
## Closure fix (details)
#699 bumped `hypatia-scan.yml` job `scanner-credential` to
`hyperpolymath/hypatia/.github/workflows/credential-read-check.yml@f2c06048…`
without updating `scripts/lib/pinned-reusable-sources.json`. **Pin
only:** the file's blob is `15c597ea720a5affb861dab058084f7245ee4cbd` at
both 29a9e4a8 and f2c06048, so the nested `uses:` closure is unchanged.
No generator exists; same approach as #698 (manifest binding + receipts
row).
## Local evidence
- `audit-pinned-reusable-sources.sh --fetch-sources`: findings=0
verified-roots=6 (was 1 finding)
- `audit-lock-closure.sh`: fatal=0; pinned-reusable-sources-test 55/0;
lock-closure-test 47/0
- `cargo clippy --locked -- -D warnings` in robot-repo-automaton: clean
- pinned-source-entrypoints-test: 7 pass, 2 fail locally
(historical-source cache that CI fetches, as in #698)
## After merge
Owner: close#705 (superseded); update #706's branch from main so it
shrinks to the departures ledger. #704 untouched. #706 and #705 are
unchanged by this PR.
---
_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
* **Refactor**
* Streamlined protected-file checks without changing which files are
protected.
* **Chores**
* Updated a pinned reusable source reference; its path and other
recorded metadata remain unchanged.
* **Tests**
* Added coverage for confidence classification of protected paths and
for detecting stale references after a source is repinned.
* No user-facing behavior changes are included in this update.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: CLAUDE <355856132+HoTT-stuff@users.noreply.github.com>
if jq -e 'type=="object" and (.findings|type=="array") and (.not_run|type=="array") and (.verified_roots|type=="array") and (.verified_receipt_sources|type=="array")'"$CASE/result.json">/dev/null 2>&1;then
85
85
case"$expected"in
86
86
clean) [[ "$rc"== 0 ]] && jq -e '(.findings|length)==0 and (.not_run|length)==0 and (.verified_roots|length)==1 and (.verified_receipt_sources|length)>0'"$CASE/result.json">/dev/null && valid=1 ;;
87
-
fatal) [[ "$rc"== 1 ||"$rc"== 3 ]] && jq -e 'any(.findings[]; .severity=="FATAL" and (.rule|length)>0 and (.detail|length)>0) and (.verified_roots|length)==0 and (.verified_receipt_sources|length)==0'"$CASE/result.json">/dev/null && valid=1 ;;
87
+
fatal) [[ "$rc"== 1 ||"$rc"== 3 ]] && jq -e --arg rule "$expected_rule"'any(.findings[]; .severity=="FATAL" and (.rule|length)>0 and ($rule=="" or .rule==$rule) and (.detail|length)>0) and (.verified_roots|length)==0 and (.verified_receipt_sources|length)==0'"$CASE/result.json">/dev/null && valid=1 ;;
88
88
notrun) [[ "$rc"== 2 ]] && jq -e '(.findings|length)==0 and any(.not_run[]; (.rule|length)>0 and (.detail|length)>0) and (.verified_roots|length)==0 and (.verified_receipt_sources|length)==0'"$CASE/result.json">/dev/null && valid=1 ;;
0 commit comments