Skip to content

TypeScript HTTP handlers#4931

Open
gefjon wants to merge 4 commits intophoebe/http-handlers-webhooksfrom
phoebe/http-handler/v8-host
Open

TypeScript HTTP handlers#4931
gefjon wants to merge 4 commits intophoebe/http-handlers-webhooksfrom
phoebe/http-handler/v8-host

Conversation

@gefjon
Copy link
Copy Markdown
Contributor

@gefjon gefjon commented May 1, 2026

Based on #4636 .

Description of Changes

This commit adds host support for registering HTTP handlers in V8 modules, and a minimal draft of TypeScript bindings support for the same. The TypeScript bindings support is fully vibe-coded and unreviewed, and is present only to allow a new smoketest, which is added to the http_routes suite. The host changes were also AI-assisted, but I reviewed and polished them.

API and ABI breaking changes

Adds new TypeScript "ABI." Also adds a new API, which I sure hope will be overwritten by @JasonAtClockwork .

Expected complexity level and risk

2: pretty simple extensions to TypeScript execution, which largely mirror existing call_procedure machinery.

Testing

  • New smoketest.

This commit adds host support for registering HTTP handlers in V8 modules,
and a minimal draft of TypeScript bindings support for the same.
The TypeScript bindings support is fully vibe-coded and unreviewed,
and is present only to allow a new smoketest, which is added to the `http_routes` suite.
The host changes were also AI-assisted, but I reviewed and polished them.
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