Repository navigation
fix(dashboard): load all Run services in custom domain settings - #5418
Merged
Merged
Conversation
robertkasza
force-pushed
the
fix/dashboard-run-custom-domains-all-services
branch
2 times, most recently
from
November 19, 2026 15:21
7dda403 to
ccf2a1d
Compare
Contributor
Vercel Deployment Info - dashboard
|
dbm03
approved these changes
Nov 19, 2026
robertkasza
force-pushed
the
fix/dashboard-run-custom-domains-all-services
branch
from
November 20, 2026 08:54
ccf2a1d to
184e8d8
Compare
robertkasza
force-pushed
the
fix/dashboard-run-custom-domains-all-services
branch
from
November 20, 2026 10:04
184e8d8 to
f33658a
Compare
robertkasza
enabled auto-merge (squash)
November 20, 2026 10:05
robertkasza
deleted the
fix/dashboard-run-custom-domains-all-services
branch
November 20, 2026 10:21
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.
Checklist
Goal
The Run custom domain settings and project-wide checks read Run services through
useRunServices, which serves the paginated Services list and fetches only 25 services per page (the page comes from the?page=URL query). Projects with more than 25 Run services therefore could not configure a custom domain for later services in Run settings, and the custom-domain and General-settings checks ignored those services. This branch makes every consumer that needs the whole service set load all Run services, and leaves the paginated list unchanged.Type: Bug fix
Changes
getAllRunServices($appID, $resolve)operation ingetRunServices.graphqlselectsapp.runServiceswithoutlimit/offset. It uses the same fields andRunServiceConfigfragment as the paginated query, so results still match the existingRunServicetype. The generateduseGetAllRunServicesQueryhook is committed inutils/__generated__/graphql.ts.useAllRunServiceshook: the new hook incommon/hooks/useAllRunServicesmirrorsuseRunServices. On the platform, it runsuseGetAllRunServicesQuery. Locally, it runsuseGetLocalRunServiceConfigsQueryagainst the local Mimir client, which was already unpaginated. Both queries are skipped untilproject.idis known. The hook returns{ services, loading, error, refetch }for the active environment. It does not read the router, so the page query no longer affects which services settings see.RunCustomDomainSettings(Run settings page),useHasCustomDomain, andGeneralSettingsnow calluseAllRunServices. The paginated Services list still usesuseRunServices.useAllRunServices.RunSettingsPage.test.tsxadds a regression case with 25 port-less services followed by a 26th service with an HTTP port, and asserts that its domain form renders.Key files
dashboard/src/features/orgs/projects/common/hooks/useAllRunServices/(+59/-0): new unpaginated Run services hook.dashboard/src/gql/services/getRunServices.graphql(+14/-0):getAllRunServicesquery.dashboard/src/utils/__generated__/graphql.ts(+55/-0): regenerateduseGetAllRunServicesQueryhook and types.run/settings.tsx,useHasCustomDomain.ts,GeneralSettings.tsx(+6/-6): consumers moved to the new hook.dashboard/src/tests/pages/*SettingsPage.test.tsx(6 files, +31/-12): mock retargeting and the beyond-25 regression test.