Skip to content

feat: more gamification options#3917

Merged
AmarTrebinjac merged 2 commits into
mainfrom
update-gamification-settngs
May 28, 2026
Merged

feat: more gamification options#3917
AmarTrebinjac merged 2 commits into
mainfrom
update-gamification-settngs

Conversation

@AmarTrebinjac
Copy link
Copy Markdown
Contributor

No description provided.

@pulumi
Copy link
Copy Markdown

pulumi Bot commented May 28, 2026

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

✨ Neo Explanation

Routine deployment adding an `optOutAchievements` user preference: a new nullable-safe boolean column is added to the `settings` table via migration, and all Kubernetes workloads are updated to the new image. ✅ Low Risk

This is a standard application deployment rolling out a new image (819e0eca → replacing 6aa1538b) across all workloads. The code change adds an optOutAchievements boolean column to the settings table, with a corresponding TypeORM migration and GraphQL schema update.

The DB migration Job (vpc-native-api-db-migration-819e0eca) will execute ALTER TABLE "settings" ADD "optOutAchievements" boolean NOT NULL DEFAULT false — an additive, non-destructive schema change that defaults safely to false for all existing rows. A Clickhouse migration Job also runs alongside it.

🔵 Info — The migration adds a NOT NULL column with a DEFAULT false, which is safe on PostgreSQL (the default is applied inline during the ALTER TABLE without a full table rewrite on modern versions). No existing data is affected.

Resource Changes

    Name                                                       Type                           Operation
~   vpc-native-hourly-notification-cron                        kubernetes:batch/v1:CronJob    update
~   vpc-native-rotate-daily-quests-cron                        kubernetes:batch/v1:CronJob    update
~   vpc-native-clean-zombie-user-companies-cron                kubernetes:batch/v1:CronJob    update
~   vpc-native-sync-subscription-with-cio-cron                 kubernetes:batch/v1:CronJob    update
~   vpc-native-update-tag-materialized-views-cron              kubernetes:batch/v1:CronJob    update
~   vpc-native-clean-zombie-opportunities-cron                 kubernetes:batch/v1:CronJob    update
-   vpc-native-api-clickhouse-migration-6aa1538b               kubernetes:batch/v1:Job        delete
~   vpc-native-clean-stale-user-transactions-cron              kubernetes:batch/v1:CronJob    update
~   vpc-native-clean-channel-highlights-cron                   kubernetes:batch/v1:CronJob    update
~   vpc-native-calculate-top-readers-cron                      kubernetes:batch/v1:CronJob    update
~   vpc-native-clean-old-notifications-cron                    kubernetes:batch/v1:CronJob    update
~   vpc-native-update-current-streak-cron                      kubernetes:batch/v1:CronJob    update
~   vpc-native-materialize-yearly-best-post-archives-cron      kubernetes:batch/v1:CronJob    update
~   vpc-native-daily-digest-cron                               kubernetes:batch/v1:CronJob    update
~   vpc-native-update-achievement-rarity-cron                  kubernetes:batch/v1:CronJob    update
~   vpc-native-expire-super-agent-trial-cron                   kubernetes:batch/v1:CronJob    update
~   vpc-native-validate-active-users-cron                      kubernetes:batch/v1:CronJob    update
~   vpc-native-post-analytics-history-day-clickhouse-cron      kubernetes:batch/v1:CronJob    update
~   vpc-native-check-analytics-report-cron                     kubernetes:batch/v1:CronJob    update
+   vpc-native-api-clickhouse-migration-819e0eca               kubernetes:batch/v1:Job        create
~   vpc-native-clean-gifted-plus-cron                          kubernetes:batch/v1:CronJob    update
~   vpc-native-materialize-monthly-best-post-archives-cron     kubernetes:batch/v1:CronJob    update
~   vpc-native-temporal-deployment                             kubernetes:apps/v1:Deployment  update
~   vpc-native-update-source-public-threshold-cron             kubernetes:batch/v1:CronJob    update
~   vpc-native-private-deployment                              kubernetes:apps/v1:Deployment  update
~   vpc-native-channel-highlights-cron                         kubernetes:batch/v1:CronJob    update
~   vpc-native-deployment                                      kubernetes:apps/v1:Deployment  update
~   vpc-native-update-highlighted-views-cron                   kubernetes:batch/v1:CronJob    update
~   vpc-native-update-trending-cron                            kubernetes:batch/v1:CronJob    update
~   vpc-native-ws-deployment                                   kubernetes:apps/v1:Deployment  update
~   vpc-native-user-profile-analytics-clickhouse-cron          kubernetes:batch/v1:CronJob    update
~   vpc-native-generate-search-invites-cron                    kubernetes:batch/v1:CronJob    update
~   vpc-native-clean-zombie-images-cron                        kubernetes:batch/v1:CronJob    update
~   vpc-native-user-profile-analytics-history-clickhouse-cron  kubernetes:batch/v1:CronJob    update
~   vpc-native-user-profile-updated-sync-cron                  kubernetes:batch/v1:CronJob    update
~   vpc-native-rotate-weekly-quests-cron                       kubernetes:batch/v1:CronJob    update
~   vpc-native-update-tags-str-cron                            kubernetes:batch/v1:CronJob    update
~   vpc-native-clean-zombie-users-cron                         kubernetes:batch/v1:CronJob    update
~   vpc-native-update-views-cron                               kubernetes:batch/v1:CronJob    update
~   vpc-native-user-posts-analytics-refresh-cron               kubernetes:batch/v1:CronJob    update
~   vpc-native-personalized-digest-cron                        kubernetes:batch/v1:CronJob    update
... and 12 other changes

@AmarTrebinjac AmarTrebinjac marked this pull request as ready for review May 28, 2026 12:52
@AmarTrebinjac AmarTrebinjac merged commit d44ed2e into main May 28, 2026
9 checks passed
@AmarTrebinjac AmarTrebinjac deleted the update-gamification-settngs branch May 28, 2026 12:52
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