Skip to content

fix: Preserve streams resources when migrating workspace aliases - #4682

Draft
tcannon91 wants to merge 8 commits into
masterfrom
fix/CLOUDP-438825-stream-workspace-alias-migration
Draft

fix: Preserve streams resources when migrating workspace aliases#4682
tcannon91 wants to merge 8 commits into
masterfrom
fix/CLOUDP-438825-stream-workspace-alias-migration

Conversation

@tcannon91

Copy link
Copy Markdown
Collaborator

Summary

  • Prevents stream connection replacement when an unchanged workspace is migrated from instance_name to workspace_name.
  • Makes the alias migration one-way: reverting a resource that already uses workspace_name back to instance_name is rejected during planning.
  • Avoids unnecessary stop/update/restart calls for alias-only stream processor changes and documents the migration.

Testing

  • go test ./internal/service/streamconnection ./internal/service/streamprocessor
  • git diff --check

Notes

  • Acceptance coverage was added but not run locally because it requires configured Atlas acceptance-test credentials and infrastructure.

@github-actions github-actions Bot added the bug label Aug 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant