Repository navigation
[Agents] Add changelog for resumable Computer JavaScript runs - #34552
Conversation
🚀 Deploying Preview to Cloudflare 🚀Preview URL: https://changelog-computer-durable-javascript.previews.developers.cloudflare.com (commit f48de93)This URL reflects your latest Preview deploymentPreview Deployments by commit
|
|
Worker Preview URL: https://gh-changelog-computer-durable-javascript.previews.developers.cloudflare.com Files with changes (up to 15) |
AI Review✅ Reviewed 👉 Fix in your agent 👈Fix the following review findings in PR #34552 (https://github.com/cloudflare/cloudflare-docs/pull/34552).
Before making changes, review each finding and present a brief summary table:
- For each finding, state whether you agree, disagree, or need clarification.
- If you disagree, explain why.
- If you need clarification before deciding, ask those questions.
- Then share your plan for which issues to tackle and in what order.
After triaging, follow this order:
1. Post a comment on this PR for any findings you are skipping, with the finding ID and your reasoning.
2. Then commit the fixes for the legitimate findings.
The comment must come before the commit because the next review reads PR comments.
## Code Review
- C-00ed8be2 | src/content/changelog/agents/2026-10-26-computer-durable-javascript.mdx:65 | Undefined `github` identifier in the `postComment` example
`github` is not declared, imported, or otherwise in scope in this example, so it will not compile or run as written. The equivalent example in `src/content/docs/agents/tools/filesystem.mdx` (`Resume runs after a restart` → `Wait for an answer`) uses `this.postComment(issue, body, { idempotencyKey: ctx.callId })`, and the comment above the module shows that `ws:github` is the module name the agent imports from, not a variable.
```txt
return github.comment(issue, body, { idempotencyKey: ctx.callId });
```
## Style Guide
- S-09ca4ca6 | src/content/changelog/agents/2026-10-26-computer-durable-javascript.mdx:46 | Passive voice where active voice would be clearer
The style guide requires rewriting passive voice in favor of active voice. `User functionality can be provided to the agent's code` is passive; an active construction naming the actor (the reader) would be clearer.Code ReviewSkipped: no new code changes since the last review.
Style GuideSkipped: no new docs content changes since the last review.
Not reviewed (1)
Commands
|
|
|
||
| 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). |
There was a problem hiding this comment.
Update to point to the docs.
| For setup, current limitations, and how replay works, refer to [Resume runs after a restart](/agents/tools/filesystem/#resume-runs-after-a-restart). |
| loader: this.env.LOADER, | ||
| onInterrupt: "replay", | ||
| modules: { | ||
| "ws:github": { |
There was a problem hiding this comment.
As the reader at this point I’m not sure in this context I grok immediately what a module is
irvinebroque
left a comment
There was a problem hiding this comment.
Is there a diagram or visualization you have that could help the reader understand the lifecycle and build a mental model?
…dules, and move it to Oct 26
…e Computer changelog
c4905f9 to
f48de93
Compare
Summary
Adds a changelog entry for two experimental features coming in
@cloudflare/computerv0.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