x/build/cmd/relui: add automatic retries #53886
Labels
Builders
x/build issues (builders, bots, dashboards)
FrozenDueToAge
NeedsFix
The path to resolution is known, but the work has not been done.
Projects
Milestone
We frequently experience flakes in build steps, particularly ones that involve buildlets: test flakes, network connectivity problems, etc.
cmd/releasebot
had automatic retries which were extremely valuable; relui should too.Not all tasks are safe to retry: if we fail mid-email or mid-Tweet we don't know if it was sent. (We do make an attempt to deduplicate emails but it is inherently racy.)
Since idempotence and retriability are properties of the task function, I think a reasonable API would be along the lines of
(*testing.T).Parallel
, where the function calls(*workflow.TaskContext).AllowRetries
or such to indicate that it supports retry. (We can decide whether it should be opt-in or opt-out; I lean toward opt-out given the set of tasks we have today.)cc @golang/release
The text was updated successfully, but these errors were encountered: