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

Claude Code v2.1.222 ·

Design OAuth refresh lock holds longer and reports compromise

Slow token refreshes no longer trip the lock early, cutting spurious login hiccups.

You'll notice Improvements
JSON All of v2.1.222
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
0Signal: worth watching, 1 to 5
ElsewhereArea: what it touches
ImprovementsKind: in v2.1.222,
ImprovementsSection of the release
What

The lock guarding OAuth token refresh tolerates slower refreshes and lets the holder find out if its lock was taken away mid-flight.

Details
  • Stale window raised from 10s to 60s, with a 5s update interval.
  • The callback now receives an object exposing isCompromised().
  • Lock contention throws a dedicated error class rather than a bare Error.
Evidence

Design OAuth refresh lock compromised

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

See this entry in the whole of v2.1.222 →

Feedback