Skip to content

[Agents] Add changelog for resumable Computer JavaScript runs - #34552

Open
scuffi wants to merge 3 commits into
productionfrom
changelog/computer-durable-javascript
Open

scuffi wants to merge 3 commits into
productionfrom
changelog/computer-durable-javascript

Conversation

@scuffi

@scuffi scuffi commented Oct 23, 2026

Copy link
Copy Markdown
Member

Summary

Adds a changelog entry for two experimental features coming in @cloudflare/computer v0.7.0: isolate JavaScript runs that resume after a deploy or crash, and runs that pause until someone answers, for example to approve an action.

The entry links to the "Resume runs after a restart" section added in #34551, which holds the setup details and current limitations, so it should merge together with or after #34551. Hold it until v0.7.0 is released, and update the version and date then if they have changed.

Documentation checklist

@github-actions github-actions Bot added product:changelog product:agents Build and deploy AI-powered Agents on Cloudflare that can act autonomously. labels Oct 23, 2026
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview URL: https://changelog-computer-durable-javascript.previews.developers.cloudflare.com (commit 7fbea76)

This URL reflects your latest Preview deployment

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://a3341225.previews.developers.cloudflare.com 7fbea76 2026-10-23T14:21:42.122Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://a972eecf.previews.developers.cloudflare.com dfecb78 2026-10-23T10:23:01.378Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://d433cf77.previews.developers.cloudflare.com f6f2f0b 2026-10-23T10:01:41.427Z Visit the dashboard ↗

@github-actions

github-actions Bot commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

@scuffi
scuffi marked this pull request as ready for review October 23, 2026 10:10
@scuffi
scuffi requested review from a team, irvinebroque and rita3ko as code owners October 23, 2026 10:10
@cloudflare-docs-bot

cloudflare-docs-bot Bot commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

AI Review

✅ Reviewed 7fbea76 · 0 findings · incremental

Commands
  • /review Run a review now.
  • /full-review Review the entire PR diff.
  • /disable-auto-review Stop automatic reviews.
  • /rebase Rebase against production.

@cloudflare-docs-bot

cloudflare-docs-bot Bot commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Review coverage

✅ The ownership area is covered.

✅ 1 area already covered
Area Approved by
agents
1 file changed
aron-cf
CODEOWNERS mappings for displayed areas (1)
Pattern Owners
/src/content/changelog/agents/ @irvinebroque, @rita3ko, @cloudflare/ai-agents, @cloudflare/dev-plat-leads, @cloudflare/pm-changelogs, @cloudflare/product-owners

Comment thread src/content/changelog/agents/2026-10-23-computer-durable-javascript.mdx Outdated
Comment thread src/content/changelog/agents/2026-10-23-computer-durable-javascript.mdx Outdated
Comment thread src/content/changelog/agents/2026-10-23-computer-durable-javascript.mdx Outdated
Comment thread src/content/changelog/agents/2026-10-23-computer-durable-javascript.mdx Outdated
Comment thread src/content/changelog/agents/2026-10-23-computer-durable-javascript.mdx Outdated
Comment thread src/content/changelog/agents/2026-10-23-computer-durable-javascript.mdx Outdated
Comment thread src/content/changelog/agents/2026-10-23-computer-durable-javascript.mdx Outdated
Comment thread src/content/changelog/agents/2026-10-23-computer-durable-javascript.mdx Outdated
Comment thread src/content/changelog/agents/2026-10-23-computer-durable-javascript.mdx Outdated

Once every waiting call in the run has an answer, the run continues, and `ctx.interrupt()` returns the answer. To notify someone when a call starts waiting, give the backend an `onWait` function.

For setup, current limitations, and how replay works, refer to [Resume runs after a restart](/agents/tools/filesystem/#resume-runs-after-a-restart).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update to point to the docs.

Suggested change
For setup, current limitations, and how replay works, refer to [Resume runs after a restart](/agents/tools/filesystem/#resume-runs-after-a-restart).

@@ -0,0 +1,85 @@
---
title: "@cloudflare/computer JavaScript runs can now be paused and resumed"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is “runs” the word that people will understand here?

loader: this.env.LOADER,
onInterrupt: "replay",
modules: {
"ws:github": {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As the reader at this point I’m not sure in this context I grok immediately what a module is


import { TypeScriptExample } from "~/components";

[`@cloudflare/computer`](https://github.com/cloudflare/computer) v0.7.0 now supports resuming a JavaScript run after a deploy or crash. It also supports pausing a run on an external action, for example to approve a tool call.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Something at the start should probably orient you that this is about building agents

@irvinebroque irvinebroque left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a diagram or visualization you have that could help the reader understand the lifecycle and build a mental model?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

product:agents Build and deploy AI-powered Agents on Cloudflare that can act autonomously. product:changelog size/s

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants