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

Handle labels in META.yml files #2134

Merged
merged 1 commit into from
Jan 8, 2024
Merged

Handle labels in META.yml files #2134

merged 1 commit into from
Jan 8, 2024

Conversation

jgraham
Copy link
Member

@jgraham jgraham commented Jan 8, 2024

Previously we only correctly handled metadata entries which had a "url" key, which generally speaking labels do not. In practice that meant we failed to notify for test changes in directories with labels.

This change adds a specific type to represent labels and ensure that they're correctly roundtripped through the update process.

This matches the data representation used in other tooling, but we will still need to update the code if a new kind of metadata is added.

@jgraham jgraham requested a review from lutien January 8, 2024 10:34
Previously we only correctly handled metadata entries which had a
"url" key, which generally speaking labels do not. In practice that
meant we failed to notify for test changes in directories with labels.

This change adds a specific type to represent labels and ensure that
they're correctly roundtripped through the update process.

This matches the data representation used in other tooling, but we
will still need to update the code if a new kind of metadata is added.
@jgraham jgraham merged commit 4456899 into master Jan 8, 2024
4 checks passed
@jgraham jgraham deleted the meta_labels branch January 8, 2024 15:09
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