fix(release): include actions, subscriptions, UI extensions in release (DEVX-540)#100
Merged
jpage-godaddy merged 1 commit intoJul 15, 2026
Conversation
…e (DEVX-540)
`application release` sent only { applicationId, version, description }, so every
action, webhook subscription, and UI extension configured in godaddy.toml (via
`application add`) was silently dropped from the release. Ports the TS release
input (PR godaddy#58).
- release_command: read godaddy.toml and include `actions`, `subscriptions`
(flattened webhook list), and `uiExtensions` in the createRelease input. Missing
config is non-fatal (empty arrays); >1 target per extension is a hard error
(API allows one target per extension per release).
- build_ui_extensions / ui_extension_entry: map embed/checkout/blocks to the
release shape (blocks -> name "Blocks"/handle "blocks"), target optional.
- client: createRelease now also returns uiExtensions for verification (PR godaddy#58).
- tests: field/target mapping + multi-target rejection.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
jpage-godaddy
approved these changes
Jul 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
gddy application releasebuilt itscreateReleaseinput from CLI args only —{ applicationId, version, description }. Everything a developer adds togodaddy.tomlviaapplication add— actions, webhook subscriptions, and UI extensions — was silently dropped from the release, so those configs never reached the platform.Fix
Ports the TS release input (PR #58).
release_commandnow readsgodaddy.tomland includes:actions— fromconfig.actions({ name, url })subscriptions— flattened fromconfig.subscriptions.webhook({ name, events, url })uiExtensions— fromconfig.extensions(embed / checkout / blocks), mapped to the release shape{ name, handle, source, type, target? }Details:
godaddy.tomlis non-fatal (empty arrays), matching the TS behavior.blocksmaps toname: "Blocks",handle: "blocks"(same fixed identifiers as the TS path);targetis omitted when an extension has no targets.createReleasenow also returnsuiExtensionsin its selection set, for verification (PR fix: UI extension release deploy #58).Impact
Action hooks, webhook subscriptions, and UI extensions configured via
application addare now actually included in the release instead of being dropped.Testing
ui_extension_entryfield/target mapping (no target omitted, one target set) and multi-target rejection.cargo test/cargo clippy --all-targets -- -D warnings/cargo fmt --check— all clean.Context
Track A ("ship an app"). Pairs with DEVX-539 (deploy activation) and DEVX-541 (UI extension targets on
application add, which populates thetargetsthis maps from).