ReviewOS

home-lang/home

Native HTTP TLS corpus: verify SSL and keepalive parity across platforms

#594
Open chris opened this 9 days ago ·
9 days ago

Context

Commit e526ac1 removed the blanket native TODO rewrites for two untouched pinned-Bun files:

  • js/bun/http/bun-serve-ssl.test.ts
  • js/bun/http/tls-keepalive.test.ts

On macOS, Home executes both through the production VM with 22 pass, 0 fail, 0 unsupported. Pinned Bun 4982b91 reports the same 22 pass and 40 expect() calls.

The keepalive matrix covers connection reuse for identical custom TLS configurations, separation for different configurations, disabled keepalive, 100,000-request memory stability, and bounded cache eviction across 200 distinct configurations. The SSL matrix covers invalid and valid key/certificate/serverName configurations in development and production modes.

Remaining work

  • Run both exact native corpus files on Linux.
  • Run both exact native corpus files on Windows.
  • Fix production runtime differences if either platform diverges; do not add skips, source rewrites, relaxed assertions, or delegated Bun execution.
  • Record Home and pinned-Bun counts plus platform details.

Acceptance

  • Both byte-identical corpus files pass through Home production VM on macOS, Linux, and Windows.
  • Counts match pinned Bun for each supported platform.
  • No Home-only TODO/skip classification or compatibility workaround is introduced.

Related: #66 and #202.

Sign in to comment on this issue.