Repository navigation
fix(site): pin playground validator to 0.1.1 (schema v1.3.0 side/arc) - #42
Merged
Merged
Conversation
…/arc) The playground loaded @opencoachingformat/validator@0.1.0, whose bundled schema predates RFC 0004 — so plays using the new side/arc fields were rejected via additionalProperties. Bump to the freshly published 0.1.1 (vendored schema v1.3.0) and re-pin OCF_VALIDATOR_COMMIT to the matching main commit for the error-codes.json fetch. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.
Fixes the live playground rejecting every play that uses the new
side/arcfields (RFC 0004).Cause
site/src/lib/validator-version.mjspinned@opencoachingformat/validator@0.1.0, whose bundled schema predates v1.3.0. The playground loads that exact bundle from jsDelivr, soside/architadditionalProperties: falseand errored — even though the canonical/schema/v1.jsonwas already on 1.3.0.Fix
OCF_VALIDATOR_VERSION0.1.0→0.1.1(just published; vendored schema v1.3.0, verified to accept aside/arcdoc).OCF_VALIDATOR_COMMITre-pinned to the matching validator main commit45a1186for the build-timeerror-codes.jsonfetch (16 codes, unchanged).Verified
npm run test:renderer-playground→ 38/38 pass.npm run build→ all pages build; the fetchederror-codes.jsonfrom the new commit resolves.dist/playground/index.htmlnow references@0.1.1/dist/browser/browser.js.Note: this is the interim exact pin. A follow-up will (per decision) switch the playground to track the latest validator and add schema-version selection + an update check, backed by a
versions.jsonmanifest — and make the spec release auto-republish the validator as a patch so this manual chase isn't needed.🤖 Generated with Claude Code