Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.227 ·

Event loop stall detector rewritten as a class

The event-loop stall detector was rewritten as a class with identical behaviour.

Under the hood Internal Changes
JSON All of v2.1.227
Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
0Signal: worth watching, 1 to 5
PerformanceArea: what it touches
Internal ChangesKind: in v2.1.227,
Internal ChangesSection of the release
What

The stall detector's counters were moved into a class with a single instance. Same 200 ms interval, same threshold and sleep/wake heuristic, same [event-loop-stall] detector started line, same tengu_event_loop_stall event fields, and the same terminal mode reassertion after a suspected sleep/wake.

Details
  • Two neighbouring singletons got the same treatment: a run-budget tracker exposing isOverBudget, recordRun and firstPolicySkipFor, and a deduper exposing markIfChanged. Nothing in the surrounding code shows what those two control.
Evidence

[event-loop-stall] detector started

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

Read from
Feature flag
tengu_event_loop_stall Gate removed from the code

This release deleted the gate from the code while it was still reading on for the account this site reads, so the code path no longer asks a flag before running.

This account: on · anonymous baseline: on · compiled default in v2.1.227: not a boolean we can read

These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.

Read once, for one account on one subscription tier, against v2.1.227. It isn't a statement about your account. What a flag value here can and cannot tell you

What has happened since
Flag reading moved The flag server now returns on for tengu_event_loop_stall, read as this account. A reading is one sample. Claude Code evaluates its flags remotely, so no client sees the targeting rule behind a value and this says nothing about your account.
Flag reading moved The flag server now returns off for tengu_event_loop_stall, read as this account. A reading is one sample. Claude Code evaluates its flags remotely, so no client sees the targeting rule behind a value and this says nothing about your account.
Flag reading moved The flag server now returns on for tengu_event_loop_stall, read as this account. A reading is one sample. Claude Code evaluates its flags remotely, so no client sees the targeting rule behind a value and this says nothing about your account.
Flag reading moved The flag server now returns off for tengu_event_loop_stall, read as this account. A reading is one sample. Claude Code evaluates its flags remotely, so no client sees the targeting rule behind a value and this says nothing about your account.
Flag reading moved The flag server now returns nothing at all, having stopped carrying it for tengu_event_loop_stall, read as this account. A reading is one sample. Claude Code evaluates its flags remotely, so no client sees the targeting rule behind a value and this says nothing about your account.
Gate removed from the code v2.1.227 removed the tengu_event_loop_stall gate from the code while it was still reading on for the account this site reads. The code path no longer asks a flag before it runs.

See this across every release →

See this entry in the whole of v2.1.227 →

Feedback