Skip to content

fix: better social seed#3749

Merged
rebelchris merged 3 commits intomainfrom
fix-seeds
Mar 26, 2026
Merged

fix: better social seed#3749
rebelchris merged 3 commits intomainfrom
fix-seeds

Conversation

@rebelchris
Copy link
Copy Markdown
Contributor

No description provided.

@pulumi
Copy link
Copy Markdown

pulumi Bot commented Mar 26, 2026

🍹 The Update (preview) for dailydotdev/api/prod (at 67053e8) was successful.

✨ Neo Explanation

This is a standard application deployment rolling out a new build across all 7 services, 38 cron jobs, and triggering fresh database and ClickHouse migration jobs for the new version. The primary risk is the schema migrations running against production databases.

Root Cause Analysis

A new version of the API application has been pushed, bumping the container image from one build to the next. Every Kubernetes resource in the cluster is versioned using the image tag, so a new build triggers a fleet-wide rollout.

Dependency Chain

The new container image tag propagates uniformly across all resources:

  • 7 Deployments (API, background workers, WebSocket, private, temporal, personalized digest, worker jobs) are updated in-place to pull the new image — Kubernetes will perform a rolling update for each.
  • 38 CronJobs have their image reference updated so future scheduled runs use the new build.
  • 2 one-time migration Jobs (database and ClickHouse) are replaced: the old versions tied to the previous build are deleted, and new migration jobs for the current build are created. This is the standard pattern for running schema migrations on each deploy.

Risk Analysis

No stateful resources (databases, storage buckets, persistent volumes) are being modified or deleted. The migration Jobs are the only sensitive operations — they will run database and ClickHouse schema migrations against production, which carries inherent risk if the migrations are destructive or non-backward-compatible. The Deployments use rolling updates, so no downtime is expected for live services.

Resource Changes

    Name                                                       Type                           Operation
~   vpc-native-user-profile-updated-sync-cron                  kubernetes:batch/v1:CronJob    update
~   vpc-native-check-analytics-report-cron                     kubernetes:batch/v1:CronJob    update
~   vpc-native-clean-gifted-plus-cron                          kubernetes:batch/v1:CronJob    update
~   vpc-native-sync-subscription-with-cio-cron                 kubernetes:batch/v1:CronJob    update
~   vpc-native-clean-stale-user-transactions-cron              kubernetes:batch/v1:CronJob    update
~   vpc-native-worker-job-deployment                           kubernetes:apps/v1:Deployment  update
~   vpc-native-update-trending-cron                            kubernetes:batch/v1:CronJob    update
~   vpc-native-personalized-digest-deployment                  kubernetes:apps/v1:Deployment  update
~   vpc-native-user-posts-analytics-refresh-cron               kubernetes:batch/v1:CronJob    update
~   vpc-native-clean-expired-better-auth-sessions-cron         kubernetes:batch/v1:CronJob    update
~   vpc-native-update-source-public-threshold-cron             kubernetes:batch/v1:CronJob    update
~   vpc-native-deployment                                      kubernetes:apps/v1:Deployment  update
~   vpc-native-ws-deployment                                   kubernetes:apps/v1:Deployment  update
~   vpc-native-generate-search-invites-cron                    kubernetes:batch/v1:CronJob    update
~   vpc-native-squad-posts-analytics-refresh-cron              kubernetes:batch/v1:CronJob    update
+   vpc-native-api-clickhouse-migration-f0749a58               kubernetes:batch/v1:Job        create
~   vpc-native-calculate-top-readers-cron                      kubernetes:batch/v1:CronJob    update
~   vpc-native-update-achievement-rarity-cron                  kubernetes:batch/v1:CronJob    update
+   vpc-native-api-db-migration-f0749a58                       kubernetes:batch/v1:Job        create
~   vpc-native-validate-active-users-cron                      kubernetes:batch/v1:CronJob    update
~   vpc-native-user-profile-analytics-history-clickhouse-cron  kubernetes:batch/v1:CronJob    update
~   vpc-native-update-views-cron                               kubernetes:batch/v1:CronJob    update
~   vpc-native-private-deployment                              kubernetes:apps/v1:Deployment  update
~   vpc-native-daily-digest-cron                               kubernetes:batch/v1:CronJob    update
~   vpc-native-temporal-deployment                             kubernetes:apps/v1:Deployment  update
~   vpc-native-update-tag-recommendations-cron                 kubernetes:batch/v1:CronJob    update
~   vpc-native-post-analytics-clickhouse-cron                  kubernetes:batch/v1:CronJob    update
-   vpc-native-api-clickhouse-migration-a12f4958               kubernetes:batch/v1:Job        delete
~   vpc-native-update-tags-str-cron                            kubernetes:batch/v1:CronJob    update
~   vpc-native-hourly-notification-cron                        kubernetes:batch/v1:CronJob    update
~   vpc-native-bg-deployment                                   kubernetes:apps/v1:Deployment  update
~   vpc-native-update-current-streak-cron                      kubernetes:batch/v1:CronJob    update
~   vpc-native-clean-channel-highlights-cron                   kubernetes:batch/v1:CronJob    update
~   vpc-native-clean-zombie-opportunities-cron                 kubernetes:batch/v1:CronJob    update
~   vpc-native-clean-zombie-users-cron                         kubernetes:batch/v1:CronJob    update
~   vpc-native-rotate-weekly-quests-cron                       kubernetes:batch/v1:CronJob    update
~   vpc-native-update-highlighted-views-cron                   kubernetes:batch/v1:CronJob    update
-   vpc-native-api-db-migration-a12f4958                       kubernetes:batch/v1:Job        delete
~   vpc-native-rotate-daily-quests-cron                        kubernetes:batch/v1:CronJob    update
~   vpc-native-clean-zombie-images-cron                        kubernetes:batch/v1:CronJob    update
~   vpc-native-post-analytics-history-day-clickhouse-cron      kubernetes:batch/v1:CronJob    update
... and 10 other changes

@rebelchris rebelchris merged commit 3551cc1 into main Mar 26, 2026
10 checks passed
@rebelchris rebelchris deleted the fix-seeds branch March 26, 2026 08:54
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