Skip to content

Add Spinwick type, concept of repeatable vs unique IDs #68

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Jan 13, 2025

Conversation

nickmisasi
Copy link
Contributor

Summary

In #67 a new concept of unique Spinwick IDs was introduced to allow support for deletion pending windows. This worked for creation but was problematic for updates, since the same always-unique spinwick ID is assigned as the workspace OwnerID, and couldn't be looked up after creation. This PR adjusts logic so that the 2 types of spinwick IDs can be generated - repeatable, and unique. The former is used for OwnerID, and other lookups, while the latter is used for DNS names.

Ticket Link

N/A

Release Note

None

@mm-cloud-bot mm-cloud-bot added the release-note-none Denotes a PR that doesn't merit a release note. label Jan 8, 2025
@nickmisasi nickmisasi changed the title Add makeRepeatableSpinwickID for look ups based on OwnerID Add Spinwick type, concept of repeatable vs unique IDs Jan 9, 2025
Copy link
Contributor

@streamer45 streamer45 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good! Only left a non-blocking comment on the semantics of the GetInstallationIDFromOwnerID util.

Copy link
Contributor

@gabrieljackson gabrieljackson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice improvements! LGTM

@streamer45
Copy link
Contributor

Merging so I can rebase my changes. Thanks all!

@streamer45 streamer45 merged commit 3878aec into master Jan 13, 2025
2 checks passed
@streamer45 streamer45 deleted the CLD-8628-2 branch January 13, 2025 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note-none Denotes a PR that doesn't merit a release note.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants