Skip to content

feat(crons): Store check-in config snapshots by reference - #126539

Merged
wedamija merged 1 commit into
masterfrom
danf/crons-checkin-config-blob
Oct 14, 2026
Merged

wedamija merged 1 commit into
masterfrom
danf/crons-checkin-config-blob

Conversation

@wedamija

@wedamija wedamija commented Oct 6, 2026 •

Copy link
Copy Markdown
Member

Part of a series reducing crons database work per check-in, as check-in volume grows.

Check-ins now reference a deduplicated MonitorCheckInConfig row via checkin_config instead of writing the config on every row.

Merge after the post-deployment migration from #126541 has run.

@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Oct 6, 2026
@wedamija
wedamija force-pushed the danf/crons-checkin-config-blob branch from af196a3 to eb09eb5 Compare October 6, 2026 01:15
@wedamija
wedamija changed the base branch from master to danf/crons-checkin-config-table October 6, 2026 01:15
@sentry

sentry Bot commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Sentry Snapshot Testing

Name Added Removed Changed Renamed Unchanged Skipped Status
sentry-frontend
sentry-frontend
0 0 0 0 620 0 ✅ Unchanged

⚙️ sentry-frontend Snapshot Settings

@wedamija
wedamija marked this pull request as ready for review October 14, 2026 17:18
@wedamija
wedamija requested review from a team as code owners October 14, 2026 17:18
Base automatically changed from danf/crons-checkin-config-table to master October 14, 2026 17:20
@wedamija
wedamija requested a review from a team as a code owner October 14, 2026 17:20
New check-ins and missed check-ins reference a deduplicated
MonitorCheckInConfig row instead of storing their own copy of the config.
Config ids are cached in a per-process LRU and the model cache, and the
serializer reads the config from the referenced row.
@wedamija
wedamija force-pushed the danf/crons-checkin-config-blob branch from 0fff297 to caf97e9 Compare October 14, 2026 17:23
@getsentry getsentry deleted a comment from github-actions Bot Oct 14, 2026
@wedamija
wedamija merged commit 811f905 into master Oct 14, 2026
91 of 97 checks passed
@wedamija
wedamija deleted the danf/crons-checkin-config-blob branch October 14, 2026 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants