fix(backend): migrate rand call sites to 0.10 - #3300
Merged
Merged
Conversation
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
This was referenced Sep 25, 2026
Xore
added a commit
that referenced
this pull request
Sep 26, 2026
…old 0.x minor bumps (#3336) * ci: always-reporting Quality/Containers gates for the main ruleset; hold 0.x minor bumps main had no branch protection, so dependabot's `gh pr merge --auto` merged on the spot: five PRs landed on 2026-09-25 with red Rust and container checks, and main's backend stayed broken until #3300. A ruleset needs contexts that report on every PR. Quality's jobs come in homeserver/GitHub-hosted pairs and Containers' rows carry a "(GitHub-hosted)" suffix on fallback days, so no individual job name is stable. Add: - quality-gate ("Quality gate"): success iff the router succeeded and every pair produced a homeserver success or a skip + fallback success, plus the existing Go and Scripts aggregates. always(), so a failed router reports red rather than pending. - containers-gate ("Containers gate"): router and every image row succeeded. dependabot-auto-merge: hold any update that moves a 0.x dependency's minor version (grouped PRs: any member). fetch-metadata labels 0.9 -> 0.10 semver-minor although semver and Cargo treat it as breaking; that is how rand (#3287) and sha2 (#3289) qualified. docs/CI-CD.md: document the ruleset and its required contexts, correct the Dependabot paragraph that claimed protection already existed. Refs #3311 * docs(ci): name the Scripts and Compose matrix by job id, not a path-like token Refs #3311
Merged
3 tasks
Xore
added a commit
that referenced
this pull request
Sep 26, 2026
…heads CI never ran on (#3355) Two failure modes, one of which the 2026-09-25 incident turns out to have been. A red push run on main is read by nobody; and a merge made by github-actions (dependabot auto-merge) starts no push run at all, because GITHUB_TOKEN events trigger no workflows -- the five broken dependabot merges that day produced no red run, only silence, until #3300's push. scripts/main-health-watch.py, run after every Quality/Containers run on main and hourly: - red: one main-red-alarm issue with the failing jobs, first red / last green commit and the commits between; a new comment only when the failing head changes; closed automatically when both workflows are green again. Cancelled runs are ignored. - untested: main's head older than an hour with no run of a watched workflow gets that workflow dispatched on main (workflow_dispatch is the event GITHUB_TOKEN may start); dispatched runs are judged like push runs. - --before ISO8601 replays any past moment read-only. Replaying 2026-09-25 10:00Z flags 87df7e1 (the sha2 bump) as untested; 06:40Z is inside the grace hour; now is green. 8 tests against a fake gh cover open, dedupe, append, close, cancelled runs, dispatch, the grace period and dispatched runs counting. Closes #3324
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Validation
Closes #3299