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
in our pipelines, while building larger images we experience occasional network interruptions in connections between buildx and buildkit which results in a "stale" connection where buildx waits for an undefined period of time (it times out due to our CI jobs having time limit) . Having a parameter to define wait time could help to detect broken connections sooner and retry rather than waiting indefinite amount of time for it to eventually fail and then retry.
To clarify - we could shorten timeouts for our jobs, but those timeouts cover the actual build and it can legitimately stretch for the entire duration of a timeout. However it's impossible from pipeline (or any scripting, really) perspective to distinguish between ongoing build and stale connection. Thus adding a timeout where we can state that "buildx is to give up connection with buildkit if there were no network exchange between the two for at least X minutes".
The text was updated successfully, but these errors were encountered:
Description
Narrowing the scope of #1923 to a smaller change:
in our pipelines, while building larger images we experience occasional network interruptions in connections between
buildx
andbuildkit
which results in a "stale" connection wherebuildx
waits for an undefined period of time (it times out due to our CI jobs having time limit) . Having a parameter to define wait time could help to detect broken connections sooner and retry rather than waiting indefinite amount of time for it to eventually fail and then retry.To clarify - we could shorten timeouts for our jobs, but those timeouts cover the actual build and it can legitimately stretch for the entire duration of a timeout. However it's impossible from pipeline (or any scripting, really) perspective to distinguish between ongoing build and stale connection. Thus adding a timeout where we can state that "buildx is to give up connection with buildkit if there were no network exchange between the two for at least X minutes".
The text was updated successfully, but these errors were encountered: