Skip to content

Fix the build: /_bridge/statuses reads its body through the shared readPost - #1708

Merged
suleimansh merged 1 commit into
mainfrom
claude/bridge-statuses-readpost
Aug 25, 2026
Merged

Fix the build: /_bridge/statuses reads its body through the shared readPost#1708
suleimansh merged 1 commit into
mainfrom
claude/bridge-statuses-readpost

Conversation

@suleimansh

Copy link
Copy Markdown
Contributor

#1703 added the statuses route on top of the file-local readJsonBody, and #1704 moved that reader to http.ts in the same hour; the two merged without a textual conflict, so pnpm build on main fails with Cannot find name 'readJsonBody' (CI run 32896742944).

The route now runs the same POST preamble as the bridge's other routes (readPost, now(handlers)). No behaviour change: the same 405 and 400 messages, from the shared helper.

pnpm typecheck clean; bridge-endpoints.test.ts 20/20.

🤖 automated · Fable 5, effort xhigh

…adPost

#1703 added the statuses route on top of the file-local readJsonBody, and #1704 moved that
reader to http.ts in the same hour; the two merged without a textual conflict, so main's
pnpm build fails with "Cannot find name 'readJsonBody'". The route now runs the same POST
preamble as the bridge's other routes.
@suleimansh
suleimansh merged commit 0971a99 into main Aug 25, 2026
2 checks passed
@suleimansh
suleimansh deleted the claude/bridge-statuses-readpost branch August 25, 2026 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant