Skip to content

feat(application): update/upgrade/downgrade/plans commands#224

Merged
LorrisSaintGenez merged 6 commits into
mainfrom
feat/new-application-commands
Jun 2, 2026
Merged

feat(application): update/upgrade/downgrade/plans commands#224
LorrisSaintGenez merged 6 commits into
mainfrom
feat/new-application-commands

Conversation

@LorrisSaintGenez
Copy link
Copy Markdown
Contributor

@LorrisSaintGenez LorrisSaintGenez commented May 29, 2026

What

  • application update --name — rename the current application
  • application plans — list available self-serve plans (supports -o json)
  • application upgrade / application downgrade — change the current app's self-serve plan
    • interactive picker or --plan, plus --dry-run and --accept-terms
    • both share one planchange flow and currently behave identically (no tier/direction enforcement)
    • blocks paid plans when the account has no payment method; requires ToS acceptance before applying
  • Dashboard client: add UpdateApplication, GetSelfServePlans, GetUser, ChangeApplicationPlan (+ types), reusing the existing OAuth reauth-on-expiry flow
  • Budget: Offer to control the cost by redirect to the cost-management page after upgrading to a paid plan

Test

  • Manual: application update --name, application plans, application upgrade --dry-run, interactive upgrade/downgrade
  • When upgrading your app to a paid plan, you should see "Want to create a budget and monitor your costs?"
    • Pressing Y or Enter should open a browser page to the cost-management page of your current application
Screenshot 2026-06-01 at 14 10 14

Dependencies

https://github.com/algolia/AlgoliaWeb/pull/28576 --> needs to be live Live ✅

GROUT-304

@LorrisSaintGenez LorrisSaintGenez self-assigned this May 29, 2026
@LorrisSaintGenez LorrisSaintGenez changed the title Feat/new application commands feat(application): update/upgrade/downgrade/plans commands May 29, 2026
@LorrisSaintGenez LorrisSaintGenez requested review from a team, 8bittitan, NatanTechofNY, dylantientcheu, gzagura-algolia and pipeline1987 and removed request for a team and gzagura-algolia May 29, 2026 21:37
@LorrisSaintGenez LorrisSaintGenez marked this pull request as ready for review May 29, 2026 21:38
@codacy-production
Copy link
Copy Markdown

codacy-production Bot commented May 29, 2026

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 185 complexity · 104 duplication

Metric Results
Complexity 185
Duplication 104

View in Codacy

TIP This summary will be updated as you push new changes.

Copy link
Copy Markdown
Contributor

@8bittitan 8bittitan left a comment

Choose a reason for hiding this comment

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

🔥

@LorrisSaintGenez LorrisSaintGenez merged commit 9a60ca9 into main Jun 2, 2026
3 checks passed
@LorrisSaintGenez LorrisSaintGenez deleted the feat/new-application-commands branch June 2, 2026 15:30
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