PREPROD
ReaderAuthor

suite

Hub Sync State

Bookkeeping that tracks each product's integration-hub sync progress.

1 min read · 2 depth levelsstratum-suite · vdevMatches production
Everyday

A HubSyncState row tracks how far along each product is in syncing its integration contracts with the central hub, keyed by slug. It separates what the platform has observed from what it has applied: lastSeenContentSha, lastSeenCommitSha, and lastSeenAt record the most recent contract the hub presented, while lastSyncedCommitSha and lastSyncedAt record the last revision actually pulled in. If something goes wrong, lastSyncError and lastSyncErrorAt preserve the failure so a stalled or drifting sync can be diagnosed.

Technical section
Data model, API, and internals — visible to developers.
View as developer
Was this helpful?