Skip to content

Commit 2ecc96c

Browse files
committed
docs(showcase): document PocketBase fetch cap limitation
If INITIAL_CAP is exceeded by new probe dimensions, the dashboard silently drops e2e per-cell records and shows D2.
1 parent 438161e commit 2ecc96c

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

showcase/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,17 @@ The dashboard at [showcase.copilotkit.ai](https://showcase.copilotkit.ai) reads
162162
1. **Static `catalog.json`** — generated at build time by `pnpm generate-registry`. Contains the full 38-feature x 17-integration cell matrix with status (`wired` / `stub` / `unshipped`), parity tiers, and feature categories. Changes require a generator run + commit.
163163
2. **Live PocketBase probe results** — streamed via SSE. Probes discover demo routes automatically and update the dashboard in real time. No manual intervention needed for probe data.
164164

165+
**Known limitation — PocketBase fetch cap:** `useLiveStatus.ts` fetches
166+
status records with a hard `INITIAL_CAP` (currently 2000). PocketBase
167+
returns records in rowid (creation) order. If the total record count
168+
exceeds the cap, later-created dimensions (e.g. `e2e:<slug>/<featureId>`
169+
per-cell records from the 6-hourly e2e-demos probe) get silently
170+
truncated, causing the dashboard to show D2 instead of D4 across the
171+
board. If new probe types are added and the dashboard regresses to D2,
172+
raise `INITIAL_CAP` in `shell-dashboard/src/hooks/useLiveStatus.ts`.
173+
The correct long-term fix is dimension-scoped fetching or `sort=-updated`
174+
so the cap never silently drops functional records.
175+
165176
Key invariants:
166177

167178
- **Parity tiers are never manually set.** They are computed by comparing each integration's wired feature set against the reference integration's.

0 commit comments

Comments
 (0)