Use the ui-ex API for org and release lookups instead of GraphQL - #5184
Merged
lillianberryfly merged 2 commits intoSep 8, 2026
Merged
Conversation
lillianberryfly
force-pushed
the
lillian/uiex-replacements
branch
2 times, most recently
from
September 8, 2026 14:55
93a2012 to
5abe354
Compare
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
force-pushed
the
lillian/uiex-replacements
branch
from
September 8, 2026 16:17
5abe354 to
e871482
Compare
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.
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