Skip to content

[03] Pipeline state as a snapshot blob; DB becomes a downstream consumer - #21

Open
chondl wants to merge 5 commits into
cph-blob-gcfrom
cph-state-snapshot
Open

[03] Pipeline state as a snapshot blob; DB becomes a downstream consumer#21
chondl wants to merge 5 commits into
cph-blob-gcfrom
cph-state-snapshot

Conversation

@chondl

@chondl chondl commented Jul 19, 2026

Copy link
Copy Markdown
Owner

Replacement for #9 (auto-closed by branch rename). Part of the cph-staging series.

chondl added 5 commits July 10, 2026 14:46
… rows

F1: the event-blob gate needs the pre-cycle objs to tell which events actually
changed, so deepcopy them and pass as orig instead of None. team-page lag: build
each team's current-year row from the in-memory objs (fresh this cycle) instead
of the persisted read (previous cycle), matching the team_years list blob.
A5: deserialize now checks the embedded schema version and read_snapshot falls
back to the DB path (logging why) on mismatch or a corrupt/short payload, instead
of silently None-ing missing fields. Bump SNAPSHOT_SCHEMA on any ORM column
change. A6: the staging tmp blob key carries pid+uuid so two concurrent
publishers cannot race on a shared key.
@chondl chondl changed the title [blob-store 3/5] Pipeline state as a snapshot blob; DB becomes a downstream consumer [03] Pipeline state as a snapshot blob; DB becomes a downstream consumer Jul 19, 2026
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