Repository navigation
feat(web): load deploy route options from the gateway - #67
Merged
Merged
Conversation
added 2 commits
October 13, 2026 19:46
The deploy form's bundled catalog and independent placeholders drifted from the running engine. Proxy the public route catalog, render its host defaults and separate runtime state from editable overrides, and keep legacy metadata without stale defaults. Cover missing-gateway SPA fallthrough, old-plan route identity and live desktop picker behavior. Keep copied Swiss code and mobile sizing unchanged. Fixes #52
Keep legacy metadata exclusive to explicit unsupported/empty responses, discover catalog routes independently of inference pins, and put transport under the inference module API boundary.
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.
What type of PR is this?
What this PR does and why
The deploy form's bundled option list and placeholders drifted from the running OpenResty engine. Read its public
/<route>/_route_optscatalog through an authenticated console API instead.Which issue(s) this PR fixes
Fixes #52
How it was tested
go test ./...,go vet ./..., Go formatting and patch whitespace checks.npm run typecheck, full frontend suite andnpm run buildon the branch based on current main.CONSOLE_URL=<preview-url> node hack/check-route-catalog-live.mjs.Checks
go test ./...andgofmt -l .is emptynpm run typecheck && npm test && npm run buildinweb/helm lint --strict helm/console(chart unchanged)Notes for reviewers
Start with the route catalog handler and gateway catalog discovery, then the inference-module API adapter and form. The API is additive and reuses the existing backend read grant. Engine-side validation remains authoritative. Desktop-only acceptance per the originating request.
Release note