Skip to content

feat: post boost #2866

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Jul 2, 2025
Merged

feat: post boost #2866

merged 13 commits into from
Jul 2, 2025

Conversation

sshanzel
Copy link
Member

@sshanzel sshanzel commented Jun 13, 2025

Just an intermediate branch of all approved PRs relating to post boost.

Jira ticket

MI-888

sshanzel and others added 2 commits June 13, 2025 23:38
Co-authored-by: Ole-Martin Bratteng <1681525+omBratteng@users.noreply.github.com>
Co-authored-by: capJavert <dev@kickass.website>
Copy link

pulumi bot commented Jun 13, 2025

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

Resource Changes

    Name                                            Type                                  Operation
~   vpc-native-clean-zombie-user-companies-cron     kubernetes:batch/v1:CronJob           update
~   vpc-native-generic-referral-reminder-cron       kubernetes:batch/v1:CronJob           update
~   vpc-native-sync-subscription-with-cio-cron      kubernetes:batch/v1:CronJob           update
+   api-sub-api.post-boost-canceled-cores           gcp:pubsub/subscription:Subscription  create
~   vpc-native-update-highlighted-views-cron        kubernetes:batch/v1:CronJob           update
~   vpc-native-update-current-streak-cron           kubernetes:batch/v1:CronJob           update
~   vpc-native-clean-zombie-images-cron             kubernetes:batch/v1:CronJob           update
~   vpc-native-ws-deployment                        kubernetes:apps/v1:Deployment         update
~   vpc-native-generate-search-invites-cron         kubernetes:batch/v1:CronJob           update
-   vpc-native-api-migration-1f2908c4               kubernetes:batch/v1:Job               delete
~   vpc-native-validate-active-users-cron           kubernetes:batch/v1:CronJob           update
~   vpc-native-daily-digest-cron                    kubernetes:batch/v1:CronJob           update
~   vpc-native-personalized-digest-cron             kubernetes:batch/v1:CronJob           update
~   vpc-native-personalized-digest-deployment       kubernetes:apps/v1:Deployment         update
~   vpc-native-check-analytics-report-cron          kubernetes:batch/v1:CronJob           update
~   vpc-native-update-views-cron                    kubernetes:batch/v1:CronJob           update
~   vpc-native-temporal-deployment                  kubernetes:apps/v1:Deployment         update
~   vpc-native-hourly-notification-cron             kubernetes:batch/v1:CronJob           update
~   vpc-native-deployment                           kubernetes:apps/v1:Deployment         update
+   vpc-native-api-migration-bb3e1d49               kubernetes:batch/v1:Job               create
+-  vpc-native-k8s-secret                           kubernetes:core/v1:Secret             create-replacement
~   vpc-native-calculate-top-readers-cron           kubernetes:batch/v1:CronJob           update
~   vpc-native-update-source-public-threshold-cron  kubernetes:batch/v1:CronJob           update
~   vpc-native-update-trending-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-clean-stale-user-transactions-cron   kubernetes:batch/v1:CronJob           update
~   vpc-native-bg-deployment                        kubernetes:apps/v1:Deployment         update
+   api-sub-api.post-boost-completed-notification   gcp:pubsub/subscription:Subscription  create
~   vpc-native-clean-gifted-plus-cron               kubernetes:batch/v1:CronJob           update
~   vpc-native-private-deployment                   kubernetes:apps/v1:Deployment         update
~   vpc-native-update-tag-recommendations-cron      kubernetes:batch/v1:CronJob           update
~   vpc-native-update-source-tag-view-cron          kubernetes:batch/v1:CronJob           update

@sshanzel sshanzel marked this pull request as ready for review June 27, 2025 08:16
@sshanzel sshanzel requested review from capJavert and a team as code owners June 27, 2025 08:16
@sshanzel sshanzel changed the title feat(wip): post boost feat: post boost Jun 27, 2025
},
});

export const skadiBoostClient = new SkadiClient(process.env.SKADI_ORIGIN, {
Copy link
Member

Choose a reason for hiding this comment

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

Add SKADI_ORIGIN to the env types. And I personally prefer to import env from node:process

Copy link
Member

Choose a reason for hiding this comment

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

And for adhoc, it will be skadi-api-server.local.svc.cluster.local, and production skadi-api-server.daily.svc.cluster.local

@sshanzel sshanzel merged commit 00a3938 into main Jul 2, 2025
9 checks passed
@sshanzel sshanzel deleted the MI-888 branch July 2, 2025 14:14
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