json-ld / yaml-ld

CG specification for YAML-LD and UCR
https://json-ld.github.io/yaml-ld/spec
Other
19 stars 8 forks source link

Mapping key types other than strings must fail #126

Closed anatoly-scherbakov closed 8 months ago

anatoly-scherbakov commented 8 months ago

Added a few tests. YAML-LD document will be considered invalid if a mapping key type isn't string.


Preview | Diff

anatoly-scherbakov commented 8 months ago

Failure in CI & locally

anatoly@anatoly-laptop:~/research/yaml-ld$ make spec
respec --verbose --localhost --src spec/index.html --out web/index.html
[INFO] [Timeout: 10000ms] Processing resource: http://localhost:3000/spec/index.html ...
[INFO] [Timeout: 10000ms] Launching browser
[INFO] [Timeout: 9807ms] Navigating to http://localhost:3000/spec/index.html
[INFO] [Timeout: 8780ms] Navigation complete.
[INFO] [Timeout: 8711ms] Using ReSpec v34.2.0
[INFO] [Timeout: 8711ms] Processing ReSpec document...
[ERROR] undefined
[ERROR] Document is not associated with a [W3C group](https://respec.org/w3c/groups/). Defaulting to ‘base’ status.
  Plugin: w3c/defaults
    Hint: Use the [group](https://respec.org/docs/#group) configuration option to associated this document with a W3C group.
[ERROR] undefined
[ERROR] undefined
[INFO] [Timeout: 5231ms] Processed document.
[INFO] [Timeout: 4227ms] Done.

Not yet sure what it is; we do have group declaration in the code:

group: "cg/json-ld",

Anyway, respec.org is inaccessible presently https://github.com/w3c/respec/issues/4568 and I can't get the docs.

gkellogg commented 8 months ago

Could be a transient failure due to infrastructure issues.

TallTed commented 8 months ago

I'm betting that both local and CI failures are due to inability to retrieve https://respec.org/w3c/groups/ to check whether cg/json-ld is there. Hopefully lots of people will jump on https://github.com/w3c/respec/issues/4568 so it gets priority handling!

anatoly-scherbakov commented 8 months ago

Yes! It's green now.