Description
Summary
In a few places, we've dealt with a compat key but can't publish feature data for one reason or another. We should consider adapting tools (like stats.ts
) or our overall workflow (e.g., add a unpublished
directory with different semantics) to give us a more accurate look at which parts of the platform we've addressed.
Background
Prompted by this comment:
Can we put this in drafts instead, and update our scripts to count keys in drafts as handled? (But excluding auto-updated spec drafts, I think.)
Originally posted by @foolip in #2566 (review)
Problem
The current /features/drafts
folder mingles feature data in two different conditions:
- Feature data that is incomplete (chiefly, the generated features computed from specifications)
- Feature data that is complete, but blocked by non-feature description work (e.g., upstream data quality issues or schema changes)
This means it's difficult to find keys that are unmapped and use them to describe new/unfinished features.
Examples
Here are some cases where this has come up:
- Add holding features for unspecified platform features #2566 — We have to figure out how to modify the schema to help consumers not show this data, but the keys are already dealt with in a useful way. Not publishing these features would do the trick.
- Add features for permissions policy and feature policy #2661 — We have to do upstream data work to make these features make sense with respect to caniuse.