Skip to content

feat(planetscale): add management actions - #8438

Merged
waleedlatif1 merged 6 commits into
stagingfrom
feat/planetscale-actions
Sep 30, 2026
Merged

waleedlatif1 merged 6 commits into
stagingfrom
feat/planetscale-actions

Conversation

@BillLeoutsakosvl346

Copy link
Copy Markdown
Contributor

Summary

  • Add 15 PlanetScale actions for databases, branches, backups, and Vitess deploy requests.
  • Add service-token authentication, resource selectors, the supplied SVG icon, and generated docs/catalog entries.
  • Branch actions expose scalar configuration. Backup restores use clusterSize; per-keyspace sizing remains outside this integration.

Type of Change

  • New feature

Testing

  • 98 tests passed across the PlanetScale adapter, restore validation, shared selector/provider HTTP, and canonical sub-block suites.
  • Two independent validate-integration passes completed; findings and metadata suggestions addressed.
  • bunx turbo run type-check: 26 tasks passed.
  • bun run lint and all 52 check:audits checks passed.
  • Block-registry, canvas-sentence, docs-manifest, and source whitespace checks passed. Generated integration MDX retains the docs generator's formatting.

Live PlanetScale testing deferred.

Checklist

  • Code follows project style guidelines
  • Self-reviewed my changes
  • Tests added/updated and passing (new tests pass the test-audit authoring gate)
  • No new warnings introduced
  • I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

@vercel

vercel Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
docs Skipped Skipped Sep 29, 2026 11:44pm UTC

Request Review

@cubic-dev-ai cubic-dev-ai 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.

All reported issues were addressed across 48 files

Tip: cubic can generate docs of your entire codebase and keep them up to date. Try it here.

Fix all with cubic | Re-trigger cubic

Comment thread apps/sim/tools/planetscale/types.ts
Comment thread apps/sim/tools/planetscale/review-deploy-request.ts
@greptile-apps

greptile-apps Bot commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

[Medium risk] Adds PlanetScale integration with database and branch management actions.

The PR appears safe to merge based on the reviewed changes.

Summary

The PR adds PlanetScale management actions for databases, branches, backups, and Vitess deploy requests, with service-token authentication and resource selectors.

  • Registers the workflow block and tools, and adds generated catalog, CLI, and integration documentation.
  • Adds selector and backup-restore validation tests.
Diagram
%%{init: {'theme': 'neutral'}}%%
flowchart LR
  A[PlanetScale workflow block] --> B[Resource selectors]
  A --> C[Registered management tools]
  B --> D[PlanetScale API]
  C --> D
  D --> E[Structured workflow outputs]
Loading

Reviews (2) · Last reviewed commit: "chore(planetscale): clarify input and re..."

Comment thread apps/sim/tools/planetscale/create-branch.test.ts
@BillLeoutsakosvl346

Copy link
Copy Markdown
Contributor Author

@greptile

@BillLeoutsakosvl346

Copy link
Copy Markdown
Contributor Author

@cubic-dev-ai review this PR

@cubic-dev-ai

cubic-dev-ai Bot commented Sep 29, 2026

Copy link
Copy Markdown
Contributor

@cubic-dev-ai review this PR

@BillLeoutsakosvl346 I have started the AI code review. It will take a few minutes to complete.

@cubic-dev-ai cubic-dev-ai 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.

No issues found across 48 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Tip: cubic can generate docs of your entire codebase and keep them up to date. Try it here.

Re-trigger cubic

@waleedlatif1
waleedlatif1 merged commit 90dfccf into staging Sep 30, 2026
32 checks passed
@waleedlatif1
waleedlatif1 deleted the feat/planetscale-actions branch September 30, 2026 01:49

This branch was previously deployed

1 inactive deployment
Preview — ec027b51 Deployed Sep 29, 2026 by vercel[bot]
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