Skip to content

Use the ui-ex API for org and release lookups instead of GraphQL - #5184

Merged
lillianberryfly merged 2 commits into
lillian/flaps-drop-in-replacementsfrom
lillian/uiex-replacements
Sep 8, 2026
Merged

Use the ui-ex API for org and release lookups instead of GraphQL#5184
lillianberryfly merged 2 commits into
lillian/flaps-drop-in-replacementsfrom
lillian/uiex-replacements

Conversation

@lillianberryfly

Copy link
Copy Markdown
Contributor

Org existence checks, raw-slug and paid-plan reads, and the launch org state now go through the ui-ex organization endpoint. Commands that already held a GraphQL organization with a raw slug stop making a second genqlient query for it.

Current-release reads in console, apps move, status --json, and the deploy image fallback use the ui-ex current-release endpoint, and scale count picks the latest complete release from the ui-ex release list.

postgres backup enable no longer fetches the org, since the Tigris bucket provisioner resolves it from the app name and never read it.

Left on GraphQL: apps list (its JSON output includes fields ui-ex lacks), the launch determineOrg listing and the mpg aliased-slug resolver (the ui-ex slug aliasing for the personal org is unverified), apps releases, redis dashboard, and anything that needs an org GraphQL ID for SSH certificate issuance.

Claude-Session: https://claude.ai/code/session_01DMttEkUAVhL7YZFRFjhHwB

@lillianberryfly
lillianberryfly force-pushed the lillian/uiex-replacements branch 2 times, most recently from 93a2012 to 5abe354 Compare September 8, 2026 14:55
lillianberryfly and others added 2 commits September 8, 2026 16:16
Org existence checks, raw-slug and paid-plan reads, and the launch org
state now go through the ui-ex organization endpoint. Commands that
already held a GraphQL organization with a raw slug stop making a second
genqlient query for it.

Current-release reads in console, apps move, status --json, and the
deploy image fallback use the ui-ex current-release endpoint, and scale
count picks the latest complete release from the ui-ex release list.

postgres backup enable no longer fetches the org, since the Tigris
bucket provisioner resolves it from the app name and never read it.

Left on GraphQL: apps list (its JSON output includes fields ui-ex lacks),
the launch determineOrg listing and the mpg aliased-slug resolver (the
ui-ex slug aliasing for the personal org is unverified), apps releases,
redis dashboard, and anything that needs an org GraphQL ID for SSH
certificate issuance.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DMttEkUAVhL7YZFRFjhHwB
The ui-ex releases/current endpoint only considers complete releases and
returns a 500 for apps that have none, because its controller renders a
404 without returning and then renders again. It also differs from the
GraphQL currentReleaseUnprocessed field, which is the latest release of
any status.

Add uiexutil.LatestRelease, which lists releases newest-first with a
limit of one, and use it for status --json, console, apps move, and the
deploy image fallback.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DMttEkUAVhL7YZFRFjhHwB
@lillianberryfly
lillianberryfly force-pushed the lillian/uiex-replacements branch from 5abe354 to e871482 Compare September 8, 2026 16:17
@lillianberryfly
lillianberryfly merged commit 8191715 into master Sep 8, 2026
23 of 32 checks passed
@lillianberryfly
lillianberryfly deleted the lillian/uiex-replacements branch September 8, 2026 16:43
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