Skip to content

feat: only sync reminder opportunities#3383

Merged
rebelchris merged 5 commits intomainfrom
feat-opportunity-sync
Jan 2, 2026
Merged

feat: only sync reminder opportunities#3383
rebelchris merged 5 commits intomainfrom
feat-opportunity-sync

Conversation

@rebelchris
Copy link
Copy Markdown
Contributor

Sync right opps on super agent mode to cio

Comment thread src/workers/cdc/primary.ts Outdated
Comment thread src/workers/cdc/primary.ts Outdated
flags: updateFlagsStatement<OpportunityJob>({
batchSize: priceCustomData.batch_size,
plan: price.id,
reminders: priceCustomData.reminders,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is stored on database level? (priceCustomData I mean)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No it comes from paddle custom data objects.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok but we see it via Paddle dashboard? It's not something the user can hack on the frontend right? :anakin:

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct yeah, we get it on webhook

@rebelchris rebelchris requested a review from idoshamun January 2, 2026 08:07
@pulumi
Copy link
Copy Markdown

pulumi Bot commented Jan 2, 2026

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

Resource Changes

    Name                                                   Type                                  Operation
~   vpc-native-clean-zombie-opportunities-cron             kubernetes:batch/v1:CronJob           update
~   vpc-native-post-analytics-history-day-clickhouse-cron  kubernetes:batch/v1:CronJob           update
~   vpc-native-sync-subscription-with-cio-cron             kubernetes:batch/v1:CronJob           update
~   vpc-native-validate-active-users-cron                  kubernetes:batch/v1:CronJob           update
-   vpc-native-api-db-migration-62ba021c                   kubernetes:batch/v1:Job               delete
+   vpc-native-api-clickhouse-migration-a47459d4           kubernetes:batch/v1:Job               create
~   vpc-native-deployment                                  kubernetes:apps/v1:Deployment         update
~   vpc-native-temporal-deployment                         kubernetes:apps/v1:Deployment         update
~   vpc-native-update-highlighted-views-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-clean-stale-user-transactions-cron          kubernetes:batch/v1:CronJob           update
~   vpc-native-private-deployment                          kubernetes:apps/v1:Deployment         update
~   vpc-native-user-profile-updated-sync-cron              kubernetes:batch/v1:CronJob           update
-   vpc-native-api-clickhouse-migration-62ba021c           kubernetes:batch/v1:Job               delete
~   vpc-native-update-source-public-threshold-cron         kubernetes:batch/v1:CronJob           update
~   vpc-native-calculate-top-readers-cron                  kubernetes:batch/v1:CronJob           update
~   vpc-native-check-analytics-report-cron                 kubernetes:batch/v1:CronJob           update
~   vpc-native-personalized-digest-deployment              kubernetes:apps/v1:Deployment         update
~   vpc-native-update-source-tag-view-cron                 kubernetes:batch/v1:CronJob           update
+   api-sub-sync-opportunity-reminders-cio                 gcp:pubsub/subscription:Subscription  create
~   vpc-native-update-current-streak-cron                  kubernetes:batch/v1:CronJob           update
~   vpc-native-daily-digest-cron                           kubernetes:batch/v1:CronJob           update
~   vpc-native-update-tags-str-cron                        kubernetes:batch/v1:CronJob           update
~   vpc-native-update-views-cron                           kubernetes:batch/v1:CronJob           update
~   vpc-native-post-analytics-clickhouse-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-clean-gifted-plus-cron                      kubernetes:batch/v1:CronJob           update
~   vpc-native-generic-referral-reminder-cron              kubernetes:batch/v1:CronJob           update
~   vpc-native-update-tag-recommendations-cron             kubernetes:batch/v1:CronJob           update
~   vpc-native-clean-zombie-user-companies-cron            kubernetes:batch/v1:CronJob           update
+   vpc-native-api-db-migration-a47459d4                   kubernetes:batch/v1:Job               create
~   vpc-native-personalized-digest-cron                    kubernetes:batch/v1:CronJob           update
~   vpc-native-update-trending-cron                        kubernetes:batch/v1:CronJob           update
~   vpc-native-generate-search-invites-cron                kubernetes:batch/v1:CronJob           update
~   vpc-native-ws-deployment                               kubernetes:apps/v1:Deployment         update

Comment thread .infra/common.ts
@rebelchris rebelchris merged commit 13533bb into main Jan 2, 2026
17 checks passed
@rebelchris rebelchris deleted the feat-opportunity-sync branch January 2, 2026 10:06
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.

3 participants