Upgrade to EdgeQuake v0.26.5
Upgrade to EdgeQuake v0.26.5
Section titled “Upgrade to EdgeQuake v0.26.5”From: v0.26.4 · To: v0.26.5 · CD: GHCR (
edgequake,edgequake-frontend,edgequake-postgres)
This is an observability patch. Langfuse generation spans now record the full LLM prompt and completion, with no length cut by default. Secrets stay redacted, and ingested document content stays in preview. It adds no migrations, so the schema train stays at 149 from upgrade-to-0.26.0.md. Restart the API after the deploy so new traces pick up the full content.
Highlights
Section titled “Highlights”| Area | What changed |
|---|---|
| Langfuse I/O | Generation Input and Output hold the full LLM payload (Complete class) |
| Default ceiling | EDGEQUAKE_LANGFUSE_IO_MAX_BYTES=0 (unlimited). A positive value sets a clamp |
| Stream | The generation span stays open until the tokens end. I/O is recorded once it is assembled |
| Helm | api.langfuse.ioMaxBytes is written to the ConfigMap |
Only the API restarts for this cut. The frontend image is unchanged.
%%{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 LR
A["LLM stream"] --> B["Generation span held until tokens end"]
B --> C["Input and Output assembled in full"]
C --> D{"EDGEQUAKE_LANGFUSE_IO_MAX_BYTES set above 0?"}
D -->|No, default 0| E["Send full payload to Langfuse"]
D -->|Yes| F["Clamp each field to the byte limit"]
%% eq-classes
classDef eqLlm fill:#FEF3C7,stroke:#F59E0B,color:#451A03
class A eqLlm
The default sends the full payload. Set a positive EDGEQUAKE_LANGFUSE_IO_MAX_BYTES only when you need a hard ceiling on trace size.
Sequence
Section titled “Sequence”- Pull the GHCR images for 0.26.5. The
edgequakeAPI image is the one that changed. - Deploy the v0.26.5 API and frontend. No migrate step is needed, because the schema is still 149.
- Verify that
/healthand OpenAPI both report 0.26.5. - Run a long Mix query and check that the Langfuse generation Input and Output are complete.
Compose or quickstart pin:
EDGEQUAKE_VERSION=0.26.5 docker compose -f docker-compose.quickstart.yml up -dKubernetes:
EDGEQUAKE_VERSION=0.26.5 make k8s-install# or set global.edgequakeVersion: "0.26.5" in valuesThe API image has no shell, so probe it from outside the container (or use edgequake healthcheck inside it). See upgrade-to-0.26.4.md.
Verify
Section titled “Verify”curl -s http://localhost:8080/health | jq -r '.version' # expect 0.26.5curl -s http://localhost:8080/api-docs/openapi.json | jq -r '.info.version' # 0.26.5# Optional: make spec145-langfuse-e2e (live OTLP and tail marker)Out of scope in this cut
Section titled “Out of scope in this cut”- A new schema or migrate step (the train stays at 149)
- A fresh Acc n=200 medical-mid run (the existing
publish/latestis attested) - Dumping ingest document bodies into Langfuse
Detail: specs/145-fix-truncated-logs/. Observability guide: docs/OBSERVABILITY.md.