Customize sessions in self-hosted environments changedself-hosted-environments-configuration
Nearest release: v2.1.335, published 8 hours before upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Upstream edited this page at 3 Dec 2026 06:12 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 3 Dec 2026 06:37 UTC.
Upstream edited
Recorded here
Lines+3added
Lines−1removed
From line
376
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits61to this page, all time
The whole hunk
from line 376, old and new numbered
/
from line 376
3763764. If your platform still has the workload from the first request, because nothing [removed](#make-on-demand-runners-exit-when-idle) it when its runner exited, the hook creates no new workload and no runner starts
3773775. Each later spawn request for the session ends the same way
378378
379Open your own hook and read what it does when the workload already exists, for example when your platform rejects the duplicate name. Find that behavior in the first column to see what the re-opened session shows in the **Activity** tab:
379Open your own hook and read what it does when the workload already exists, for example when your platform rejects the duplicate name.
380
381The following table lists hook responses and what the re-opened session shows in the **Activity** tab:
380382
381383| When the workload exists, your hook | **Queued** changes to **Failed** | Spawn error |
382384| :- | :- | :- |
No line in this hunk matches that.