-
Notifications
You must be signed in to change notification settings - Fork 9
update-bcd: various flaws with the design #571
Comments
One feature of an improved design that I'd like to see is that we have an explicit test for contradictions between our results for a specific browser release and a BCD-style support statement. Given that, we could apply that test before and after we've updated, and much more easily see what contradictions weren't resolved by the updates. Maybe we'll see that there aren't many and we'd be better off resolving those contradictions manually. |
Hmm, I see that actually we can't deal with |
#1904 added another case where we do nothing, a |
@jugglinmike indeed it was! |
At a high level, update-bcd takes a one or more test reports as input, and modifies a copy of BCD in place to match the test results.
The test results are potentially conflicting, for multiple reasons:
chrome
)The current design of the update-bcd script is:
api/**.json
andcss/**.json
) for which we have data in the support matrix:prefix
/alternative_name
/flags
entries, add our inferred statementThere are a bunch of problems here:
prefix
andalternative_name
, or at least not having multiple variants, as the support matrix squashes this information together too early.Not all of these are very serious, and I don't think any of them cause us to suggest incorrect updates. However, we're leaving some updates on the table by bailing in the situations.
The text was updated successfully, but these errors were encountered: