Skip to content

fix(sandbox): allow AT Protocol sync within default subrequest budget - #4712

Merged
ascorbic merged 4 commits into
mainfrom
emdash-bot/issue-3989
Nov 8, 2026
Merged

ascorbic merged 4 commits into
mainfrom
emdash-bot/issue-3989

Conversation

@emdash-autofix

@emdash-autofix emdash-autofix Bot commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

What does this PR do?

Raises the default sandbox subrequest allowance from 10 to 100. AT Protocol settings reads, session creation/persistence, the PDS write, and URI persistence share this budget. At 10 calls, a sync using a cached session can create the PDS record but fail to save its URI, so the next sync creates another publication. A fresh login needs even more calls. Saving settings can also exhaust the budget while rebuilding the settings page.

Keeps the Node.js runner's declared default, public type documentation, and both sandbox/capabilities documentation pages in sync. CPU (50 ms), wall time (30 s), and explicit overrides are unchanged. Node.js still does not enforce subrequest limits.

Adds behavioral regression coverage using the real in-repo AT Protocol plugin (0.2.4) and generated sandbox wrapper, with a simulated bridge budget and PDS. Covers settings save/reload, first login and publication sync through the admin action, repeat sync updating the saved URI, and enforcement of an explicit 10-call override. The default-flow test failed with the previous allowance and passes with this change. The low-limit test only requires the limit failure, not an orphaned write.

Test limitations: the loader stub approximates platform accounting as one subrequest per bridge method call, including logging. It does not test Worker Loader's actual accounting or downstream host requests. No live Cloudflare deployment/PDS was used. The test intentionally imports the plugin source across workspace packages to exercise its current real workflow; this couples the Cloudflare test/typecheck to the plugin source.

