Document the Postgres deep-history all-events tier: /api/v1/chain-events, /chain-events/stats, /blocks/{n}/chain-events — proxied to the separate DATA_API worker (Hyperdrive/Postgres). Because these 503 with data_tier_unavailable when the data worker isn't deployed and the tier involves infra state + a split-brain caveat vs the D1 explorer, this doc page needs maintainer knowledge of the deployment topology to be accurate — hence maintainer-only.
Deliverables
References
repo/workers/api.mjs:845 (handleChainEventsProxy)
repo/workers/data-api.mjs:64 (chain_events query)
📸 Required: before/after screenshots (this is a UI change)
Non-negotiable. PRs that change UI must include a before/after screenshot table. PRs without it are automatically closed — no exceptions.
Rules:
- Show every page/feature you changed — before and after, one row each.
- Use the markdown table below. Screenshots go inside the table only — no large full-size images pasted elsewhere in the PR.
- Each cell is a clickable thumbnail (a small image linking to the full-size image) with a one-line caption underneath.
- Upload screenshots to the PR by drag-and-drop (GitHub hosts them on its CDN). Do NOT commit image files to the repo.
Copy this and fill it in (replace FULL_IMAGE_URL with the URL GitHub gives you after you drop the image in):
| Page / Feature | Before | After |
|---|---|---|
| `/your-route` | [<img src="FULL_IMAGE_URL" width="260">](FULL_IMAGE_URL)<br><sub>before: short caption</sub> | [<img src="FULL_IMAGE_URL" width="260">](FULL_IMAGE_URL)<br><sub>after: short caption</sub> |
size: S · maintainer-only (owner)
Document the Postgres deep-history all-events tier: /api/v1/chain-events, /chain-events/stats, /blocks/{n}/chain-events — proxied to the separate DATA_API worker (Hyperdrive/Postgres). Because these 503 with data_tier_unavailable when the data worker isn't deployed and the tier involves infra state + a split-brain caveat vs the D1 explorer, this doc page needs maintainer knowledge of the deployment topology to be accurate — hence maintainer-only.
Deliverables
References
repo/workers/api.mjs:845 (handleChainEventsProxy)repo/workers/data-api.mjs:64 (chain_events query)📸 Required: before/after screenshots (this is a UI change)
Non-negotiable. PRs that change UI must include a before/after screenshot table. PRs without it are automatically closed — no exceptions.
Rules:
Copy this and fill it in (replace
FULL_IMAGE_URLwith the URL GitHub gives you after you drop the image in):size: S · maintainer-only (owner)