Skip to content

fix: user master#3736

Merged
rebelchris merged 1 commit intomainfrom
fix-user-master
Mar 23, 2026
Merged

fix: user master#3736
rebelchris merged 1 commit intomainfrom
fix-user-master

Conversation

@rebelchris
Copy link
Contributor

No description provided.

@pulumi
Copy link

pulumi bot commented Mar 23, 2026

🍹 The Update (preview) for dailydotdev/api/prod (at 13c8a1b) was successful.

✨ Neo Explanation

This is a standard application release rolling out a new version across all 7 services, 38 cron jobs, and triggering fresh database and ClickHouse migration jobs to run against the new codebase. The primary risk to watch is whether the migration jobs complete successfully before traffic hits the new pods.

Root Cause Analysis

A new version of the API application has been deployed. Every workload across the cluster is being updated to run the new container image, with the version tag changing uniformly across all resources.

Dependency Chain

The new application version causes:

  1. All 7 Deployments (API, background workers, WebSocket, private, temporal, personalized digest, worker jobs) are rolling out the new container image.
  2. All 38 CronJobs are updated to reference the new image so future scheduled runs use the new version.
  3. Database migration jobs — both the primary DB migration (TypeORM) and the ClickHouse migration — are replaced: the old versioned jobs are deleted and new ones are created to run the migrations for the new release.

Risk analysis

The database and ClickHouse migration jobs represent the main area of attention — if the migrations fail or introduce breaking schema changes, the newly deployed application pods could be affected. The rolling update strategy on the Deployments should prevent downtime for the application services themselves.

Resource Changes

    Name                                                   Type                           Operation
~   vpc-native-post-analytics-history-day-clickhouse-cron  kubernetes:batch/v1:CronJob    update
~   vpc-native-rotate-daily-quests-cron                    kubernetes:batch/v1:CronJob    update
~   vpc-native-clean-zombie-images-cron                    kubernetes:batch/v1:CronJob    update
~   vpc-native-clean-zombie-user-companies-cron            kubernetes:batch/v1:CronJob    update
~   vpc-native-update-highlighted-views-cron               kubernetes:batch/v1:CronJob    update
~   vpc-native-temporal-deployment                         kubernetes:apps/v1:Deployment  update
~   vpc-native-update-achievement-rarity-cron              kubernetes:batch/v1:CronJob    update
~   vpc-native-generic-referral-reminder-cron              kubernetes:batch/v1:CronJob    update
~   vpc-native-clean-zombie-opportunities-cron             kubernetes:batch/v1:CronJob    update
~   vpc-native-user-posts-analytics-refresh-cron           kubernetes:batch/v1:CronJob    update
~   vpc-native-worker-job-deployment                       kubernetes:apps/v1:Deployment  update
~   vpc-native-update-current-streak-cron                  kubernetes:batch/v1:CronJob    update
~   vpc-native-squad-posts-analytics-refresh-cron          kubernetes:batch/v1:CronJob    update
~   vpc-native-update-source-public-threshold-cron         kubernetes:batch/v1:CronJob    update
~   vpc-native-ws-deployment                               kubernetes:apps/v1:Deployment  update
~   vpc-native-update-source-tag-view-cron                 kubernetes:batch/v1:CronJob    update
~   vpc-native-personalized-digest-cron                    kubernetes:batch/v1:CronJob    update
~   vpc-native-generate-search-invites-cron                kubernetes:batch/v1:CronJob    update
~   vpc-native-update-views-cron                           kubernetes:batch/v1:CronJob    update
~   vpc-native-check-analytics-report-cron                 kubernetes:batch/v1:CronJob    update
~   vpc-native-clean-expired-better-auth-sessions-cron     kubernetes:batch/v1:CronJob    update
~   vpc-native-channel-digests-cron                        kubernetes:batch/v1:CronJob    update
-   vpc-native-api-db-migration-5a42912a                   kubernetes:batch/v1:Job        delete
~   vpc-native-post-analytics-clickhouse-cron              kubernetes:batch/v1:CronJob    update
+   vpc-native-api-db-migration-fe42e01b                   kubernetes:batch/v1:Job        create
~   vpc-native-clean-channel-highlights-cron               kubernetes:batch/v1:CronJob    update
~   vpc-native-personalized-digest-deployment              kubernetes:apps/v1:Deployment  update
~   vpc-native-deployment                                  kubernetes:apps/v1:Deployment  update
~   vpc-native-daily-digest-cron                           kubernetes:batch/v1:CronJob    update
~   vpc-native-channel-highlights-cron                     kubernetes:batch/v1:CronJob    update
~   vpc-native-expire-super-agent-trial-cron               kubernetes:batch/v1:CronJob    update
~   vpc-native-clean-zombie-users-cron                     kubernetes:batch/v1:CronJob    update
~   vpc-native-sync-subscription-with-cio-cron             kubernetes:batch/v1:CronJob    update
~   vpc-native-calculate-top-readers-cron                  kubernetes:batch/v1:CronJob    update
-   vpc-native-api-clickhouse-migration-5a42912a           kubernetes:batch/v1:Job        delete
~   vpc-native-private-deployment                          kubernetes:apps/v1:Deployment  update
~   vpc-native-hourly-notification-cron                    kubernetes:batch/v1:CronJob    update
~   vpc-native-update-tag-recommendations-cron             kubernetes:batch/v1:CronJob    update
~   vpc-native-bg-deployment                               kubernetes:apps/v1:Deployment  update
~   vpc-native-user-profile-analytics-clickhouse-cron      kubernetes:batch/v1:CronJob    update
~   vpc-native-user-profile-updated-sync-cron              kubernetes:batch/v1:CronJob    update
... and 10 other changes

@rebelchris rebelchris enabled auto-merge (squash) March 23, 2026 14:39
@rebelchris rebelchris merged commit 058f876 into main Mar 23, 2026
11 checks passed
@rebelchris rebelchris deleted the fix-user-master branch March 23, 2026 14:46
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.

2 participants