Skip to content

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

Open
LorrisSaintGenez wants to merge 3 commits into
mainfrom
feat/new-application-commands
Open

feat(application): update/upgrade/downgrade/plans commands#224
LorrisSaintGenez wants to merge 3 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

Test

  • Manual: application update --name, application plans, application upgrade --dry-run, interactive upgrade/downgrade
    • You'll need to do foreman start from AlgoliaWeb develop branch

Dependencies

https://github.com/algolia/AlgoliaWeb/pull/28576 --> needs to be 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

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

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

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.

1 participant