Skip to content

feat: enforce playout schema version#166

Merged
jasongdove merged 2 commits into
mainfrom
feat/enforce-playout-schema-version
May 27, 2026
Merged

feat: enforce playout schema version#166
jasongdove merged 2 commits into
mainfrom
feat/enforce-playout-schema-version

Conversation

@jasongdove

Copy link
Copy Markdown
Contributor

No description provided.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces schema versioning and validation for playout files. It defines a SchemaVersion struct, parses the version URI from the playout JSON, and validates it against the supported schema version before parsing the full playout structure. A review comment points out an inconsistency in the UnsupportedSchemaVersion error message, where the found version is a full URI but the expected version is formatted as a short version string, and suggests formatting the expected version as a full URI for consistency.

Comment thread crates/ersatztv-playout/src/playout.rs
@jasongdove jasongdove merged commit e2aa2a9 into main May 27, 2026
8 checks passed
@jasongdove jasongdove deleted the feat/enforce-playout-schema-version branch May 27, 2026 18:08
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