feat: add digitalocean create and delete database components#3747
Merged
forestileao merged 7 commits intosuperplanehq:mainfrom Apr 16, 2026
Merged
feat: add digitalocean create and delete database components#3747forestileao merged 7 commits intosuperplanehq:mainfrom
forestileao merged 7 commits intosuperplanehq:mainfrom
Conversation
|
👋 Commands for maintainers:
|
95483fd to
9cd6f2d
Compare
- Implement CreateDatabase component for provisioning new managed databases in DigitalOcean. - Implement DeleteDatabase component for removing existing managed databases. - Add tests for both components to ensure proper functionality and error handling. - Introduce metadata handling for database clusters and databases. - Update resource listing to include database clusters and databases. - Enhance UI mappers for create and delete database actions. - Add example output JSON files for both create and delete database actions. - Update documentation for new components and their expected inputs/outputs. Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
9cd6f2d to
54564be
Compare
forestileao
reviewed
Apr 15, 2026
Collaborator
forestileao
left a comment
There was a problem hiding this comment.
@WashingtonKK Here we just need frontedn tests for the mappers
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
…abases Signed-off-by: WashingtonKK <washingtonkigan@gmail.com> # Conflicts: # docs/components/DigitalOcean.mdx # pkg/integrations/digitalocean/client.go # pkg/integrations/digitalocean/database_metadata.go # pkg/integrations/digitalocean/digitalocean.go # pkg/integrations/digitalocean/example.go # pkg/integrations/digitalocean/list_resources.go # pkg/integrations/digitalocean/list_resources_test.go # web_src/src/pages/workflowv2/mappers/digitalocean/database.spec.ts # web_src/src/pages/workflowv2/mappers/digitalocean/index.ts # web_src/src/pages/workflowv2/mappers/digitalocean/types.ts
…ated references Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
Contributor
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit c2e3baf. Configure here.
…on in DigitalOcean database mappers - Removed unused imports and the baseEventSections function from create_database.ts and delete_database.ts. - Updated componentName in database.spec.ts to reflect the new naming convention for DigitalOcean database components. Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
forestileao
approved these changes
Apr 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Implements #3736
This expands the digital ocean integration by adding two components:
digitalocean.CreateDatabasedigitalocean.DeleteDatabaseNote
Medium Risk
Introduces new DigitalOcean actions that create and permanently delete databases within managed clusters, plus new API client calls and resource listing used by configuration pickers. Risk is moderate due to destructive operations and reliance on correct cluster/database resolution and API error handling.
Overview
Adds two new DigitalOcean workflow components:
digitalocean.createDatabase(POST cluster DB) anddigitalocean.deleteDatabase(DELETE cluster DB), emittingdigitalocean.database.created/digitalocean.database.deletedevents and treating 404 deletes as success.Extends the DigitalOcean API client and resource picker support to list database clusters and per-cluster databases, with shared metadata resolution (
DatabaseNodeMetadata) to display cluster/database names.Updates docs, skill templates, embedded example outputs, and workflow UI mappers/types to surface the new actions and render execution details/metadata.
Reviewed by Cursor Bugbot for commit 54564be. Bugbot is set up for automated code reviews on this repo. Configure here.