Skip to content

Keep seat reconciliation alive after the response - #2001

Merged
RhysSullivan merged 3 commits into
mainfrom
casa-seat-reconciliation
Sep 15, 2026
Merged

RhysSullivan merged 3 commits into
mainfrom
casa-seat-reconciliation

Conversation

@RhysSullivan

@RhysSullivan RhysSullivan commented Sep 15, 2026

Copy link
Copy Markdown
Collaborator

Seat reconciliation can stop after a membership response because the background Effect is not registered with Cloudflare. The post-merge billing scenario observed the member removal succeed while the second Autumn reconciliation never arrived.

Register the recount promise with waitUntil so Cloudflare keeps the request alive until it settles. The response remains non-blocking and existing billing error reporting remains intact. Add the matching worker stub for node-pool tests.

Validation: the unchanged seat-billing E2E scenario passes against real workerd with WorkOS and Autumn emulators; cloud typecheck and formatting pass. The callback fixture now provides billing and awaits registered background promises before disposal. Cloud unit tests pass in CI. Full CI status is attached to this PR.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 15, 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 Preview URL Updated (UTC)
✅ Deployment successful!
View logs
executor-marketing b84cc20 Commit Preview URL

Branch Preview URL
Sep 15 2026, 06:30 AM

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 15, 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
executor-cloud b84cc20 Sep 15 2026, 06:31 AM

@github-actions

github-actions Bot commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Cloudflare preview

Torn down — the PR is closed.

@pkg-pr-new

pkg-pr-new Bot commented Sep 15, 2026

Copy link
Copy Markdown

Open in StackBlitz

@executor-js/cli

npm i https://pkg.pr.new/@executor-js/cli@2001

@executor-js/config

npm i https://pkg.pr.new/@executor-js/config@2001

@executor-js/execution

npm i https://pkg.pr.new/@executor-js/execution@2001

@executor-js/sdk

npm i https://pkg.pr.new/@executor-js/sdk@2001

@executor-js/codemode-core

npm i https://pkg.pr.new/@executor-js/codemode-core@2001

@executor-js/runtime-quickjs

npm i https://pkg.pr.new/@executor-js/runtime-quickjs@2001

@executor-js/plugin-file-secrets

npm i https://pkg.pr.new/@executor-js/plugin-file-secrets@2001

@executor-js/plugin-graphql

npm i https://pkg.pr.new/@executor-js/plugin-graphql@2001

@executor-js/plugin-keychain

npm i https://pkg.pr.new/@executor-js/plugin-keychain@2001

@executor-js/plugin-mcp

npm i https://pkg.pr.new/@executor-js/plugin-mcp@2001

@executor-js/plugin-onepassword

npm i https://pkg.pr.new/@executor-js/plugin-onepassword@2001

@executor-js/plugin-openapi

npm i https://pkg.pr.new/@executor-js/plugin-openapi@2001

executor

npm i https://pkg.pr.new/executor@2001

commit: b84cc20

@RhysSullivan
RhysSullivan marked this pull request as ready for review September 15, 2026 06:33
@RhysSullivan
RhysSullivan merged commit c9cc5e7 into main Sep 15, 2026
44 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant