Skip to content

fix: vendored client treats idle-eviction (4008) as terminal#4

Merged
bbjansen merged 1 commit into
mainfrom
fix/client-4008-terminal
Jul 10, 2026
Merged

fix: vendored client treats idle-eviction (4008) as terminal#4
bbjansen merged 1 commit into
mainfrom
fix/client-4008-terminal

Conversation

@bbjansen

Copy link
Copy Markdown
Contributor

Platform rooms now close idle connections with code 4008. The old vendored client auto-reconnected on any non-1000 close, so an idle tab would reconnect-cycle forever and keep its room alive. Refreshed self-contained bundle from the platform repo: 4008 = clean terminal close (no retry) + npcChunk event + refreshed type sidecars. Tests/typecheck/build green.

…rminal

The platform's rooms now evict idle connections with close code 4008
(no client input for the idle window). The old vendored client treated
any non-1000 close as abnormal and auto-reconnected — an idle open tab
would reconnect every few minutes forever, keeping its room ticking.
The refreshed bundle treats 4008 as a clean, terminal close (no retry)
and adds the npcChunk event for streamed NPC lines. Type sidecars
(protocol/handler/handler-client) refreshed to match.

49 tests + typecheck + build green.
@bbjansen bbjansen merged commit db653c5 into main Jul 10, 2026
1 check passed
@bbjansen bbjansen deleted the fix/client-4008-terminal branch July 10, 2026 08:33
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