Skip to content

refactor(storage): tighten relational Job persistence - #209

Merged
kfstorm merged 1 commit into
mainfrom
fresh-otter
Aug 24, 2026
Merged

refactor(storage): tighten relational Job persistence#209
kfstorm merged 1 commit into
mainfrom
fresh-otter

Conversation

@kfstorm

@kfstorm kfstorm commented Aug 24, 2026

Copy link
Copy Markdown
Owner

Summary

  • Batch-load relational Job history and Term map snapshot rows with three bounded queries while preserving ordering.
  • Derive in-memory Job identity from the persisted record ID instead of accepting a duplicate helper argument.
  • Initialize Job Term map snapshot metadata and entries only on Job creation, keeping them immutable across updates and retries.

Impact

No schema migration, new dependency, or public API change is introduced. Existing relational storage remains compatible.

Batch-load Job history and Term map snapshot rows in bounded queries while preserving persistence ordering.

Derive in-memory Job identity from the persisted record and initialize immutable snapshot metadata and entries only when a Job is created.
@kfstorm
kfstorm merged commit 360132b into main Aug 24, 2026
3 checks passed
@kfstorm
kfstorm deleted the fresh-otter branch August 24, 2026 22:29
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