Skip to content

feat(notifications): add user follow defaults#3809

Merged
rebelchris merged 2 commits intomainfrom
eng-1283-feedback-feature-request-request-to-disable-notifications
Apr 20, 2026
Merged

feat(notifications): add user follow defaults#3809
rebelchris merged 2 commits intomainfrom
eng-1283-feedback-feature-request-request-to-disable-notifications

Conversation

@rebelchris
Copy link
Copy Markdown
Contributor

Summary

  • add user_follow to the default notification flags so new users inherit the existing subscribed behavior
  • add user_follow to the strict notification flags schema so notification settings updates accept and persist the new preference

Key Decisions

  • kept the change additive and limited to the existing notification flags mechanism instead of introducing new storage or API paths
  • updated shared defaults and schema together so the new preference is both surfaced consistently and validated correctly

Closes ENG-1283


Created by Huginn 🐦‍⬛

@pulumi
Copy link
Copy Markdown

pulumi Bot commented Apr 20, 2026

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

✨ Neo Explanation

Routine deployment promoting commit `41c4bded` across all API services, workers, and cron jobs, with accompanying DB and ClickHouse migration jobs. ✅ Low Risk

This is a standard application deployment rolling the entire fleet from commit 50e660c0 to 41c4bded. Every deployment and cron job is updated solely to reference the new container image tag — no configuration, resource sizing, or scheduling changes are involved.

The two migration Jobs (Postgres via TypeORM and ClickHouse) follow the established pattern of creating new Job resources named after the incoming commit and deleting the old ones from the previous deploy. The new migration jobs will run against the databases before (or alongside) the rolling update of the application pods, so the new schema must be backward-compatible with the old code during the rollout window.

🔵 Info — The pulumi:providers:gcp warning about missing ADC credentials is cosmetic; it only affects GCP provider operations (none in this plan) and does not block the Kubernetes updates.

Resource Changes

    Name                                                       Type                           Operation
~   vpc-native-update-tags-str-cron                            kubernetes:batch/v1:CronJob    update
~   vpc-native-ws-deployment                                   kubernetes:apps/v1:Deployment  update
~   vpc-native-user-profile-analytics-history-clickhouse-cron  kubernetes:batch/v1:CronJob    update
~   vpc-native-clean-zombie-users-cron                         kubernetes:batch/v1:CronJob    update
~   vpc-native-clean-zombie-images-cron                        kubernetes:batch/v1:CronJob    update
~   vpc-native-update-highlighted-views-cron                   kubernetes:batch/v1:CronJob    update
~   vpc-native-update-achievement-rarity-cron                  kubernetes:batch/v1:CronJob    update
+   vpc-native-api-clickhouse-migration-41c4bded               kubernetes:batch/v1:Job        create
~   vpc-native-expire-super-agent-trial-cron                   kubernetes:batch/v1:CronJob    update
~   vpc-native-update-views-cron                               kubernetes:batch/v1:CronJob    update
~   vpc-native-generate-search-invites-cron                    kubernetes:batch/v1:CronJob    update
~   vpc-native-personalized-digest-cron                        kubernetes:batch/v1:CronJob    update
~   vpc-native-generic-referral-reminder-cron                  kubernetes:batch/v1:CronJob    update
~   vpc-native-personalized-digest-deployment                  kubernetes:apps/v1:Deployment  update
~   vpc-native-sync-subscription-with-cio-cron                 kubernetes:batch/v1:CronJob    update
~   vpc-native-clean-expired-better-auth-sessions-cron         kubernetes:batch/v1:CronJob    update
~   vpc-native-private-deployment                              kubernetes:apps/v1:Deployment  update
~   vpc-native-temporal-deployment                             kubernetes:apps/v1:Deployment  update
~   vpc-native-update-source-public-threshold-cron             kubernetes:batch/v1:CronJob    update
~   vpc-native-clean-zombie-opportunities-cron                 kubernetes:batch/v1:CronJob    update
~   vpc-native-calculate-top-readers-cron                      kubernetes:batch/v1:CronJob    update
~   vpc-native-user-profile-updated-sync-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-update-trending-cron                            kubernetes:batch/v1:CronJob    update
~   vpc-native-channel-highlights-cron                         kubernetes:batch/v1:CronJob    update
~   vpc-native-bg-deployment                                   kubernetes:apps/v1:Deployment  update
~   vpc-native-update-tag-materialized-views-cron              kubernetes:batch/v1:CronJob    update
~   vpc-native-channel-digests-cron                            kubernetes:batch/v1:CronJob    update
~   vpc-native-squad-posts-analytics-refresh-cron              kubernetes:batch/v1:CronJob    update
~   vpc-native-materialize-monthly-best-post-archives-cron     kubernetes:batch/v1:CronJob    update
~   vpc-native-deployment                                      kubernetes:apps/v1:Deployment  update
-   vpc-native-api-clickhouse-migration-50e660c0               kubernetes:batch/v1:Job        delete
~   vpc-native-post-analytics-clickhouse-cron                  kubernetes:batch/v1:CronJob    update
+   vpc-native-api-db-migration-41c4bded                       kubernetes:batch/v1:Job        create
~   vpc-native-check-analytics-report-cron                     kubernetes:batch/v1:CronJob    update
~   vpc-native-rotate-weekly-quests-cron                       kubernetes:batch/v1:CronJob    update
~   vpc-native-clean-gifted-plus-cron                          kubernetes:batch/v1:CronJob    update
~   vpc-native-clean-stale-user-transactions-cron              kubernetes:batch/v1:CronJob    update
~   vpc-native-post-analytics-history-day-clickhouse-cron      kubernetes:batch/v1:CronJob    update
-   vpc-native-api-db-migration-50e660c0                       kubernetes:batch/v1:Job        delete
... and 11 other changes

@rebelchris rebelchris merged commit 3764676 into main Apr 20, 2026
3 of 5 checks passed
@rebelchris rebelchris deleted the eng-1283-feedback-feature-request-request-to-disable-notifications branch April 20, 2026 12:59
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