Skip to content

fix: bump RunState schema to 1.1 with explicit backward-read policy#2502

Merged
seratch merged 1 commit intomainfrom
fix/runstate-schema-version-policy
Feb 17, 2026
Merged

fix: bump RunState schema to 1.1 with explicit backward-read policy#2502
seratch merged 1 commit intomainfrom
fix/runstate-schema-version-policy

Conversation

@seratch
Copy link
Member

@seratch seratch commented Feb 17, 2026

This pull request updates RunState schema versioning to make compatibility behavior explicit and safer for future extensions. It bumps the write schema version to 1.1, allows deserialization from both 1.0 and 1.1, and keeps forward compatibility fail-fast for older SDKs. It also documents the schema policy directly in run_state.py and adds test coverage to verify previous-version restore behavior and updated unsupported-version messaging.

@seratch seratch added this to the 0.9.x milestone Feb 17, 2026
@github-actions github-actions bot added enhancement New feature or request feature:core labels Feb 17, 2026
@seratch seratch merged commit db4a462 into main Feb 17, 2026
9 checks passed
@seratch seratch deleted the fix/runstate-schema-version-policy branch February 17, 2026 05:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request feature:core

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant