From 2d8541533dab09520bb5c06814b685107b5f1a58 Mon Sep 17 00:00:00 2001 From: Mustafa Gezen Date: Mon, 23 Oct 2023 09:53:48 +0200 Subject: [PATCH] Increase HeartbeatTimeout for BuildArchActivity Currently the Rust builds fails, most likely due to a lock that happens with aarch64. Either the heartbeat tick dies early and timeout happens right before success or something else makes heartbeats not work at all. Best solution for now is to just increase timeout. --- peridot/builder/v1/workflow/build.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/peridot/builder/v1/workflow/build.go b/peridot/builder/v1/workflow/build.go index f1243c9..3b0070d 100644 --- a/peridot/builder/v1/workflow/build.go +++ b/peridot/builder/v1/workflow/build.go @@ -681,7 +681,7 @@ func (c *Controller) BuildWorkflow(ctx workflow.Context, req *peridotpb.SubmitBu archCtx := workflow.WithActivityOptions(ctx, workflow.ActivityOptions{ ScheduleToStartTimeout: 12 * time.Hour, StartToCloseTimeout: 48 * time.Hour, - HeartbeatTimeout: 2 * time.Hour, + HeartbeatTimeout: 12 * time.Hour, TaskQueue: archTaskQueue, RetryPolicy: &temporal.RetryPolicy{ MaximumAttempts: 1,