Skip to content

feat: milestone achievements#3747

Merged
AmarTrebinjac merged 5 commits intomainfrom
ENG-1141
Mar 26, 2026
Merged

feat: milestone achievements#3747
AmarTrebinjac merged 5 commits intomainfrom
ENG-1141

Conversation

@AmarTrebinjac
Copy link
Copy Markdown
Contributor

No description provided.

@pulumi
Copy link
Copy Markdown

pulumi Bot commented Mar 25, 2026

🍹 The Update (preview) for dailydotdev/api/prod (at 871f533) was successful.

✨ Neo Explanation

This is a standard application version rollout: all services, workers, and cron jobs are being updated to the new container image, and fresh database + ClickHouse migration jobs are being queued to run as part of the release.

Root Cause Analysis

A new version of the API application has been built and is ready to be deployed. Every Kubernetes resource is being updated to roll out the new container image, replacing the previous version across all services.

Dependency Chain

The new application version cascades uniformly across the entire stack:

  • 7 Deployments (main API, background workers, WebSocket server, private API, Temporal worker, personalized digest, worker jobs) are all updated to pull the new container image.
  • 38 CronJobs are updated so their next scheduled runs will also use the new image.
  • 2 one-time migration Jobs (database and ClickHouse) are replaced: the old versions tied to the previous release are deleted, and new ones for the current release are created. This is the standard pattern for running schema migrations on deploy — each job is named with a short version suffix to tie it to its release.

Risk Analysis

No stateful resources (databases, storage buckets, persistent volumes) are being modified or deleted. The migration jobs warrant attention — they will run typeorm migration:run against the primary database and a ClickHouse migration script against the analytics database. If either migration is destructive or irreversible, it could impact data. The deployments themselves use Kubernetes rolling updates, so downtime is not expected.

Resource Changes

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

@AmarTrebinjac AmarTrebinjac marked this pull request as ready for review March 26, 2026 10:48
@AmarTrebinjac AmarTrebinjac merged commit 810d8bf into main Mar 26, 2026
10 checks passed
@AmarTrebinjac AmarTrebinjac deleted the ENG-1141 branch March 26, 2026 17:50
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