Serve the deployed application with Bun #292
Notifications
Due Date
No due date set.
Blocks
Depends on
#293 Complete and verify the Bun CI cutover
nessar/vac-optimizer
#289 Verify Bun and Angular compatibility
nessar/vac-optimizer
Reference: nessar/vac-optimizer#292
Reference in new issue
Block a user
What to build
The production container delivers the same Angular application
and static assets using Bun's native HTTP server, with working direct navigation,
cache behavior, error handling, and health checks.
Acceptance criteria
engine. Update the server entry/export contract, startup command, and
callers together; remove Express and its types after checking their uses.
binding an extra listening server when the CLI imports the handler.
client-rendered, and leave planning continues in browser Web Workers.
Direct navigation to the main application and benchmark page works.
port, missing-resource and error handling, and protections against serving
files outside the public asset root. Do not expose source or server files.
retain production-only runtime dependencies, and remove the build's Node
installation once actual build and server execution under Bun is proven.
JavaScript/CSS assets, cache/content-type headers, missing assets, error
responses, and traversal protection. Test responses rather than internal
routing or adapter shapes.
port, and health check, with Node unavailable to project commands. Record
any container-specific incompatibility as a blocker.
integration branch; integrate these checks into ticket 05's final gate
without introducing a temporary parallel Express server.
Blocked by