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

Allowlist web-feature tags #25614

Merged
merged 1 commit into from
Jan 9, 2025
Merged

Allowlist web-feature tags #25614

merged 1 commit into from
Jan 9, 2025

Conversation

Elchi3
Copy link
Member

@Elchi3 Elchi3 commented Jan 9, 2025

Summary

Prevent BCD authors from creating new web-features tags (i.e., BCD uses web-features IDs as an allowlist for tags)

Test results and supporting details

Updated test files so that 'web-features:foo' fails and 'web-features:javascript' passes.

Related issues

@ddbeck, Kadir and I talked about the entire workflow yesterday and while want BCD authors to use and apply existing web-feature IDs to BCD features (useful for when BCD features are renamed, or when existing features get additions), we want to prevent that entirely new feature IDs are created in BCD. Instead they should be created in web-features.

For more details, see web-platform-dx/web-features#1672 (comment)

@github-actions github-actions bot added infra Infrastructure issues (npm, GitHub Actions, releases) of this project data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API data:html Compat data for HTML elements. https://developer.mozilla.org/docs/Web/HTML linter Issues or pull requests regarding the tests / linter of the JSON files. dependencies Pull requests that update a dependency package or file. size:m [PR only] 25-100 LoC changed labels Jan 9, 2025
@caugner
Copy link
Contributor

caugner commented Jan 9, 2025

Once this lands, we could probably sync the tags similarly to how we sync mdn_url.

@Elchi3
Copy link
Member Author

Elchi3 commented Jan 9, 2025

Yes, exactly, I asked @queengooborg to get that done as a next step.

@Elchi3 Elchi3 merged commit dc1205a into mdn:main Jan 9, 2025
9 checks passed
@Elchi3 Elchi3 deleted the no-new-web-feature-ids branch January 9, 2025 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API data:html Compat data for HTML elements. https://developer.mozilla.org/docs/Web/HTML dependencies Pull requests that update a dependency package or file. infra Infrastructure issues (npm, GitHub Actions, releases) of this project linter Issues or pull requests regarding the tests / linter of the JSON files. size:m [PR only] 25-100 LoC changed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants