Skip to content

[DEVEX-704] fix: activate release and promote app to ACTIVE on deploy - #103

Merged
jpage-godaddy merged 1 commit into
godaddy:rust-portfrom
qcai-godaddy:DEVEX-704-activate-release-on-deploy
Jul 14, 2026
Merged

jpage-godaddy merged 1 commit into
godaddy:rust-portfrom
qcai-godaddy:DEVEX-704-activate-release-on-deploy

Conversation

@qcai-godaddy

Copy link
Copy Markdown
Collaborator

Summary

application deploy uploaded artifacts but never activated the release or set the app to ACTIVE, leaving deployed apps inactive. Adds a finalize step that activates the release, then promotes the app. Resolves DEVEX-704.

Changes

  • client: add activate_release
  • deploy: call finalize_deploy_activation after the upload loop, activateRelease then updateApplication(status: ACTIVE). (The ticket names only the ACTIVE step, but current TS version does both).
  • tests: client-level httpmock for both mutations (+ GraphQL-error path).

Testing

  • fmt / clippy -D warnings / test green.
  • Not manually tested E2E — application is gated experimental, open to a manual pass if there's a preferred way to test gated commands.

…DEVEX-704)

Deploy uploaded extension artifacts but never activated the release or set the
application status to ACTIVE, so a deployed app could remain inactive.

Add a finalize step mirroring the TypeScript CLI's finalizeDeployActivation:
activate the release, then promote the application (the backend requires the
release to be active before the app is promoted).

- client: add ApplicationClient::activate_release (ActivateRelease mutation)
- deploy: call finalize_deploy_activation after the extension-upload loop,
  before the terminal completion event
- tests: client-level httpmock coverage for activate_release (success and
  GraphQL-error paths) and update_application(status: ACTIVE)
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.

2 participants