Skip to content

Conversation

aidankmcalister
Copy link
Member

@aidankmcalister aidankmcalister commented Sep 24, 2025

Summary by CodeRabbit

  • New Features
    • Expanded CORS allowlist to include additional verified subdomains under cloudflare-booth*.vercel.app. Requests originating from these domains are now permitted without CORS errors, improving accessibility for clients hosted on those subdomains. No changes to routes or public API behavior; this update solely broadens accepted origins while maintaining existing error handling and control flow.

Copy link

cloudflare-workers-and-pages bot commented Sep 24, 2025

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
claim-db-worker bccd84f Commit Preview URL

Branch Preview URL
Sep 24 2025, 11:05 AM

Copy link

coderabbitai bot commented Sep 24, 2025

Caution

Review failed

The pull request is closed.

Walkthrough

Expanded CORS allowlist by adding a new regex origin /^https://cloudflare-booth.*.vercel.app$/. No changes to route handlers, exports, or error handling. Only origin matching logic is broadened.

Changes

Cohort / File(s) Summary
CORS allowlist update
schema-api-routes/src/index.ts
Added regex origin /^https://cloudflare-booth.*.vercel.app$/ to CORS allowed origins; no public API or handler changes.
✨ Finishing touches
  • 📝 Generate Docstrings
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch add-cloudflare-link

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: ASSERTIVE

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between ac91686 and bccd84f.

📒 Files selected for processing (1)
  • schema-api-routes/src/index.ts (1 hunks)

Tip

👮 Agentic pre-merge checks are now available in preview!

Pro plan users can now enable pre-merge checks in their settings to enforce checklists before merging PRs.

  • Built-in checks – Quickly apply ready-made checks to enforce title conventions, require pull request descriptions that follow templates, validate linked issues for compliance, and more.
  • Custom agentic checks – Define your own rules using CodeRabbit’s advanced agentic capabilities to enforce organization-specific policies and workflows. For example, you can instruct CodeRabbit’s agent to verify that API documentation is updated whenever API schema files are modified in a PR. Note: Upto 5 custom checks are currently allowed during the preview period. Pricing for this feature will be announced in a few weeks.

Please see the documentation for more information.

Example:

reviews:
  pre_merge_checks:
    custom_checks:
      - name: "Undocumented Breaking Changes"
        mode: "warning"
        instructions: |
          Pass/fail criteria: All breaking changes to public APIs, CLI flags, environment variables, configuration keys, database schemas, or HTTP/GraphQL endpoints must be documented in the "Breaking Change" section of the PR description and in CHANGELOG.md. Exclude purely internal or private changes (e.g., code not exported from package entry points or explicitly marked as internal).

Please share your feedback with us on this Discord post.


Comment @coderabbitai help to get the list of available commands and usage tips.

@carlagn carlagn merged commit 1163d1f into main Sep 24, 2025
2 of 5 checks passed
Copy link

Preview CLIs & Workers are live!

Test the CLIs locally under tag pr59-add-cloudflare-link-17974633386:

npx create-db@pr59
npx create-pg@pr59
npx create-postgres@$pr59

Worker URLs
• Create-DB Worker:
• Claim-DB Worker:

These will live as long as this PR exists under tag pr59-add-cloudflare-link-17974633386.

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.

2 participants