Skip to content

fix: separate Cloudflare Worker type checking#2

Merged
Super-Genius merged 6 commits into
mainfrom
agent/configurable-webhook-filtering
Jul 18, 2026
Merged

fix: separate Cloudflare Worker type checking#2
Super-Genius merged 6 commits into
mainfrom
agent/configurable-webhook-filtering

Conversation

@Super-Genius

Copy link
Copy Markdown
Contributor

Fixes the production deployment type-check failure.

The prior configuration type-checked Cloudflare Worker globals, Node globals, the Node-only Matrix login CLI, and Node test sources together. Cloudflare and Node declare overlapping platform types, causing the deployment workflow to fail before configuration generation or deploy.

This restricts the Worker TypeScript project to src/index.ts and src/filters.ts, with only @cloudflare/workers-types. Tests remain executed by tsx --test.

The deployment workflow failure that exposed this is run 29618450369.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 54b97c844f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread tsconfig.json
@Super-Genius
Super-Genius merged commit 8d74cc2 into main Jul 18, 2026
1 check 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