Upgrade to EdgeQuake v0.28.2
Upgrade to EdgeQuake v0.28.2
Section titled “Upgrade to EdgeQuake v0.28.2”From: v0.28.1 · To: v0.28.2 · CD: GHCR (
edgequake,edgequake-frontend,edgequake-postgres)
This patch changes how dense documents are persisted (SPEC-149 bounded multi-batch staging). The fix splits chunk-aligned batches below the record limit. It adds no migration, so the schema stays at 160. Pull the new API and frontend images, then reprocess any document that failed with the 10 000-record error.
Highlights
Section titled “Highlights”| Area | What changed |
|---|---|
| Schema | Unchanged (160) |
| Ingest | Chunk-aligned PreparedIngestionBatch packs stay under MAX_BATCH_RECORDS (10 000) |
| Deploy | GCP Caddy /api/* and Caddy recreate fixes from the 0.28.1 era remain |
Recovery path
Section titled “Recovery path”Documents that hit the limit show this error:
batch contains N records; maximum is 10000%%{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["Document failed with 'batch contains N records; maximum is 10000'"] --> B["Pull the 0.28.2 API image and restart"]
B --> C["Reprocess or re-upload the document"]
C --> D{"Document ready?"}
D -->|yes| E["Done"]
D -->|no| F["Keep the logs and report the document ID"]
%% eq-classes
classDef eqBad fill:#FEE2E2,stroke:#EF4444,color:#7F1D1D
class A eqBad
Notice that the fix ships in the image, because MAX_BATCH_RECORDS is a code constant that you cannot change with configuration.
Sequence
Section titled “Sequence”# Already on 0.28.x with schema 160docker compose pull # or set EDGEQUAKE_VERSION=0.28.2docker compose up -d# Then reprocess documents that failed with the batch limit error.Verify
Section titled “Verify”curl -sf localhost:8080/health | jq '{version, schema}'# expect version "0.28.2" and schema.latest_version 160- Do not raise
MAX_BATCH_RECORDSas a workaround. The product fix is multi-batch staging (SPEC-149 contracts). - Full
FinalizeIngestionpublication CAS is still a SPEC-149 follow-up. Each stagingcommit_batchstill advances the document revision and projection events, as in 0.28.1.