This fixes the default-budget cause, not general external-write idempotency or host-side limit-error observability: a deliberately low override or other failure after an external write can still leave an orphan. Existing duplicates are not removed. Those broader hardening changes are outside this fix. Separately, plugin 0.2.3 already fixed another settings-rendering error (missing Recent Syncs table action ID, #3647); users on the reported 0.2.2 should also upgrade the plugin.

Type of change

  • Bug fix
  • Feature (requires an accepted feature plan or RFC)
  • Refactor (no behavior change)
  • Translation
  • Documentation
  • Performance improvement
  • Tests
  • Chore (dependencies, CI, tooling)

Your connection to this change

  • I use EmDash and ran into the problem this PR addresses
  • I maintain a tool, dependency, or service that EmDash uses, and this change concerns that integration
  • A Maintainer approved this specific change before I opened the PR

Assigned by @ascorbic to addresses #3989.

Checklist

  • I have read CONTRIBUTING.md
  • pnpm typecheck passes
  • pnpm lint passes
  • pnpm test passes (or targeted tests for my change)
  • pnpm format has been run
  • I have added/updated tests for my changes (if applicable)
  • User-visible strings in the admin UI are wrapped for translation (not applicable: no UI strings changed)
  • I have added and reviewed the user-facing changeset
  • New features link to their merged design PR (not applicable: bug fix)
  • I have included screenshots below if this PR changes the UI (not applicable: sandbox limit and docs only)

Full workspace typecheck/type-aware lint were not run; scoped typechecks and lint:quick passed.

AI assistance disclosure

  • This PR includes AI-generated code or text — model/tool: cloudflare-ai-gateway:gpt-6.1-sol via the EmDash bot (Pi Durable)

Screenshots / test output

Screenshots: Not applicable; no UI layout or component changes.

  • Cloudflare sandbox tests: 16 files, 130 tests passed.
  • Typechecks: @emdash-cms/cloudflare, @emdash-cms/sandbox-workerd, and emdash passed.
  • pnpm lint:quick: zero diagnostics.
  • pnpm format and git diff --check: passed.
  • Root pnpm build: passed with an environment-only graceful-fs preload for the sandbox's 1024-file-descriptor limit and --max-old-space-size=8192 after file-limit/heap failures. No build configuration changed.
  • pnpm --dir docs build: passed (font-fetch warnings in the network-restricted sandbox).

A Maintainer (@ascorbic) assigned this issue to the EmDash bot.

Part of #3989. This pull request does not fully resolve it; still to do: AT Protocol token-refresh sync and publishing with cross-posting can still exceed 30 bridge calls, causing settings-rendering failures or partial external writes. Plugin-side round-trip reductions/retry-safe persistence and clearer host-side limit-error reporting remain outside this PR, as directed by the maintainer.

Raise the default sandbox subrequest budget from 10 to 100 so AT Protocol settings, authentication, publication writes, and URI persistence complete in one invocation. Keep matching runner defaults and docs aligned. Regression coverage exercises the real plugin through the generated wrapper with simulated bridge accounting; the former limit reproduces failure and the new default passes. Verified 130 sandbox tests, Cloudflare/workerd/core typechecks, lint:quick, formatting, root build, and docs build. Independent review and follow-up passed. This does not remove existing duplicates or add general external-write idempotency.

EmDash-Bot-Case: 1198246700-issue-5753303380
EmDash-Bot-Candidate: cand-1-f7e660db66
@emdash-autofix emdash-autofix Bot added the bot:fix Assign this issue or pull request to the EmDash bot to fix label Nov 6, 2026
@emdash-autofix

emdash-autofix Bot commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor Author

EmDash bot: Closed

Plan

Rewrote the changeset around the general 10-to-30 sandbox allowance, removing AT Protocol-specific narrative while preserving platform constraints and reversion guidance. Formatting, quick lint, diff checks, and independent review pass. Su…

  • Read sandbox and AT Protocol paths and identify regression coverage
  • Raise the default budget and add lifecycle regression coverage and release notes
  • Run focused checks and independent review
  • Verify runner options and add concrete reversion guidance
  • Verify documentation and submit reviewed revision
  • Inspect Browser Tests failure and dependent aggregate failure
  • Set default to 30 and document platform ceiling and portable runner path
  • Run unchanged regression tests, docs checks, and independent review

Status

  • The pull request or issue was closed.

Next action: None.

Details
Candidate cand-4-6c92e4ebbd (tree 545400a73ab0)
Published head 1c4e0339ca3b
Reviewer's latest review of head approved
Reporter confirmation not yet
Human approval required before merge

Required checks on the current head:

  • Typecheck: succeeded
  • Tests: succeeded
  • Smoke Tests: succeeded
  • Browser Tests: succeeded
  • Format: succeeded
  • CLAssistant: succeeded
  • Measure: succeeded

This status is generated from recorded evidence. It is not a review and contains no instructions.

@changeset-bot

changeset-bot Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 1c4e033

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 12 packages
Name Type
@emdash-cms/cloudflare Patch
@emdash-cms/sandbox-workerd Patch
@emdash-cms/plugin-test Patch
@emdash-cms/admin Patch
@emdash-cms/auth Patch
@emdash-cms/blocks Patch
emdash Patch
create-emdash Patch
@emdash-cms/gutenberg-to-portable-text Patch
@emdash-cms/x402 Patch
@emdash-cms/auth-atproto Patch
@emdash-cms/plugin-embeds Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@emdashbot emdashbot Bot 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.

Raising the default subrequest budget to 100 is a sound, scoped fix for the reported AT Protocol duplicate-record problem. Both runner defaults, the core JSDoc, the docs, and the tests are updated, explicit overrides still apply, and CPU and wall-time limits are unchanged. Neither reviewer found code correctness problems. Neither could confirm that the test's one-subrequest-per-bridge-call model matches real Worker Loader accounting. One release-documentation gap remains, which the second reviewer rated needs_fixing: the changeset does not tell operators how to keep the previous ceiling. The first reviewer approved and raised nothing on this point.


Reviewed by anthropic/claude-opus-5-5 and openai/gpt-6.1-sol.

Comment thread .changeset/tidy-sandbox-allowance.md Outdated

Fixes AT Protocol plugin settings and publication sync failing under the default Cloudflare sandbox budget by raising the subrequest allowance from 10 to 100 per invocation. Settings reads and other bridge calls share this budget with HTTP requests; the previous allowance could stop a sync after creating a publication on the PDS but before saving its URI, causing retries to create duplicates.

CPU and wall-time limits are unchanged. Existing explicit `limits.subrequests` overrides still apply. The Node.js workerd runner uses the same default value but does not enforce subrequest limits. No configuration changes are required, and this update does not remove duplicate records already created on a PDS.

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.

[needs fixing] This changes the resource ceiling for every Cloudflare sandbox invocation. The line "existing explicit limits.subrequests overrides still apply" only helps readers who already have an override. It does not tell operators relying on the previous default how to keep it. .changeset/README.md requires concrete reversion guidance for default changes.

State that keeping the previous ceiling requires limits: { subrequests: 10 } when constructing the runner, and name the supported configuration surface. Distinguish runner options from emdash() integration options: the deployment page correctly says the standard integration does not expose these limits. Add the same guidance to the canonical sandbox documentation so readers do not try passing limits to sandbox() or emdash(). (The other reviewer approved with no findings and did not raise this.)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Added concrete reversion guidance to both the changeset and canonical sandbox docs: custom runtimes can pass limits: { subrequests: 10 } through SandboxOptions to CloudflareSandboxRunner or createSandboxRunner from the runtime-only entry point. Both now explicitly say that neither sandbox() nor emdash() exposes this option, and standard-integration sites have no configuration switch to restore the previous ceiling. Formatting, quick lint, and the docs build pass.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The final guidance also shows how to connect the custom factory to the normal integration via sandboxRunner, rather than implying that integration users have no escape hatch. It includes a runtime-only factory and an absolute-path configuration example, verified against Vite and the actual virtual-module generator. Both docs and changeset now distinguish this from a direct limits option on emdash() or sandbox().

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview URL: https://emdash-bot-issue-3989.try.emdashcms.com, https://emdash-bot-issue-3989-emdash-playground.emdash-cms.workers.dev (commit 1c4e033)

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://9ddcc98a.try.emdashcms.com, https://9ddcc98a-emdash-playground.emdash-cms.workers.dev 1c4e033 2026-11-08T12:46:06.505Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://3e5c1f0c.try.emdashcms.com, https://3e5c1f0c-emdash-playground.emdash-cms.workers.dev 530c61e 2026-11-08T00:22:10.690Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://eb8fa4ef.try.emdashcms.com, https://eb8fa4ef-emdash-playground.emdash-cms.workers.dev 403bc99 2026-11-06T22:30:24.896Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://46300616.try.emdashcms.com, https://46300616-emdash-playground.emdash-cms.workers.dev 5721df2 2026-11-06T21:25:11.378Z Visit the dashboard ↗

@pkg-pr-new

pkg-pr-new Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

@emdash-cms/admin

npm i https://pkg.pr.new/@emdash-cms/admin@4712

@emdash-cms/auth

npm i https://pkg.pr.new/@emdash-cms/auth@4712

@emdash-cms/auth-atproto

npm i https://pkg.pr.new/@emdash-cms/auth-atproto@4712

@emdash-cms/blocks

npm i https://pkg.pr.new/@emdash-cms/blocks@4712

@emdash-cms/cloudflare

npm i https://pkg.pr.new/@emdash-cms/cloudflare@4712

@emdash-cms/contentful-to-portable-text

npm i https://pkg.pr.new/@emdash-cms/contentful-to-portable-text@4712

emdash

npm i https://pkg.pr.new/emdash@4712

create-emdash

npm i https://pkg.pr.new/create-emdash@4712

@emdash-cms/gutenberg-to-portable-text

npm i https://pkg.pr.new/@emdash-cms/gutenberg-to-portable-text@4712

@emdash-cms/plugin-cli

npm i https://pkg.pr.new/@emdash-cms/plugin-cli@4712

@emdash-cms/plugin-test

npm i https://pkg.pr.new/@emdash-cms/plugin-test@4712

@emdash-cms/plugin-types

npm i https://pkg.pr.new/@emdash-cms/plugin-types@4712

@emdash-cms/registry-client

npm i https://pkg.pr.new/@emdash-cms/registry-client@4712

@emdash-cms/registry-lexicons

npm i https://pkg.pr.new/@emdash-cms/registry-lexicons@4712

@emdash-cms/registry-loader

npm i https://pkg.pr.new/@emdash-cms/registry-loader@4712

@emdash-cms/registry-moderation

npm i https://pkg.pr.new/@emdash-cms/registry-moderation@4712

@emdash-cms/registry-verification

npm i https://pkg.pr.new/@emdash-cms/registry-verification@4712

upgrade-emdash

npm i https://pkg.pr.new/upgrade-emdash@4712

@emdash-cms/sandbox-workerd

npm i https://pkg.pr.new/@emdash-cms/sandbox-workerd@4712

@emdash-cms/x402

npm i https://pkg.pr.new/@emdash-cms/x402@4712

@emdash-cms/plugin-ai-moderation

npm i https://pkg.pr.new/@emdash-cms/plugin-ai-moderation@4712

@emdash-cms/plugin-ai-search

npm i https://pkg.pr.new/@emdash-cms/plugin-ai-search@4712

@emdash-cms/plugin-atproto

npm i https://pkg.pr.new/@emdash-cms/plugin-atproto@4712

@emdash-cms/plugin-audit-log

npm i https://pkg.pr.new/@emdash-cms/plugin-audit-log@4712

@emdash-cms/plugin-color

npm i https://pkg.pr.new/@emdash-cms/plugin-color@4712

@emdash-cms/plugin-embeds

npm i https://pkg.pr.new/@emdash-cms/plugin-embeds@4712

@emdash-cms/plugin-field-kit

npm i https://pkg.pr.new/@emdash-cms/plugin-field-kit@4712

@emdash-cms/plugin-forms

npm i https://pkg.pr.new/@emdash-cms/plugin-forms@4712

@emdash-cms/plugin-webhook-notifier

npm i https://pkg.pr.new/@emdash-cms/plugin-webhook-notifier@4712

commit: 1c4e033

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
docs 530c61e Nov 08 2026, 12:21 AM

Add concrete reversion guidance in the changeset and canonical sandbox docs: select a custom runner module through sandboxRunner and pass limits.subrequests: 10 through its factory. Include a runtime-only factory and absolute-path integration example, without implying emdash() or sandbox() accepts a direct limits option. Verified source/API accuracy, actual Vite resolution through the virtual-module generator, docs build, formatting, quick lint, and independent follow-up review. No executable code changed in this revision.

EmDash-Bot-Case: 1198246700-issue-5753303380
EmDash-Bot-Candidate: cand-2-53d06a1c45
@github-actions github-actions Bot added size/L and removed size/M labels Nov 6, 2026

@emdashbot emdashbot Bot 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.

Raising the default Cloudflare sandbox subrequest allowance from 10 to 100 is a sound, scoped fix for the reported AT Protocol duplicate-record problem. CPU and wall-time limits are unchanged, and explicit limits.subrequests overrides still apply. The earlier documentation finding is resolved: the changeset and the sandbox docs now explain how to keep the previous ceiling with a custom runner module. They also distinguish runtime-only options from emdash() and sandbox(), and show how to connect a custom factory via sandboxRunner. Both reviewers checked this against the code and approved with no new findings. One caveat both reviewers noted: the tests model one subrequest per bridge call, and neither could confirm that this matches real Worker Loader accounting.


Reviewed by anthropic/claude-opus-5-5 and openai/gpt-6.1-sol.

@emdash-autofix emdash-autofix Bot added triage/awaiting-reporter Fix pushed, waiting on reporter to verify and removed triage/awaiting-reporter Fix pushed, waiting on reporter to verify labels Nov 6, 2026
@danielmlr

Copy link
Copy Markdown
Member

@emdash-autofix Change the default subrequest limit from 100 to 30. Cloudflare allows 32 Worker invocations per request, and every call over a service binding counts toward that (https://developers.cloudflare.com/workers/runtime-apis/bindings/service-bindings/#limits). The plugin bridge is a service binding too. The host Worker and the plugin's own Worker use two of them. So a plugin should get Cloudflare's error at its 31st bridge call, whatever the runner allows, and 100 promises a budget that isn't there.

  • Use 30 everywhere the PR now says 100: DEFAULT_LIMITS in both runners, the subrequests JSDoc in packages/core/src/plugins/sandbox/types.ts, both docs pages and the changeset.
  • Add one sentence next to the Resource limits table in deployment/plugin-sandbox.mdx: Cloudflare's 32-invocation limit caps one plugin call at 30 bridge calls, so a custom runner can lower the limit but not raise it.
  • Convert the path in the custom-runner example to forward slashes (.replaceAll("\\", "/") after fileURLToPath(...)). EmDash puts that path into a generated import string as is, and Windows backslashes break it there.
  • Keep both regression tests as they are; they pass at 30. Don't add a configuration option and don't change the AT Protocol plugin in this PR.

@emdash-autofix emdash-autofix Bot removed the triage/awaiting-reporter Fix pushed, waiting on reporter to verify label Nov 8, 2026
@emdash-autofix

emdash-autofix Bot commented Nov 8, 2026

Copy link
Copy Markdown
Contributor Author

Updated the defaults, JSDoc, both docs pages, and changeset to 30. Added the 32-invocation platform-cap note and normalized the custom-runner path with .replaceAll("\\", "/"). Both regression tests and the AT Protocol plugin are unchanged; all 130 sandbox tests pass at 30, along with the build, scoped typechecks, quick lint, and docs build.

I'm marking this as a partial resolution so the issue stays open: token-refresh sync and publishing with cross-posting can still exceed 30 calls. The changeset and docs now explicitly call out those remaining plugin-side paths rather than promising that every operation fits.

Follow maintainer direction: use 30 for both runner defaults, public JSDoc, both docs pages, and changeset; document Cloudflare's 32-invocation cap and normalize the custom-runner path for Windows. Both regression tests and the AT Protocol plugin remain unchanged. Verified all 130 sandbox tests, the 8-test runtime file on the final tree, root build, scoped typechecks, quick lint, format, docs build, and independent review. Mark partial because token refresh and publishing/cross-post paths can still exceed the platform ceiling; the changeset/docs now state those limitations.

EmDash-Bot-Case: 1198246700-issue-5753303380
EmDash-Bot-Candidate: cand-3-492494b8f3

@emdashbot emdashbot Bot 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.

The approach is sound: raising the default Cloudflare sandbox subrequest allowance is a scoped, partial fix for the AT Protocol duplicate-record problem. The default at this head is 30, not the 100 in the PR title and description. Both reviewers found it consistent across the Cloudflare and workerd runner defaults, the core ResourceLimits JSDoc, the docs and the changeset. Explicit limits.subrequests overrides still apply, and CPU and wall-time limits are unchanged. The earlier reversion-guidance finding stays resolved: the docs explain the runtime-only factory and how to connect it through sandboxRunner. Both reviewers approved with no line-level findings. The changeset is honest that token-refresh sync and publishing with cross-posting still fail at 30, because of Cloudflare's 32-invocation cap. Remaining caveats: the PR title and description still say "10 to 100" and should be updated to match the code. Verification was static only. The tests model one subrequest per bridge call, which may not match real Worker Loader accounting, and the platform limit figure and docs link were not checked.


Reviewed by anthropic/claude-opus-5-5 and openai/gpt-6.1-sol.

@emdash-autofix

emdash-autofix Bot commented Nov 8, 2026

Copy link
Copy Markdown
Contributor Author

The submitted candidate metadata already uses “fix(sandbox): raise default subrequest allowance to platform ceiling” and describes 10 → 30, marked as a partial resolution. If the displayed PR title/body still says 100, that metadata is stale; please align it with 30 and retain the partial-resolution warning so the issue stays open for token-refresh/cross-posting work.

Verification was not static-only: all 130 sandbox tests passed at 30, along with the root build, scoped typechecks, quick lint, and docs build. Actual Cloudflare Worker Loader accounting remains unverified, as the description notes. No further code changes are needed for these comments.

@emdash-autofix emdash-autofix Bot added triage/awaiting-reporter Fix pushed, waiting on reporter to verify and removed triage/awaiting-reporter Fix pushed, waiting on reporter to verify labels Nov 8, 2026
Comment thread .changeset/tidy-sandbox-allowance.md Outdated
"@emdash-cms/sandbox-workerd": patch
---

Raises the default Cloudflare sandbox subrequest allowance from 10 to 30 per invocation so AT Protocol settings and first-login publication sync can complete. Settings reads and other bridge calls share this budget with HTTP requests; the previous allowance could stop a sync after creating a publication on the PDS but before saving its URI, causing retries to create duplicates.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This is confusing. The change isn't about atproto

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Rewritten to describe the general sandbox change: the default allowance increases from 10 to 30 bridge calls for all plugins. Removed the AT Protocol-specific narrative and partial-fix discussion from the changeset, while retaining the platform ceiling, Node.js enforcement distinction, unchanged limits, and guidance for restoring 10. The issue-specific limitations remain in the PR description and sandbox docs.

@emdashbot emdashbot Bot added the review/needs-review No maintainer or bot review yet label Nov 8, 2026
@emdash-autofix emdash-autofix Bot removed the triage/awaiting-reporter Fix pushed, waiting on reporter to verify label Nov 8, 2026
@github-actions github-actions Bot removed the review/needs-review No maintainer or bot review yet label Nov 8, 2026
Rewrite the changeset to describe the general sandbox allowance increase from 10 to 30 rather than AT Protocol behavior. Preserve the platform ceiling, unchanged CPU/wall limits, Node.js enforcement distinction, and concrete reversion guidance. No executable code, tests, or public docs changed. Verified pnpm format, quick lint with zero diagnostics, git diff --check, and independent review. The prior code revision passed all required CI checks; partial issue resolution is unchanged.

EmDash-Bot-Case: 1198246700-issue-5753303380
EmDash-Bot-Candidate: cand-4-6c92e4ebbd

@emdashbot emdashbot Bot 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.

The approach is sound as a scoped, partial fix. Raising the default Cloudflare sandbox subrequest allowance to 30 gives AT Protocol settings and first-login publication sync more headroom, which addresses the duplicate-record cause in #3989. Explicit limits.subrequests overrides still apply, and CPU and wall-time limits are unchanged. Both reviewers approved with no line-level findings. The default of 30 is consistent across the Cloudflare and workerd runner defaults, the ResourceLimits JSDoc, the docs and the changeset. The earlier reversion-guidance finding stays resolved: the changeset and docs show a runtime-only factory wired through sandboxRunner. Token-refresh sync and publishing with cross-posting remain outside this partial fix. Remaining caveats:

  • The PR title and description still say "10 to 100", but the code uses 30. Update them before merging so the squash commit is accurate.
  • Verification was static only. The tests assume one subrequest per bridge call, which may not match real Worker Loader accounting.
  • The platform cap figure and the docs link were not verified.

Reviewed by anthropic/claude-opus-5-5 and openai/gpt-6.1-sol.

@emdash-autofix emdash-autofix Bot added triage/awaiting-reporter Fix pushed, waiting on reporter to verify and removed triage/awaiting-reporter Fix pushed, waiting on reporter to verify labels Nov 8, 2026
@emdashbot emdashbot Bot added the review/needs-review No maintainer or bot review yet label Nov 8, 2026
@ascorbic
ascorbic merged commit 9e3e34d into main Nov 8, 2026
57 checks passed
@github-actions github-actions Bot removed the review/needs-review No maintainer or bot review yet label Nov 8, 2026
@ascorbic
ascorbic deleted the emdash-bot/issue-3989 branch November 8, 2026 13:49
@emdash-autofix emdash-autofix Bot removed the triage/awaiting-reporter Fix pushed, waiting on reporter to verify label Nov 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/cloudflare area/core area/docs bot:fix Assign this issue or pull request to the EmDash bot to fix cla: signed size/L

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants