Skip to content

Conversation

tidoust
Copy link
Member

@tidoust tidoust commented Dec 19, 2024

This leverages CDDL validation in Strudy to provide a validation guarantee to curated CDDL extracts, see #1417.

A cddlpatches folder, which will hopefully remain empty, gets added so that we may temporarily patch CDDL extracts when they become invalid.

The PR is ready for review, but CDDL extracts in Webref are invalid for now. CDDL extracts from the permissions spec should become valid with next crawl. CDDL extracts from the at-driver depend on w3c/at-driver#85. I suggest to leave this PR pending until the extracts in Webref become valid, not to have to start with adding patches.

@jugglinmike
Copy link

I just merged w3c/at-driver#85, so if that's been a blocker here, it's clear now.

This leverages CDDL validation in Strudy to provide a validation guarantee to
curated CDDL extracts.

A `cddlpatches` folder, which will hopefully remain empty, gets added so that
we may temporarily patch CDDL extracts that become invalid.
Bumping the version of Strudy brings new Web IDL anomaly types:
- `noEvent` needs events data that is not included in the data we pass to the
study function. It must be ignored.
- `urlType` is new and we probably don't want to block curation because of it,
at least for now (or we're going to have a lot of patching to do...)
@dontcallmedom
Copy link
Member

the tests now pass \o/

@tidoust tidoust merged commit 49c00ac into main Jan 7, 2025
1 check passed
@tidoust tidoust deleted the cddl-validation branch January 7, 2025 08:52
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.

3 participants