Bug Fixes
Onboarding Flow for Paid Tier Accounts
Fixed onboarding failures for Pro/Ultra accounts that don't have a managed project yet:
- Tier ID handling: Use raw API tier IDs (e.g.,
free-tier,g1-pro-tier) consistently instead of uppercase constants - Project ID for paid tiers: Pass
DEFAULT_PROJECT_IDfor non-free tiers during onboarding (API requires a project for paid tier provisioning) - Free tier detection: Fix detection to use
.includes('free')instead of exact match against'FREE' - Improved logging: Upgrade onboarding error logs from debug to warn level for better visibility
This fixes the issue where newly authenticated Pro/Ultra accounts would fail onboarding with 429 RESOURCE_EXHAUSTED errors because the onboarding API wasn't receiving the required project ID.
Related
- Fixes part of #128
- Follows up on v2.0.11 tier detection fix
Full Changelog: v2.0.11...v2.0.12