-
Notifications
You must be signed in to change notification settings - Fork 79
Description
We currently have three different sets of metadata:
- The
META.ymlfiles in web-platform-tests/wpt, which contain directory-level metadata, with two keys:spec(a URL) andsuggested_reviewers(a sequence of GitHub usernames). - The
WEB_FEATURE.ymlfiles in web-platform-tests/wpt, which map tests in a directory to Web Features. - The
META.ymlfiles in web-platform-tests/wpt-metadata, which:- Map tests in a directory to labels,
- Map tests in a directory, or subtests within a test in a directory, to (potentially "product" specific) URLs, intended to link to bugs.
This feels like we have entirely too many locations for metadata, and there's been enough times when people haven't realised that there is metadata for something somewhere, just in a different place. And least to me, it isn't clear what benefit we gain from this current duplication.
At first glance, "spec" and "web feature" seem kinda similar, and "web feature" and "label" seem kinda similar.
The Web Features RFC cites these meeting notes for the decision to put them in a separate file to the pre-existing META.yml, but it's not obvious why that decision was made.
When it comes to the wpt-metadata data, the labelling data often ends up having to have paired WPT PRs when test changes are made to Interop tests; though keeping the product-specific data out of the main repo seems sensible, even if it is still tied to the main repo's revision.
I don't know if there's appetite to try and merge some of these files, but maybe we should consider it for the sake of discoverability?