Skip to content

Result migration support and manifest overlays - #444

Open
hermabr wants to merge 1 commit into
mainfrom
result-migration-support
Open

Result migration support and manifest overlays#444
hermabr wants to merge 1 commit into
mainfrom
result-migration-support

Conversation

@hermabr

@hermabr hermabr commented Jul 9, 2026

Copy link
Copy Markdown
Owner

Summary

  • Added result-level migration primitives (ResultAdded, ResultRenamed, ResultRewrite) and exported them from the package root.
  • Extended migration validation and result loading so result= migrations can rewrite cached result manifests without mutating the source bundle.
  • Introduced result-manifest overlays and updated loading paths to prefer migrated overlays when present.
  • Added coverage for result migration behavior, chained overlays, and invalid breaking/result combinations.

Testing

  • Not run.
  • Concrete checks added in tests: migrate an old result into a new schema, verify the source bundle manifest stays unchanged, and confirm the overlay is written.
  • Concrete checks added in tests: ensure result migrations compose across multiple schema hops and that embedded child result migrations only affect the child's cached result.
  • Concrete checks added in tests: verify class creation rejects breaking=True combined with result= migrations.

- Add result-level migration steps for cached bundles
- Write migrated result manifests as overlays during load and reuse
- Validate migrated results before persisting links
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