Skip to content

Conversation

@robbat2
Copy link
Contributor

@robbat2 robbat2 commented Jan 10, 2026

Closes: #234
Co-authored-by: Codex [email protected]
Generated-with: OpenAI Codex CLI (partial)
Signed-off-by: Robin H. Johnson [email protected]

Closes: sourcemeta#234
Co-authored-by: Codex <[email protected]>
Generated-with: OpenAI Codex CLI (partial)
Signed-off-by: Robin H. Johnson <[email protected]>
@robbat2 robbat2 force-pushed the rjohnson/http-fetch-validate branch from 050993e to eca24c0 Compare January 10, 2026 16:04
@robbat2
Copy link
Contributor Author

robbat2 commented Jan 10, 2026

Interesting heisenbug failure - the URL is fine, but it had a 404 when the test ran?

435/451 Test #435: JSONSchema.ci.fail_bundle_http_non_schema_verbose .............................***Failed    0.60 sec
2,3c2,5
< error: HTTP 404
<   at https://schemas.sourcemeta.com/self/v1/api/schemas/stats/jsonschema/2020-12/schema
---
> error: The JSON document is not a valid JSON Schema
>   at identifier https://schemas.sourcemeta.com/self/v1/api/schemas/stats/jsonschema/2020-12/schema
>   at file path /tmp/tmp.psSZLWYWpc/schema.json
>   at location "/allOf/0/$ref"

        Start 439: JSONSchema.ci.fail_validate_http_non_schema_verbose
436/451 Test #431: JSONSchema.ci.pass_bundle_http ................................................   Passed    0.74 sec

Windows build:
```
In D:/a/jsonschema/jsonschema/test/ci/fail_metaschema_schema_http_404.sh line 8:
  clean() { rm -rf "$TMP"; }
... SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
```

MacOS-15 build:
```
In /Users/runner/work/jsonschema/jsonschema/test/ci/fail_metaschema_schema_http_404.sh line 7:
clean() { rm -rf "$TMP"; }
... SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly).
```

Signed-off-by: Robin H. Johnson <[email protected]>
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.

Extend validate/metaschema to directly take a URL to a schema to validate

1 participant