Skip to content

Remove no-op HTTP client disposal - #11

Closed
jmorrell wants to merge 1 commit into
mainfrom
codex/remove-http-disposable
Closed

jmorrell wants to merge 1 commit into
mainfrom
codex/remove-http-disposable

Conversation

@jmorrell

Copy link
Copy Markdown
Owner

The HTTP batch client advertises Disposable, but disposing it does nothing: it does not cancel the scheduled flush or reject pending calls. Remove that misleading API and the tests that only proved the no-op proxy behavior. WebSocket sessions still implement real disposal by closing their transport.

Validation:

  • npm run fmt:check
  • npm run lint (passes with three pre-existing unused-import warnings in websocket.test.ts)
  • npm run build
  • npm run test (159 tests)

Independent review found no issues. The review covered the public type change, repository callers, deleted tests, and the Workers runtime test.

@jmorrell jmorrell closed this Oct 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant