Skip to content

[workers-auth] Make PlanetScale setup scope explicitly requestable - #16184

Merged
petebacondarwin merged 1 commit into
cloudflare:mainfrom
mtlemilio:emilio/SQC-960-planetscale-signature-auth
Oct 9, 2026
Merged

petebacondarwin merged 1 commit into
cloudflare:mainfrom
mtlemilio:emilio/SQC-960-planetscale-signature-auth

Conversation

@mtlemilio

@mtlemilio mtlemilio commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

Fixes SQC-960

Adds hyperdrive-planetscale:setup to the cf OAuth scope catalog as explicitly requestable, while excluding it from default login grants.

This allows the PlanetScale signature command to request the sensitive scope only when needed, with regression coverage for validation and default-scope behavior.


  • Tests
    • Tests included/updated
    • Automated tests not possible - manual testing has been completed as follows:
    • Additional testing not necessary because:
  • Public documentation
    • Cloudflare docs PR(s):
    • Documentation not necessary because: perms are not documented

A picture of a cute animal (not mandatory, but encouraged)


Devin Review

@changeset-bot

changeset-bot Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 1ed7689

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

This PR includes changesets to release 2 packages
Name Type
@cloudflare/workers-auth Minor
@cloudflare/remote-bindings 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

@workers-devprod
workers-devprod requested review from a team and petebacondarwin and removed request for a team October 9, 2026 15:48
@workers-devprod

workers-devprod commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

Codeowners approval required for this PR:

  • ✅ @cloudflare/wrangler
Show detailed file reviewers

@devin-ai-integration devin-ai-integration 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.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@pkg-pr-new

pkg-pr-new Bot commented Oct 9, 2026 •

Copy link
Copy Markdown
@cloudflare/autoconfig

npm i https://pkg.pr.new/@cloudflare/autoconfig@16184

@cloudflare/build-output-utils

npm i https://pkg.pr.new/@cloudflare/build-output-utils@16184

@cloudflare/codemods

npm i https://pkg.pr.new/@cloudflare/codemods@16184

@cloudflare/config

npm i https://pkg.pr.new/@cloudflare/config@16184

@cloudflare/containers-shared

npm i https://pkg.pr.new/@cloudflare/containers-shared@16184

create-cloudflare

npm i https://pkg.pr.new/create-cloudflare@16184

@cloudflare/deploy-helpers

npm i https://pkg.pr.new/@cloudflare/deploy-helpers@16184

@cloudflare/kv-asset-handler

npm i https://pkg.pr.new/@cloudflare/kv-asset-handler@16184

miniflare

npm i https://pkg.pr.new/miniflare@16184

@cloudflare/pages-functions

npm i https://pkg.pr.new/@cloudflare/pages-functions@16184

@cloudflare/pages-shared

npm i https://pkg.pr.new/@cloudflare/pages-shared@16184

@cloudflare/runtime-types

npm i https://pkg.pr.new/@cloudflare/runtime-types@16184

@cloudflare/unenv-preset

npm i https://pkg.pr.new/@cloudflare/unenv-preset@16184

@cloudflare/vite-plugin

npm i https://pkg.pr.new/@cloudflare/vite-plugin@16184

@cloudflare/vitest-plugin

npm i https://pkg.pr.new/@cloudflare/vitest-plugin@16184

@cloudflare/workers-auth

npm i https://pkg.pr.new/@cloudflare/workers-auth@16184

@cloudflare/workers-editor-shared

npm i https://pkg.pr.new/@cloudflare/workers-editor-shared@16184

@cloudflare/workers-utils

npm i https://pkg.pr.new/@cloudflare/workers-utils@16184

wrangler

npm i https://pkg.pr.new/wrangler@16184

commit: 1ed7689

@petebacondarwin
petebacondarwin force-pushed the emilio/SQC-960-planetscale-signature-auth branch from cb02a38 to 1ed7689 Compare October 9, 2026 17:22

@workers-devprod workers-devprod 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.

Codeowners reviews satisfied

@github-project-automation github-project-automation Bot moved this from Untriaged to Approved in workers-sdk Oct 9, 2026
@petebacondarwin
petebacondarwin enabled auto-merge (squash) October 9, 2026 17:47
@petebacondarwin
petebacondarwin merged commit 6c4153e into cloudflare:main Oct 9, 2026
113 of 124 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants