Skip to content
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

Deprecate invalid object names and standardize error message #1777

Merged
merged 14 commits into from
May 1, 2024

Conversation

mwaskom
Copy link
Contributor

@mwaskom mwaskom commented Apr 30, 2024

Fixes MOD-2831

Changelog

  • Added a deprecation warning when object names are invalid. This applies to Dict, NetworkFileSystem, Secret, Queue, and Volume objects. Names must be shorter than 64 characters and may contain only alphanumeric characters, dashes, periods, and underscores. These rules were previously enforced, but the check had inadvertently been dropped in a recent refactor. Please update the names of your objects and transfer any data to retain access, as invalid names will become an error in a future release.

@mwaskom mwaskom requested a review from ekzhang April 30, 2024 20:04
@mwaskom mwaskom changed the title Michael/deprecate invalid object names Deprecate invalid object names and standardize error message Apr 30, 2024
Copy link
Member

@ekzhang ekzhang left a comment

Choose a reason for hiding this comment

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

This looks good to me!

@mwaskom
Copy link
Contributor Author

mwaskom commented May 1, 2024

Actually even though you can’t create secrets through the client it probably still makes sense to issue the deprecation warning for them to flag for people looking up the secret.

@mwaskom mwaskom merged commit f2c7eee into main May 1, 2024
22 checks passed
@mwaskom mwaskom deleted the michael/deprecate-invalid-object-names branch May 1, 2024 15:04
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.

2 participants