Skip to content

feat: recruiter organization seats#3352

Merged
capJavert merged 9 commits intomainfrom
recruiter-organization-seats
Dec 16, 2025
Merged

feat: recruiter organization seats#3352
capJavert merged 9 commits intomainfrom
recruiter-organization-seats

Conversation

@capJavert
Copy link
Copy Markdown
Contributor

@capJavert capJavert commented Dec 15, 2025

  • move subscription info to organization tied to opportunity (still a bit clunky but allows us to move in a direction we want in the future)
  • added seats check for moving opportunity to live
  • added mutation to add more seats to opportunity organization (will be used for boost)
  • currently not removing seat on cancellation, will finish frontend flow and then see how it looks

@pulumi
Copy link
Copy Markdown

pulumi Bot commented Dec 15, 2025

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

Resource Changes

    Name                                                   Type                           Operation
~   vpc-native-calculate-top-readers-cron                  kubernetes:batch/v1:CronJob    update
~   vpc-native-personalized-digest-deployment              kubernetes:apps/v1:Deployment  update
~   vpc-native-private-deployment                          kubernetes:apps/v1:Deployment  update
~   vpc-native-update-source-tag-view-cron                 kubernetes:batch/v1:CronJob    update
~   vpc-native-temporal-deployment                         kubernetes:apps/v1:Deployment  update
+   vpc-native-api-db-migration-ef1559e5                   kubernetes:batch/v1:Job        create
~   vpc-native-update-highlighted-views-cron               kubernetes:batch/v1:CronJob    update
~   vpc-native-validate-active-users-cron                  kubernetes:batch/v1:CronJob    update
~   vpc-native-update-current-streak-cron                  kubernetes:batch/v1:CronJob    update
~   vpc-native-deployment                                  kubernetes:apps/v1:Deployment  update
~   vpc-native-generate-search-invites-cron                kubernetes:batch/v1:CronJob    update
~   vpc-native-generic-referral-reminder-cron              kubernetes:batch/v1:CronJob    update
~   vpc-native-update-views-cron                           kubernetes:batch/v1:CronJob    update
~   vpc-native-clean-zombie-users-cron                     kubernetes:batch/v1:CronJob    update
-   vpc-native-api-clickhouse-migration-57178b32           kubernetes:batch/v1:Job        delete
~   vpc-native-post-analytics-clickhouse-cron              kubernetes:batch/v1:CronJob    update
-   vpc-native-api-db-migration-57178b32                   kubernetes:batch/v1:Job        delete
~   vpc-native-update-tags-str-cron                        kubernetes:batch/v1:CronJob    update
~   vpc-native-update-trending-cron                        kubernetes:batch/v1:CronJob    update
~   vpc-native-update-tag-recommendations-cron             kubernetes:batch/v1:CronJob    update
~   vpc-native-post-analytics-history-day-clickhouse-cron  kubernetes:batch/v1:CronJob    update
~   vpc-native-ws-deployment                               kubernetes:apps/v1:Deployment  update
~   vpc-native-hourly-notification-cron                    kubernetes:batch/v1:CronJob    update
+   vpc-native-api-clickhouse-migration-ef1559e5           kubernetes:batch/v1:Job        create
~   vpc-native-update-source-public-threshold-cron         kubernetes:batch/v1:CronJob    update
~   vpc-native-clean-zombie-user-companies-cron            kubernetes:batch/v1:CronJob    update
~   vpc-native-check-analytics-report-cron                 kubernetes:batch/v1:CronJob    update
~   vpc-native-clean-zombie-opportunities-cron             kubernetes:batch/v1:CronJob    update
~   vpc-native-user-profile-updated-sync-cron              kubernetes:batch/v1:CronJob    update
~   vpc-native-daily-digest-cron                           kubernetes:batch/v1:CronJob    update
~   vpc-native-clean-gifted-plus-cron                      kubernetes:batch/v1:CronJob    update
~   vpc-native-personalized-digest-cron                    kubernetes:batch/v1:CronJob    update
~   vpc-native-clean-stale-user-transactions-cron          kubernetes:batch/v1:CronJob    update
~   vpc-native-sync-subscription-with-cio-cron             kubernetes:batch/v1:CronJob    update
~   vpc-native-bg-deployment                               kubernetes:apps/v1:Deployment  update
~   vpc-native-clean-zombie-images-cron                    kubernetes:batch/v1:CronJob    update

@capJavert capJavert force-pushed the recruiter-organization-seats branch from 97dc5bd to 3d8609b Compare December 15, 2025 15:11
Comment on lines +103 to +104
priceId: item.price.id,
quantity: item.quantity,
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.

Save items for quick access if needed

@capJavert capJavert marked this pull request as ready for review December 15, 2025 15:16
@capJavert capJavert requested a review from a team as a code owner December 15, 2025 15:16
Copy link
Copy Markdown
Contributor

@rebelchris rebelchris left a comment

Choose a reason for hiding this comment

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

Looks about right

}

if (
organization.recruiterSubscriptionFlags?.status ===
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We sure we have org at this point? as it's now a new flow where they can change lots of things basically?
I think so but might be some edge-cases?

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.

yes, it should throw if user did not add organization, and frontend I'll add guards for it as well

@capJavert capJavert merged commit 5d5e0b3 into main Dec 16, 2025
7 of 8 checks passed
@capJavert capJavert deleted the recruiter-organization-seats branch December 16, 2025 13:02
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.

2 participants