Skip to content

Empty-@context fixture must leave the no-filter green path - #30

Open
forest-savage1234 wants to merge 1 commit into
kchason:mainfrom
forest-savage1234:leftover-c6
Open

Empty-@context fixture must leave the no-filter green path#30
forest-savage1234 wants to merge 1 commit into
kchason:mainfrom
forest-savage1234:leftover-c6

Conversation

@forest-savage1234

Copy link
Copy Markdown

Empty-@context fixture must leave the no-filter green path

tests/data/no-context.json is {"@context": {}} with compact CURIEs (uco-identity:Organization). The CI job "Directory No Filter" validates ./tests/data/, so this file is on the green path and is reported as conforming. Unexpanded CURIEs are not CDO HTTPS IRIs, so CDO/SHACL checks do not bind.

This packet moves that fixture to tests/negative/ so the no-filter job no longer validates it. The JSON is unchanged. The validator is unchanged. The CASE 1.4.0 pin is KNOWN and stays. The empty-directory walk is C5.

Files

  1. tests/data/no-context.jsontests/negative/no-context.json (rename only)
  2. .github/workflows/validate.yml — one-line comment on the no-filter step

Out of scope

  • C5 (empty files list still exits 0)
  • CASE 1.4.0 pin / adding case-1.5.0 (KNOWN)
  • Rewriting entrypoint.py

How to review

The dest is that the fixture is no longer under tests/data/. The no-filter job still points at ./tests/data/. The JSON bytes are the same.

I am a volunteer. Thank you for the time. I am trying to become more useful on this work, so I welcome a critical look. If this is the wrong cut, or you want me to stand down, say so and I will recut from notes.

Signed-off-by: Forest Savage <forestsavage03@gmail.com>
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.

1 participant