fix: limit cancel-all-matching-filters to top-level jobs (#12373)

Claude-Session: https://claude.ai/code/session_01PjsYvu7Wp1NGdgZrGdaP6v

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Ruben Fiszel
2026-11-12 08:09:34 +00:00
committed by GitHub
co-authored by Claude Opus 5.5
parent 37538e979e
commit 3e7adc1c4f
2 changed files with 8 additions and 1 deletions
+5
View File
@@ -17933,6 +17933,11 @@ paths:
required: false
schema:
type: string
- name: has_null_parent
description: has null parent
in: query
schema:
type: boolean
- name: all_workspaces
description: get jobs from all workspaces (only valid if request come from the `admins` workspace)
in: query
+3 -1
View File
@@ -405,7 +405,9 @@
: undefined,
// isFlowStep: jobKindsCat != 'all' ? false : undefined,
hasNullParent:
filters.val.path != undefined || filters.val.job_kinds != 'all' ? true : undefined,
filters.val.path != undefined || filters.val.folder || filters.val.job_kinds != 'all'
? true
: undefined,
label: filters.val.label || undefined,
tag: filters.val.tag || undefined,
suspended: