Add an operator script that retires a region's player lives
Foundation / checks (client) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 5s
Foundation / checks (checks) (push) Successful in 5s
Foundation / checks (network) (push) Successful in 4s
Foundation / checks (postgres) (push) Successful in 5s
Foundation / checks (tsan) (push) Successful in 5s
Foundation / checks (deploy) (push) Successful in 4m1s
Foundation / postgres-tools (push) Successful in 6s
Foundation / server-image (push) Successful in 5s
Foundation / image (push) Successful in 5s

DEV runs one region at a time and moves to a new one before test cells die. A life
left in the old region keeps its account's home there: the grant broker routes the
account to a region nobody serves (503 region_unavailable) and any other region
refuses its birth (existing life, one active life per world).

tools/ops/retire-region-lives.sql, run as the database owner, ends each published
life of the region at the region's latest commit (as end_cellular_lives does) and
cancels unpublished reservations. It refuses while a server holds the region's lease,
is a dry run unless confirm=yes, is idempotent, and leaves checkpoints and history
unchanged. Tested on a disposable migrated cluster.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
dingo
2026-10-16 10:47:09 -04:00
co-authored by Claude Opus 5.5
parent 77d96eef46
commit 926537ef3a
2 changed files with 88 additions and 1 deletions
@@ -12,7 +12,7 @@ spec:
env:
- {name: REGION_SESSION, value: "dev"}
- {name: REGION_SESSION_LISTEN, value: "0.0.0.0:7400"}
- {name: REGION_SESSION_WINDOW, value: "dev-20261016T141956-52530:1792171196"}
- {name: REGION_SESSION_WINDOW, value: "dev-20261016T144709-39441:1792172829"}
- {name: REGION_M10_MAX_GRANT_LIFETIME, value: "14400"}
ports:
# QUIC (ADR-0090): UDP only; nothing listens on TCP 7400.