Commit a4937e7
committed
Resolves #7090 ([FR-2750](https://lablup.atlassian.net/browse/FR-2750))
## Summary
- Add Korean feature spec at `.specs/FR-2750-deployment-revision-preset-ui/spec.md` for the Deployment Preset management UI:
- First milestone: Superadmin CRUD UI as a new "Deployment Presets" tab on `/admin-serving`, covering creation, editing (name, description, image, cluster, resource, execution environment, deployment defaults, model definition, rank), and typed-confirmation deletion.
- Second milestone: Read-only Drawer detail view (slides from the right) accessible via an ⓘ icon next to the preset selector in the deployment revision creation flow, showing runtime, image, cluster, resources, and deployment defaults.
- Documents GQL API coverage gaps — `modelRuntimeConfig`, `modelMountConfig`, and `extraMounts` are intentionally out of scope as they are model-specific values set at revision creation time, not at the preset level.
- Bump `data/schema.graphql` to reflect upstream backend schema additions, including:
- `RoleInvitation` type, connection, filter, ordering, and state enum, along with `createRoleInvitation`, `acceptRoleInvitation`, `rejectRoleInvitation`, and `adminCancelRoleInvitation` mutations and related queries (`myRoleInvitations`, `mySentRoleInvitations`, `adminRoleInvitations`, `roleScopedRoleInvitations`).
- `ScalingState` enum and `scalingState` field on `ModelDeployment`; `category` field on `DeploymentHistory`.
- `DeploymentOptionsInfoGQL` / `DeploymentOptionsInput` and `DeploymentTimeoutsInfoGQL` / `DeploymentTimeoutsInput` types, plus `options` field on `ModelDeployment`.
- `replaceResourceGroupDefaultDeploymentOptions` and `replaceResourceGroupDefaultSessionOptions` mutations with corresponding input/payload types and new `defaultDeploymentOptions` / `defaultSessionOptions` fields on `ResourceGroup`.
- `DefaultSessionOptionsInfo/Input`, `DefaultSessionKernelExecutionSpecInfo/Input`, `DefaultSessionTimeoutsInfo/Input`, `DefaultSessionResourceOptsInfo/Input`, and `DefaultSessionHandlerTimeoutEntryInfo/Input` types.
- `SchedulingHandlerNode`, `SchedulingHandlerCategory`, and `schedulingHandlers` query.
- `SessionFailurePolicy`, `SessionAgentSelectionPolicy`, and `MountPermission` enums.
- `HandlerTimeoutEntryInfoGQL` / `HandlerTimeoutEntryInput` types.
- `CreateVFolderInScopeInput` and `createVFolderInProject` mutation.
- `ModelRuntimeConfig.runtimeVariant` changed from `String!` to `RuntimeVariant` (nullable object) with an added `runtimeVariantId: UUID!` field; `ModelRuntimeConfigInput.runtimeVariant` replaced by `runtimeVariantId: UUID!`.
- `ModelRevisionOrderField.RUNTIME_VARIANT` renamed to `RUNTIME_VARIANT_NAME`.
- `ModelReplica.sessionId` changed from `ID!` to `ID` (nullable) and `session` deprecated field changed from `ComputeSessionNode!` to `ComputeSessionNode` (nullable).
- `ExtraVFolderMountInfoGQL.mountPerm: MountPermission!` field added.
- `ROLE_ASSIGNMENT` added to `RBACElementType` enum.
## Notes
- The spec leaves open questions around the runtime variant list query, reuse of the existing image selector component for `imageId: UUID!` mapping, and backend behavior (cascade vs. rejection) when deleting a preset referenced by an active deployment revision.
- Backend version **26\.4.2 or later** (including BA-5874) is required; tab visibility should be gated via `baiClient.supports('deployment-preset')`.
## Test plan
- [ ] Spec renders correctly on GitHub
- [ ] Schema diff compiles via `pnpm run relay` locally
- [ ] Acceptance criteria are verifiable
[FR-2750]: https://lablup.atlassian.net/browse/FR-2750?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
1 parent 77fd99c commit a4937e7
1 file changed
Lines changed: 164 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
0 commit comments