Skip to content

Use pr in the GitLab domainId example and check domainId vectors in CI - #346

Open
cvas22 wants to merge 1 commit into
cdevents:mainfrom
cvas22:domainid-mr-type
Open

cvas22 wants to merge 1 commit into
cdevents:mainfrom
cvas22:domainid-mr-type

Conversation

@cvas22

@cvas22 cvas22 commented Nov 23, 2026

Copy link
Copy Markdown

Changes

Fixes #345. The GitLab domainId example used type mr, which isn't a governed resource type since pr already covers merge requests. I switched it to pr in links.md, the domainid schema examples and the conformance vectors.

I also added a check to tools/validate.js that runs conformance/formats/domainid.json and the domainid schema examples against the domainid schema and the provider and resource-type registries, and checks that the valid cases' segments join into the expected string. Locally it passes with this change and flags both mr spots when run against main.

Submitter Checklist

As the author of this PR, please check off the items in this checklist:

The GitLab example used type mr, which isn't one of the governed
resource types (pr already covers merge requests), so it contradicted
links.md and the resource-types registry. Switch it to pr in links.md,
the domainid schema examples and the conformance vectors.

Also add a check to validate.js that runs the domainId test vectors and
the schema examples against the domainid schema and the provider and
resource type registries, and makes sure the valid cases' segments
serialize to the expected string.

Fixes cdevents#345

Signed-off-by: Srinivas Chippagiri <cvas22@gmail.com>
@cvas22
cvas22 requested a review from a team as a code owner November 23, 2026 09:45
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.

GitLab domainId example uses type mr, which isn't a governed resource type

1 participant