template 0.7.1: no 5xx leaks, one sibling resolver, cursor pagination documented #15

Merged
plat merged 1 commit from feat/template-0.7.1 into main 2026-08-20 16:45:21 +00:00
Owner

Pattern fixes from the app review (each seen ≥2× in built apps):

  • setErrorHandler in the template server: unhandled 5xx answers a fixed line, the real error goes to the log — 5 of 7 apps leaked driver internals; workshop and lanyard had each written this fix by hand.
  • src/sibling.ts: the one shared consume-a-sibling shape (dynamic import probe, TTL, timeout-bounded calls, honest degraded state) — two bespoke copies existed in one org. Tests included.
  • README: cursor pagination is the documented list shape ({items, nextCursor}, keyset, never a bare LIMIT); sibling consumption documented against src/sibling.ts.

🤖 Generated with Claude Code

Pattern fixes from the app review (each seen ≥2× in built apps): - **`setErrorHandler` in the template server**: unhandled 5xx answers a fixed line, the real error goes to the log — 5 of 7 apps leaked driver internals; workshop and lanyard had each written this fix by hand. - **`src/sibling.ts`**: the one shared consume-a-sibling shape (dynamic import probe, TTL, timeout-bounded calls, honest degraded `state`) — two bespoke copies existed in one org. Tests included. - **README**: cursor pagination is the documented list shape (`{items, nextCursor}`, keyset, never a bare LIMIT); sibling consumption documented against `src/sibling.ts`. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
template 0.7.1: unhandled 5xx never leak internals (setErrorHandler); one shared sibling-client resolver (src/sibling.ts); cursor pagination is the documented list shape
Some checks failed
guard-ppt / no-ppt (push) Successful in 1s
check / check (push) Successful in 24s
guard-ppt / no-ppt (pull_request) Successful in 0s
check / check (pull_request) Successful in 22s
preview / preview (pull_request) Failing after 0s
e086c2d306
plat merged commit 0ff020d200 into main 2026-08-20 16:45:21 +00:00
plat deleted branch feat/template-0.7.1 2026-08-20 16:45:21 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
open-platform/app-template!15
No description provided.