Skip to content

Commit 7e26b13

Browse files
committed
fix(dagster): always override jobName in list_runs params to prevent stale launch_run value leaking
1 parent bc2b92a commit 7e26b13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/sim/blocks/blocks/dagster.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ Return ONLY the comma-separated status values - no explanations, no extra text.`
309309
// list_runs: type-coerce limit and remap job name filter
310310
if (params.operation === 'list_runs') {
311311
if (params.limit != null && params.limit !== '') result.limit = Number(params.limit)
312-
if (params.listRunsJobName) result.jobName = params.listRunsJobName
312+
result.jobName = params.listRunsJobName || undefined
313313
}
314314

315315
// get_run_logs: remap logsLimit → limit

0 commit comments

Comments
 (0)