从 #2462 拆出。ADR-0076 OQ#10 多适配器验证(#3037)时发现消费方依赖两个**未写进 `IHttpServer` 契约**的软扩展,一致性目前只靠 `@objectstack/http-conformance`(41 断言,packages/qa/)经验锁定: 1. **SSE 流**:`res.write` / `res.end`(AI 流式、dispatcher stream result 依赖)。 2. **`getPort()`**(boot 期端口回读)。 3. **404/405 语义**(两适配器现为实测一致,未成文)。 ## 待办(小活,1-2 小时级) - `spec` 的 `IHttpServer` 接口正式声明上述成员/语义(optional 成员 + JSDoc 契约文字)。 - conformance 套件的对应断言从"经验锁定"升级为"契约引用"(注释指向 spec 定义)。 - hono 与 node:http 两适配器类型对齐(应零代码变化——它们已实现这些行为)。 参考:packages/qa/http-conformance/、docs/adr/0076 OQ#10 段。
Activity
feat(spec): codify IHttpServer soft extensions + unmatched-request se…
fix(runtime): buffer SSE frames through send() on write-less transpor…
fix(runtime): drain the SSE descriptor for write-less transports in t…
fix(runtime): implement the buffered-send streaming fallback on both …