Skip to content

feat(planetscale): add management actions - #8436

Closed
BillLeoutsakosvl346 wants to merge 5 commits into
stagingfrom
feat/planetscale-actions
Closed

BillLeoutsakosvl346 wants to merge 5 commits into
stagingfrom
feat/planetscale-actions

Conversation

@BillLeoutsakosvl346

@BillLeoutsakosvl346 BillLeoutsakosvl346 commented Sep 29, 2026 •

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.

Type of Change

  • New feature

Testing

  • 98 tests passed across the PlanetScale adapter, restore validation, shared selector/provider HTTP, and canonical sub-block suites.
  • Independent validate-integration audit completed; all findings fixed.
  • 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.

Project Deployment Actions Updated
docs Ready Ready Preview Sep 29, 2026 11:30pm UTC

Request Review

@greptile-apps

greptile-apps Bot commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 4/5

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

The PR does not appear safe to merge until valid backup restores without a top-level cluster size remain supported.

Findings

  1. P1 Valid backup restores are rejected ▶

Summary

Adds PlanetScale management actions, service-token authentication, resource selectors, and catalog and documentation entries. The latest changes add backup-restore validation, operation-specific block outputs, timestamp wands, and registry cleanup.

Reviews (4) · Last reviewed commit: "fix(planetscale): address integration va..."

Comment thread apps/sim/blocks/blocks/planetscale.ts
Comment thread apps/sim/tools/planetscale/utils.ts

@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 46 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/create-branch.ts Outdated
Comment thread apps/sim/tools/planetscale/create-backup.ts Outdated
Comment thread apps/sim/blocks/blocks/planetscale.ts Outdated
@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.

Comment thread apps/sim/blocks/blocks/planetscale.ts Outdated

@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 46 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/blocks/blocks/planetscale.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 47 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

@BillLeoutsakosvl346

Copy link
Copy Markdown
Contributor Author

Independent validate-integration, selector, and memory audits are complete. The follow-up enforces the documented cluster-size requirement for backup restores, exposes that input, adds timestamp/range helpers and related integration metadata, corrects registry placement, and uses block-specific output descriptors while preserving all typed tool schemas. The missing/empty/whitespace cluster-size regressions were shown red before the fix. All 98 focused tests, 26 type-check tasks, and 52 audits pass. Live PlanetScale testing deferred.

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

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/create-branch.ts
Comment thread apps/sim/tools/planetscale/create-branch.ts

This branch was successfully deployed

1 active deployment
Preview — b2f6ac7f 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.

1 participant