Skip to content

Bump Buzz relay to 8013105 - #3

Open
EwanDawson wants to merge 1 commit into
claude/bump-relay-65e8643from
claude/bump-relay-8013105
Open

EwanDawson wants to merge 1 commit into
claude/bump-relay-65e8643from
claude/bump-relay-8013105

Conversation

@EwanDawson

Copy link
Copy Markdown
Owner

Summary

This PR moves hetzner/versions.lock from 1a5c693 (#2) to 8013105 (block/buzz main, 2026-11-22). The relay image changes, and postgres:17-alpine gets a patch-level rebuild under the same tag.

Important

Deploy this only after #2 is deployed and running. Upstream calls a relay build that has block#8325 but not migrations 0089 to 0095 a required stop (docs/trigger-retirement-deployment.md). 1a5c693 (#2) is such a stop build. We currently run 9a6cb3f, which is older than block#8325. Going straight from there to this PR would drop the database triggers while a relay that still depends on them is running.

So the order is:

  1. Merge Add tailnet-only Hetzner deployment tooling #1.
  2. Merge Bump Buzz relay to 1a5c693 #2. I deploy it and confirm it is healthy.
  3. Merge this PR (retargeted to main). I deploy it.

Rollback from this build goes only as far as 1a5c693. That works because we run with BUZZ_AUTO_MIGRATE=false, which is what upstream requires for rollback.

One manual step after deploying

Upstream asks every operator to run the one-off, idempotent cleanup SQL from block#8211 once all relays run the new build. It purges NIP-RS and mesh-status heads that can be left soft-deleted during the stop window. I'll ask before running it, since it writes to the production database.

Upstream changes (156 commits; relay-side highlights)

Upstream has no crates/buzz-relay/CHANGELOG.md, so this list comes from the commit log.

Migrations (0089 to 0105, 17 files)

  • Destructive contract steps (drop triggers, functions and FKs): 0089, 0090, 0091, 0094, 0095, 0096, 0101 to 0104. Each sets a 5 s lock_timeout and is safe to retry if it times out.
  • Additive: 0092 (media evidence indexes), 0093 and 0105 (push-gateway mirror columns).
  • Expand then undo in one batch: 0097 to 0100.

Config and compose

No new env vars are needed. The only manual step is the block#8211 cleanup above.

Follow-up

bin/bump should refuse to skip an upstream required stop. I'll propose that separately.

Testing

bin/bump resolved every digest. 1a5c693 is confirmed as a valid stop build: it contains block#8325 (68785206) and has no migration 0089. This PR changes no code.



Generated by Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TTeLJUozS9qc4yDruwyYWw
Signed-off-by: Claude <noreply@anthropic.com>
@EwanDawson EwanDawson self-assigned this Nov 23, 2026
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.

2 participants