-
Notifications
You must be signed in to change notification settings - Fork 429
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
feat: Remove all but first admin when subscription has reached cancellation date #2965
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Uffizzi Preview |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2965 +/- ##
=======================================
Coverage 95.54% 95.55%
=======================================
Files 1013 1014 +1
Lines 29331 29393 +62
=======================================
+ Hits 28025 28087 +62
Misses 1306 1306 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved with one minor additional comment (and an update on the blank=False
conversation).
Thanks for submitting a PR! Please check the boxes below:
pre-commit
to check lintingChanges
Added code to existing cancellation workflow to limit the seats to a sole admin once the subscription cancellation date has finally been reached.
How did you test this code?
Two new tests. Once that goes through the web request for cancellations that are immediate, and another for any that have a cancellation date in the future. I also read through a lot of code around subscriptions to see if there were other areas that could benefit from delayed processing of cancelation but I didn't find any sure contenders.