Repository navigation
chore(release): prepare v0.22.1 - #304
Merged
Merged
Conversation
Bump the version to 0.22.1 and roll the CHANGELOG. Add the v0.22.0 to 0.22.1 upgrade guide section, point the README status and intro at it, and move the CLI version example.
lance0
marked this pull request as ready for review
October 22, 2026 02:02
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.
Prepares the v0.22.1 patch release from
mainat 407c234. It ships the change from #303: the controller exports the pre-registered metric series at zero from startup, andPrefixdBlackholeReplacedclears an hour after the last replacement instead of latching.This PR changes:
Cargo.tomlandCargo.lock: the version is 0.22.1, and only theprefixdlock entry changed.CHANGELOG.md: the[0.22.1] - 2026-10-22section, with a summary, upgrade notes linking the new guide section, and known limitations. The PR 303 entry is split: the alert change stays under Changed, and the startup zero series moved to Fixed.docs/how-to/upgrading.md: a newv0.22.0 → 0.22.1section and an updated intro. Existing anchors are unchanged.README.md: the Status line names v0.22.1.docs/reference/cli.md: the version example is 0.22.1.Preconditions
just gateThe run exited 101, at its last stage. These stages passed:
cargo audit, ignoring only RUSTSEC-2023-0071 as CI doesbun audit: no vulnerabilitiescargo deny: advisories, bans, licenses and sources okIn the rustbgpd 0.79.0 fixtures,
live_rustbgpd_leased_blackhole_renewal_restart_and_expiryfailed withClient(StopContainer(RequestTimeoutError))at itsstop_with_timeout(Some(0))call. The Docker daemon did not answer that stop request in time. That fixture run took 249 s, against about 40 s normally, and no test assertion failed. This PR changes no code. I kept the log and reran the speaker stage once:The rerun passed:
integration_rustbgpd12/12 in 39.8 s, andintegration_rustbgpd_peer4/4. The peer suite had not run in the gate, because cargo stopped after the failing binary.Fixture pins
ghcr.io/lance0/rustbgpd:0.79.0@sha256:b2054d0ce98f3c8299b8de5be1920cd88a1ab2c85e02766927e487be0c60f8ff(source60cb5c9910eb1380661dd4c80d55563b2d80099a). This is the only pin in ci.yml's rustbgpd matrix.jauderho/gobgp@sha256:42b8d0017237e388c55936efe1f23632365b24a31751f6e8815f93e12c4d18c2(gobgpd 4.10.0): 8/8 integration tests and 9/9 e2e tests passed.Upgrade proof: 0.22.0 → 0.22.1
The proof stack was the v0.22.0 tag's Compose file with the
rustbgpdprofile, run as a dedicated project with every container pinned to cpuset 24-31,56-63. The configuration was enforced mode with bearer auth. It ran:ghcr.io/lance0/prefixd:0.22.0@sha256:1a395ada8535f0fae30bb6aef1f93412c4a70879df817819a28e57ac72211875postgres:16-alpine)Seed on 0.22.0:
The result was 4 active mitigations (2 manual, 2 detector), 1 withdrawn, and 4 FlowSpec routes in rustbgpd. Health was
healthyat version 0.22.0.Baseline: I captured the mitigation rows (ID, status, action, victim, origin mode, match, action parameters, expiry), the pending withdrawals (0), the migration list (1–18) and the normalized local FlowSpec RIB. I also took a
pg_dumpand a/metricssnapshot.Upgrade: I followed the guide's Compose step 4, replacing only the controller with the 0.22.1 build. That image is the repository Dockerfile's runtime stage around the gate's locked release binaries, which report
prefixd 0.22.1.Results:
versions: [1, ..., 18], andprefixdctl migrationslists 18, all applied at the original 0.22.0 start.healthy, version 0.22.1.prefixdctl statusshowed daemon 0.79.0 ready and peer observation connected./openapi.json:info.versionis 0.22.1.runs_total{status="success"}1 → 2) made no repairs:reconciliation_repairs_totalwas 0/0 andunknown_local_routes{kind="flowspec"}was 0. The repair/failure grep printed nothing, and the controller logged no WARN or ERROR lines./metricsshowed:/metricshad none ofprefixd_blackhole_replaced_total,prefixd_injection_lease_renewals_total,prefixd_injection_lease_stateorprefixd_reconciliation_repairs_total. It had onlyreconciliation_runs_total{status="success"}. The new metric families in 0.22.1 areblackhole_replaced_total,injection_lease_renewals_total,injection_lease_state,mitigations_active,reconciliation_repairs_totalandsignal_group_decay_refreshes_total.Teardown: I removed every container, volume and network of the proof project, and the candidate image.
Release-notes preview (
scripts/release-notes.py 0.22.1)Known limitations
These are as stated in the notes above. The 0.22.0 latching limitation is removed. The process-local reset and the pre-first-scrape gap of the new rule are listed explicitly; both are already documented in the Grafana guide. The guide's downgrade note says to restore the 0.22.0 alert file when rolling back, because 0.22.0 creates the POP series only at the first replacement.
The CHANGELOG date is 2026-10-22 UTC. Correct it if this merges on a later UTC day.