Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/lib/yaml/handlers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,9 @@ const webhookHandler = defineHandler<YamlWebhook, Schemas['WebhookEndpointDto'],

// defaultRetryStrategy is optional (not nullable) in the Update schema,
// but a group can legitimately have none, so we add | null.
type ResourceGroupSnapshotBase = Required<Schemas['UpdateResourceGroupRequest']>
// managedBy is a mutation signal (provenance), not declarative state —
// snapshots should ignore it the same way the Monitor handler does.
type ResourceGroupSnapshotBase = Required<Omit<Schemas['UpdateResourceGroupRequest'], 'managedBy'>>
type ResourceGroupSnapshot = Omit<ResourceGroupSnapshotBase, 'defaultRetryStrategy'> & {
defaultRetryStrategy: ResourceGroupSnapshotBase['defaultRetryStrategy'] | null
}
Expand Down
Loading