Upgrade to EdgeQuake v0.26.1
Upgrade to EdgeQuake v0.26.1
Section titled “Upgrade to EdgeQuake v0.26.1”From: v0.26.0 · To: v0.26.1 · CD: GHCR (
edgequake,edgequake-frontend,edgequake-postgres)
This is an operations patch for the edgequake migrate command. It makes the consent flag clearer, rejects unknown flags, and gives better failure hints. It adds no migrations, so the schema train stays at 149 from upgrade-to-0.26.0.md. Upgrade if you run leftover DROP OLD steps.
Highlights
Section titled “Highlights”| Area | What changed |
|---|---|
| Consent | --confirm-drop is canonical. --drop-confirm is accepted as the same consent |
| Unknown flags | edgequake migrate --* with a flag that is not known exits non-zero |
| Abort hints | Wave D, W4, IW2, 142, checksum and lock failures are classified (not always pg_locks) |
| Preflight | Migrations 144 to 149 are tagged SAFE SCHEMA |
This cut does not weaken the DROP OLD SQL (125, 126, 131, 142). Uncovered KV or vector rows still abort. You still need migrate guard to be GREEN before --confirm-drop.
The flag handling works like this:
%%{init: {"theme":"base","themeVariables":{"primaryColor":"#E0E7FF","primaryBorderColor":"#6366F1","primaryTextColor":"#1E1B4B","secondaryColor":"#D1FAE5","secondaryBorderColor":"#10B981","secondaryTextColor":"#064E3B","tertiaryColor":"#FEF3C7","tertiaryBorderColor":"#F59E0B","tertiaryTextColor":"#6B7A90","lineColor":"#7A889C","clusterBkg":"rgba(99,102,241,0.07)","clusterBorder":"#A5B4FC","noteBkgColor":"#FEF9C3","noteTextColor":"#422006","textColor":"#6B7A90","titleColor":"#6B7A90","signalColor":"#7A889C","signalTextColor":"#6B7A90","loopTextColor":"#6B7A90","edgeLabelBackground":"#F1F5F9","actorLineColor":"#94A3B8"}}}%%
%% eq-theme:v1
flowchart TB
A["edgequake migrate with flags"] --> B{"Flag is --confirm-drop or --drop-confirm?"}
B -->|Yes| C["Drop consent accepted, but DROP OLD still needs a GREEN guard"]
B -->|No, unknown --flag| D["Exit non-zero and print usage"]
B -->|No flags| E["Apply expandable schema. Drop steps wait for consent"]
Sequence
Section titled “Sequence”- Take a backup. This is optional for this patch because there is no schema change.
- Deploy the v0.26.1 API (and the frontend if you pin it).
- If migrations 125, 126 or 131 are still pending, follow the leftover SPEC-091 flow in upgrade-to-0.26.0.md. Use this 0.26.1+ binary, not the 0.26.0 image.
- Verify the health version and that
migrate --helplists--drop-confirm.
Compose or quickstart pin:
EDGEQUAKE_VERSION=0.26.1 docker compose -f docker-compose.quickstart.yml up -dVerify
Section titled “Verify”curl -s http://localhost:8080/health | jq -r '.version' # expect 0.26.1curl -s http://localhost:8080/api-docs/openapi.json | jq -r '.info.version' # 0.26.1docker run --rm ghcr.io/raphaelmansuy/edgequake:0.26.1 migrate --help# Prints the usage text, which lists --confirm-drop and --drop-confirmOut of scope in this cut
Section titled “Out of scope in this cut”- Weakening the fail-closed DROP OLD guards (the Track B residue still needs engine jobs)
- A fresh Acc n=200 medical-mid run (the existing
publish/latestis attested) - crates.io publish of the EdgeQuake workspace crates (GHCR-only CD)
- Automatic
--confirm-drop
Detail: specs/137-issue-migration-25-to-26/09-ops-runbook.md.