Part of #37 (v0.2.0 server-compatibility exercise).
Goal
Manually exercise tinytap against Bun.serve and record what we can and can't observe, feeding the shared table in docs/server-compat.md. This server is optional / niche — do it after the four main servers (Python, Go, Node, nginx) are done.
This is manual exploration, not automated tests.
Setup
A minimal Bun.serve({ fetch }) with two responses: an inline new Response("Hello, world") and a file response via new Response(Bun.file(path)).
Bun's runtime is Zig-based; Bun.file() responses may take a sendfile(2) fast path. Confirm whether the file body is visible and how it differs from the inline string response.
Tasks
Done when
docs/server-compat.md has Bun.serve × 3 body sizes filled in
- The doc records whether
Bun.file() uses sendfile vs the visible inline-string path
Part of #37 (v0.2.0 server-compatibility exercise).
Goal
Manually exercise tinytap against
Bun.serveand record what we can and can't observe, feeding the shared table indocs/server-compat.md. This server is optional / niche — do it after the four main servers (Python, Go, Node, nginx) are done.This is manual exploration, not automated tests.
Setup
A minimal
Bun.serve({ fetch })with two responses: an inlinenew Response("Hello, world")and a file response vianew Response(Bun.file(path)).Tasks
Bun.filefile-serving endpointtinytap+curlagainst three body sizes: small (<256 B), medium (~1 KiB), large (~50 KiB)sendfile(2)is used (absence ofwrite/sendtoevents on body bytes)docs/server-compat.mdDone when
docs/server-compat.mdhasBun.serve× 3 body sizes filled inBun.file()uses sendfile vs the visible inline-string path