mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-10-15 08:02:53 +00:00
fix: leave a zombie for the next sweep when its scopes cannot be read
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014FHGE3ynoAu6yrgeg4kLwL
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
c770c5a7fc
commit
b5bd70b2a5
@@ -3744,6 +3744,8 @@ impl From<QueuedJobV2> for MiniCompletedJob {
|
||||
// `QueuedJobV2` carries no args, and nothing reaches the restart gate
|
||||
// through this conversion — the worker completes jobs from the pulled job.
|
||||
build_binary_only: false,
|
||||
// Nor scopes: a caller whose completion can re-run the job fills them in from
|
||||
// `job_perms` while the job is still queued.
|
||||
job_token_scopes: None,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user