Repository navigation
ci(deploy): publish the canonical .wind JSON Schema at its $id - #4
Merged
Merged
Conversation
Serve `https://fiberpath.org/schemas/wind/1/wind.schema.json` so the schema's canonical, major-versioned `$id` resolves. The deploy already checks out fiberpath/fiberpath, so the schema is copied live from its generated artifact (no vendored copy to drift) into the built site, post-`mkdocs build` so strict mode never processes it. A grep asserts the published `$id` matches its URL. Refs fiberpath/fiberpath#317 (open-format epic #141, slice D).
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Serve the
.windJSON Schema at its canonical, major-versioned$idso it resolves:https://fiberpath.org/schemas/wind/1/wind.schema.jsonThe deploy already checks out
fiberpath/fiberpath, so the schema is copied live from its generated artifact (fiberpath_gui/schemas/wind-schema.json) into the builtsite/— no vendored copy that could drift. The copy runs aftermkdocs build --strictso mkdocs never processes the JSON, and agrepfails the build if the published$iddoesn't match its serving URL.The
$idis major-only, so every additive 1.x schema serves from/schemas/wind/1/.Closes the publishing task of fiberpath/fiberpath#317 (open-format epic fiberpath/fiberpath#141, slice D). After merge, the
mainpush triggers the deploy; I'll verify the URL returns 200.