Upgrade to EdgeQuake v0.28.0
Upgrade to EdgeQuake v0.28.0
Section titled “Upgrade to EdgeQuake v0.28.0”From: v0.27.0 · To: v0.28.0 · CD: GHCR (
edgequake,edgequake-frontend,edgequake-postgres)
This minor release adds directional PDF and Markdown page sync (SPEC-143) and partial page reprocess (SPEC-151). It also hardens the interactive read path and fixes community and full-text search storage. The schema moves from 159 to 160. As in 0.27.0, run edgequake migrate before /ready returns 200.
Highlights
Section titled “Highlights”| Area | What changed |
|---|---|
| Schema | Migration 160 (document_page_states for partial page reprocess) |
| SPEC-143 | Side-by-side sync modes: none, pdf-to-md (default), md-to-pdf |
| SPEC-151 | GET /api/v1/documents/{id}/pages/health and POST /api/v1/documents/{id}/pages/reprocess (dry_run previews) |
| #400 | Catalog lists return 503 read_path_busy under load; the WebUI retries once |
| #404 | Community refresh uses keyset scans and a statement timeout; size gates skip large graphs |
| #405 | Default typed FTS and ANN never read the retired eq_*_vectors tables |
Upgrade path
Section titled “Upgrade path”%%{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["Running 0.27.0 (schema 159)"] --> B["Pull 0.28.0 images"]
B --> C["Run migrate one-shot (applies 160)"]
C --> D["Start API and frontend with EDGEQUAKE_SCHEMA_GATE=wait"]
D --> E{"/ready is 200 and schema.latest_version is 160?"}
E -->|yes| F["Upgrade complete"]
E -->|no| G["Check the migrate logs, then run migrate again"]
Notice that migrate must finish before the API starts, because the API never applies migrations itself.
Sequence
Section titled “Sequence”- Pull the GHCR images for 0.28.0.
- Run the migrate one-shot before you restart the API (Compose migrate service or Helm pre-hook).
- Deploy the API and frontend with
EDGEQUAKE_SCHEMA_GATE=wait. - Smoke-test
/live(200 during wait), then/ready(200 when the ledger is current). - Confirm
health.versionis0.28.0andschema.latest_versionis160.
# One-shot migrate (the compose overlay already wires this for GCP)docker compose run --rm migrate
# Or on the VM install path (script source: deploy/gcp/scripts/install-release.sh)sudo /opt/edgequake/scripts/install-release.sh 0.28.0Do not rely on API boot to apply pending migrations. The escape hatch EDGEQUAKE_SERVE_RECONCILE=1 is for one release only.
Distroless API note
Section titled “Distroless API note”Do not docker exec … curl inside the API container. Probe from outside:
curl -sS https://demo.edgequake.com/livecurl -sS https://demo.edgequake.com/readycurl -sS http://localhost:8080/health | jq '{version, schema}'Pin the version
Section titled “Pin the version”# Compose / quickstartEDGEQUAKE_VERSION=0.28.0 docker compose -f docker-compose.quickstart.yml up -d
# KubernetesEDGEQUAKE_VERSION=0.28.0 make k8s-install# or set global.edgequakeVersion: "0.28.0" in the Helm valuesVerify
Section titled “Verify”curl -s http://localhost:8080/health | jq -r '.version' # expect 0.28.0curl -s http://localhost:8080/health | jq '.schema.latest_version' # expect 160curl -s http://localhost:8080/api-docs/openapi.json | jq -r '.info.version' # expect 0.28.0Out of scope in this cut
Section titled “Out of scope in this cut”- Fresh Acc n=200 medical-mid against schema 160 (the existing
publish/latestfrom 2026-08-15 is reused; same pattern as 0.27.0) - The Helm chart default pin was still
0.26.4at this release; setEDGEQUAKE_VERSIONorglobal.edgequakeVersionexplicitly
Detail: specs/151-partial-preprocess/ · specs/143-view-pdf-markdown-sync-view/ · Prior pin: upgrade-to-0.27.0.md.