You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(FR-2809): use adminPrometheusQueryPresetPreview for live query template preview (#7240)
Resolves#7239 (FR-2809)
## Summary
- Syncs `data/schema.graphql` with the new `adminPrometheusQueryPresetPreview` query and `PreviewQueryDefinitionInput` type added in the backend (BA-5950 / [backend PR #11482](lablup/backend.ai#11482)).
- Adds `PrometheusQueryTemplatePreview` — a new component that accepts a raw `queryTemplate` string, debounces it 800 ms, then calls `adminPrometheusQueryPresetPreview` via Relay; server errors are caught by an `ErrorBoundary` and shown as danger text below the field.
- Updates `PrometheusQueryPresetEditorModal` to use `Form.useForm()` + `Form.useWatch('queryTemplate')` so the preview works in both **create** and **edit** modes (previously only edit mode had a preview, and it was based on the saved preset ID rather than the live form value).
Added in UNRELEASED. Optional behavior flags applied to every vfolder in the batch. Defaults to all-false when omitted.
2064
+
"""
2065
+
options: PurgeVFolderOptionsInput!
2026
2066
}
2027
2067
2028
2068
"""Added in 26.4.2. Payload for bulk virtual folder purge."""
@@ -2031,6 +2071,22 @@ type BulkPurgeVFoldersV2Payload
2031
2071
{
2032
2072
"""Number of virtual folders successfully purged."""
2033
2073
purgedCount: Int!
2074
+
2075
+
"""List of errors for vfolders that failed to purge."""
2076
+
failed: [BulkPurgeVFolderV2Error!]!
2077
+
}
2078
+
2079
+
"""
2080
+
Added in UNRELEASED. Failure detail for a single vfolder in a bulk purge.
2081
+
"""
2082
+
type BulkPurgeVFolderV2Error
2083
+
@join__type(graph: STRAWBERRY)
2084
+
{
2085
+
"""UUID of the vfolder that failed to purge."""
2086
+
vfolderId: UUID!
2087
+
2088
+
"""Error message describing the failure."""
2089
+
message: String!
2034
2090
}
2035
2091
2036
2092
"""
@@ -4689,25 +4745,6 @@ type DeleteModelCardPayloadGQL
4689
4745
id: UUID!
4690
4746
}
4691
4747
4692
-
"""Added in 26.4.2. Input for deleting multiple model cards."""
4693
-
input DeleteModelCardsV2Input
4694
-
@join__type(graph: STRAWBERRY)
4695
-
{
4696
-
"""List of model card UUIDs to delete."""
4697
-
ids: [UUID!]!
4698
-
4699
-
"""Added in UNRELEASED. Options for the delete operation."""
4700
-
options: DeleteModelCardV2Options = null
4701
-
}
4702
-
4703
-
"""Added in 26.4.2. Payload for bulk model card deletion."""
4704
-
type DeleteModelCardsV2Payload
4705
-
@join__type(graph: STRAWBERRY)
4706
-
{
4707
-
"""Number of model cards successfully deleted."""
4708
-
deletedCount: Int!
4709
-
}
4710
-
4711
4748
"""Added in UNRELEASED. Options for the model card delete operation."""
4712
4749
input DeleteModelCardV2Options
4713
4750
@join__type(graph: STRAWBERRY)
@@ -5279,6 +5316,9 @@ type DeploymentRevisionPresetEnvironEntry
5279
5316
input DeploymentRevisionPresetFilter
5280
5317
@join__type(graph: STRAWBERRY)
5281
5318
{
5319
+
"""Added in UNRELEASED. Filter by preset ID."""
5320
+
id: UUIDFilter = null
5321
+
5282
5322
"""Name filter."""
5283
5323
name: StringFilter = null
5284
5324
@@ -9552,6 +9592,11 @@ type ModelRevision implements Node
9552
9592
"""Additional volume folder mounts."""
9553
9593
extraMounts: [ExtraVFolderMountInfoGQL!]!
9554
9594
9595
+
"""
9596
+
Added in UNRELEASED. ID of the deployment-level preset that produced this revision. ``None`` when the revision was created without a preset, when the originating preset row has since been deleted (SET NULL FK), or for legacy rows that predate this field.
9597
+
"""
9598
+
revisionPresetId: UUID
9599
+
9555
9600
"""Timestamp when the revision was created."""
9556
9601
createdAt: DateTime!
9557
9602
@@ -9563,6 +9608,11 @@ type ModelRevision implements Node
9563
9608
"""
9564
9609
imageV2: ImageV2
9565
9610
9611
+
"""
9612
+
Added in UNRELEASED. The deployment-level preset that produced this revision, resolved via DataLoader. ``None`` when the revision was created without a preset, when the originating preset row has since been deleted (SET NULL FK), or for legacy rows that predate this field.
9613
+
"""
9614
+
revisionPreset: DeploymentRevisionPreset
9615
+
9566
9616
"""Added in 26.4.2. Resource slot allocations for this revision."""
0 commit comments