Repository navigation
feat(web): display Canary relationships with UI protection - #108
Open
primowenjoy wants to merge 1 commit into
Open
primowenjoy wants to merge 1 commit into
primowenjoy wants to merge 1 commit into
Conversation
primowenjoy
force-pushed
the
feat/canary-llmservice-target-pr
branch
from
November 3, 2026 05:41
45d80f4 to
aa07739
Compare
Keep the optional Canary distribution separate while protecting referenced service lifecycle actions in Console. Preserve production route bindings during upgrades and expose independent autoscaling controls. Fixes modelsphere#124
primowenjoy
force-pushed
the
feat/canary-llmservice-target-pr
branch
from
November 9, 2026 08:54
6d49b31 to
28095b7
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.
What type of PR is this?
What this PR does and why
Move the optional Canary frontend out of the public Console distribution while retaining generic extension hooks and service action protection. Public builds have an empty extension registry; private builds share host login, permissions, translations, theme and query state.
Display independent, referenced and owned model-service relationships from Swiss metadata, including older
managedBy/assignedToresponses. Owned services are managed through their parent; unverifiable references stay locked. Verified referenced arms allow only adaptive concurrency upgrades. Production references retain model/configuration upgrades and scaling, while UI uninstall and historical rollback are blocked until released. Production upgrade plans must preserve chart, release identity and declared routing/Service binding, including changes introduced through YAML. The uninstall dialog refreshes the service relationship before submitting deletion.Adaptive upgrades use Swiss's general
reuseSourcecomposition and reject source/chart/non-adaptive drift. Deployment Resources now exposes autoscaling with replica bounds or a fixed replica count independently of SLO, avoiding manual YAML edits when deploying fixed-replica experiment arms.These action restrictions exist only in Console UI. No Kubernetes admission hook is added or enabled, and Swiss write APIs remain unrestricted by Canary metadata. The separate Swiss metadata fix restores valid cross-namespace arm links and adaptive actions.
Which issue(s) this PR fixes
Fixes #124
Coordinates Swiss #53, Canary plugin #8, and Operator #12.
How it was tested
release-canaryGPU placement implementation; GPU resource/product/capacity controls are preserved.Checks
docs/console-design.mdNotes for reviewers
Start with
service-relationship.ts,production-binding.ts,DeploySheet,UninstallDialogandDeployForm. UI policy is independent of optional Kubernetes admission. The public distribution contains no private Canary pages; the plugin supplies role-specific experiment guidance.Release note