Scope
Implement Bun-compatible validation for Bun.serve options currently accepted incorrectly by Home. The unchanged Bun corpus failures are:
should error with invalid options > requestCertshould error with invalid options > rejectUnauthorizedshould error with invalid options > lowMemoryMode
Evidence
Validated against Bun checkout 4982b91e3702094330f3be3883354c52b8c01323 in test/js/bun/http/serve.test.ts. The complete Home run reports 188 pass, 1 upstream skip, 1 upstream todo, and 11 failures.
Acceptance criteria
- Match Bun option type/range validation and error behavior for all three options.
- Preserve valid TLS and low-memory configurations.
- Pass the unchanged upstream cases without rewrites, skips, or weakened assertions.