You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat: add billing commands and quota checks for app deployment
* refactor: use dedicated billing API client for billing operations with environment-specific auth
* fix: handle nullable fields in subscription response to prevent nil pointer dereference
* feat: display cancellation details and resubscribe prompt for canceled subscriptions
* fix: prevent displaying next charge when upcoming invoice date is zero
* refactor: replace custom browser opener with pkg/browser library and add portal URL display
* full suspension support
* feat: update billing commands for per-environment subscriptions
- Refactored subscription management to handle subscriptions per environment instead of globally
- Updated status command to show subscription details and app usage for current environment only
- Modified cancel command to suspend apps only on current environment when canceling
- Added improved handling of different subscription states (past_due, unpaid, etc.) with portal links
- Enhanced status display formatting with clearer subscription
* feat: improve billing status display format
* add environment flag to billing commands
* remove "USD"
* improve billing status code organization and readability
* fix: filename spelling
returnfmt.Errorf("failed to get active app count: %w", err)
148
+
}
149
+
150
+
// Check if quota is reached
151
+
ifactiveCount>=maxQuota {
152
+
returnfmt.Errorf("app quota reached for %s (%d/%d). Please contact the Eigen team at [email protected] for additional capacity", preflightCtx.EnvironmentConfig.Name, activeCount, maxQuota)
0 commit comments