Skip to content

Rewrite sst state repair to use Pulumi#6850

Open
vimtor wants to merge 5 commits into
devfrom
pulumi-state-repair
Open

Rewrite sst state repair to use Pulumi#6850
vimtor wants to merge 5 commits into
devfrom
pulumi-state-repair

Conversation

@vimtor
Copy link
Copy Markdown
Collaborator

@vimtor vimtor commented May 1, 2026

Closes #6708

  • Replace custom pkg/state repair/remove logic with Pulumi's Snapshot.Repair (toposort + prune) and edit.DeleteResource
  • sst state repair now reorders resources, handles DeletedWith/ReplaceWith, and unparents orphaned children instead of deleting them
  • sst state remove now cascades to all dependents (not just children), refuses protected resources, and cleans up stale pending operations
  • Update confirmation prompts to render Pulumi-style PruneResult output with dependency-type labels

@vimtor vimtor changed the title Rewrite and to use Pulumi snapshot library Rewrite sst state repair and remove to use Pulumi snapshot library May 1, 2026
@vimtor vimtor changed the title Rewrite sst state repair and remove to use Pulumi snapshot library Rewrite sst state repair and remove to use Pulumi May 1, 2026
@vimtor vimtor changed the title Rewrite sst state repair and remove to use Pulumi Rewrite `sst state repair to use Pulumi May 1, 2026
@vimtor vimtor changed the title Rewrite `sst state repair to use Pulumi Rewrite sst state repair to use Pulumi May 1, 2026
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.

Replace sst state repair with Pulumi's built-in command

1 participant