Skip to content

Bun compatibility - #833

Draft
Acconut wants to merge 3 commits into
mainfrom
bun
Draft

Bun compatibility#833
Acconut wants to merge 3 commits into
mainfrom
bun

Conversation

@Acconut

@Acconut Acconut commented Jan 15, 2026

Copy link
Copy Markdown
Member

See #692.

One test is failed, but that's because of an incompatibility between Bun and Node.js in their http modules: https://bun.com/docs/runtime/nodejs-compat#node:http

node:http
🟢 Fully implemented. Outgoing client request body is currently buffered instead of streamed.

The buffering causes problems with our progress pipeline, which causes uploads to hangs. Their fetch implementation seems to support streaming request bodies. Maybe that is a viable alternative.

We need more end-to-end tests to be sure how well tus-js-client actually works with Bun (see #832), before we can merge this PR.

@Acconut Acconut self-assigned this Jan 15, 2026
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