Skip to content

Fix missing Worker export for merge-risk capability - #63

Merged
matthewp merged 1 commit into
mainfrom
fix/merge-risk-worker-export
Nov 5, 2026
Merged

matthewp merged 1 commit into
mainfrom
fix/merge-risk-worker-export

Conversation

@matthewp

@matthewp matthewp commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

Changes

  • Adds MergeRiskCoordinator and MergeRiskWorkflow to src/cloudflare.ts, the Worker's export manifest for Durable Object and Workflow classes. Add merge-risk assessment for reviewed pull requests #62 added both classes and their wrangler.jsonc bindings but missed exporting them here, which broke the Workers Builds deploy: Workflow MergeRiskWorkflow must be exported or a script_name must be specified [code: 10021]. The site is unaffected — the Worker is still serving the last successful deploy — but merge risk assessment can't go live until this merges.

Testing

  • No new tests; pnpm build + wrangler deploy --dry-run now get past the export validation error that failed the build (local dry-run only fails on an unrelated Docker/container requirement for the Sandbox image).

Docs

  • None needed.

src/cloudflare.ts is the Worker's export manifest for Durable Object and Workflow classes; omitting these broke the Workers Builds deploy for #62 with "Workflow MergeRiskWorkflow must be exported" (code 10021).
@matthewp
matthewp merged commit 6a94f4b into main Nov 5, 2026
1 check passed
@matthewp
matthewp deleted the fix/merge-risk-worker-export branch November 5, 2026 19:45
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