Skip to content

Actually provide timeout setting to GCB executor#1093

Open
wbxyz wants to merge 2 commits intogoogle:mainfrom
wbxyz:push-nxrvrvzulxpk
Open

Actually provide timeout setting to GCB executor#1093
wbxyz wants to merge 2 commits intogoogle:mainfrom
wbxyz:push-nxrvrvzulxpk

Conversation

@wbxyz
Copy link
Member

@wbxyz wbxyz commented Feb 25, 2026

No description provided.

@wbxyz wbxyz requested a review from msuozzo February 25, 2026 17:32
// Make the Cloud Build "Build" request
gcbBuild := e.makeBuild(input.Target, plan)
if opts.Timeout > 0 {
gcbBuild.Timeout = fmt.Sprintf("%ds", int(opts.Timeout.Seconds()))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

okay so i think the better behavior would be to default to the max gcb time (which arguably gcb should be doing when, for worker pools, 60m isn't the max). then we could keep the timeout param client-side and focus on making sure that's handled appropriately (i.e. addressing any polling issues we're running into)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants