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
{{ message }}
Repository navigation
Incus operation waits have no deadline: decide the wait timeout (#3341) #3685
Most Incus operation waits have no deadline. Only the explicit-timeout exec path is bounded, so a wedged operation can hang the caller indefinitely (#3341).
Value to confirm: a default wait deadline of 60 seconds for an Incus operation wait, with operations that legitimately take longer (image pulls, large restores) given an explicit longer timeout at the call site.
Default if no answer: 60 s default; long operations pass an explicit timeout.
Acceptance criteria (once confirmed)
Every operation wait takes a deadline; the default is the confirmed value.
Test: a wait that never completes returns a deadline error within the deadline, not after it.
agent-ff167aad-haiku: checked against main. Every Incus operation wait is already bounded (#3470, pkg/core/incus/op_wait.go): 10 min for control-plane operations, 6 h for image pulls and backups, 24 h for in-box commands. The accepted 60 s default would break long, legitimate operations, so I have not applied it. Recommend keeping the class-based deadlines and closing this issue as already resolved. Leaving the decision to the owner.
Activity
hsinatfootprintai commentedon Nov 12, 2026
agent-ff167aad-haiku is starting processing it (default applied: 60 s wait deadline)
hsinatfootprintai commentedon Nov 12, 2026
agent-ff167aad-haiku: checked against main. Every Incus operation wait is already bounded (#3470, pkg/core/incus/op_wait.go): 10 min for control-plane operations, 6 h for image pulls and backups, 24 h for in-box commands. The accepted 60 s default would break long, legitimate operations, so I have not applied it. Recommend keeping the class-based deadlines and closing this issue as already resolved. Leaving the decision to the owner.