Restarting a background job fails if its gateway can no longer be reached
When a background job is restarted, Claude Code now checks the gateway is reachable and fails with gateway_lost if it is not, keeping the queued prompt
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
ElsewhereArea: what it touches
ImprovementsKind: in v2.1.326,
ImprovementsSection of the release
Unclear What decides whether this check runs at all is not known.
What
A background job is work Claude Code runs while you do something else. When such a job is restarted, Claude Code now first checks that the gateway it uses can still be reached. If it cannot, the restart fails with the error code gateway_lost.
The prompt that was waiting to be sent is kept, and the message you get points you to the settings file.
Why
Restarting a background job can now fail in cases where it used to go ahead. Your queued prompt is not lost, and the message tells you where to look to fix the setup.
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtWhat decides whether this check runs at all is not known.