Repository navigation
feat(examples): keep alchemy-cloudflare Durable Objects running on pending I/O - #54
Merged
Merged
Conversation
…nding I/O Move both Workers to compatibility date 2026-10-01. From that date, a pending call to another Durable Object, a container, `waitUntil` or a timer keeps a Durable Object in memory with no client connected, for up to 15 minutes per call. A turn waiting on a container command through the Computer is now covered without its HTTP client. Keepalive stays: pending I/O does not survive a deploy or crash, and its alarm is what wakes a cut-off session so it continues the turn. Its comments now say so, and drop the claim that outbound fetches did not count as activity. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> HumanLayer-Session: https://app.dev.codelayer.gg/sessions/01a0f3fc-13b0-758f-a343-fae04e83a7a9
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Re-opens #53 against
main. #53 was stacked oneffect-v4-stableand merged into that branch moments after #52 merged intomain, so its commit never reachedmain.mainstill has compatibility date2026-08-31, while the deployed Workers run2026-10-01from this branch.This is the same single commit (
25b1692):2026-10-01. Pending calls to another Durable Object, containers,waitUntiland timers now keep a Durable Object running with no client connected. See Cloudflare's post. The behaviour is the default from that date; no flag needed. Checked on the deployed Workers through Cloudflare's API.Keepalivestays, because its alarm still wakes a session a deploy or crash cut off. Its comments are corrected.See #53 for the full description and the live test.
🤖 Generated with Claude Code