Skip to content

Fix Blazor Wasm build timeout by setting agent-side buildTimeout#2162

Merged
LoopedBard3 merged 1 commit intoaspnet:mainfrom
ilonatommy:fix-blazor-wasm-build-timeout
Mar 9, 2026
Merged

Fix Blazor Wasm build timeout by setting agent-side buildTimeout#2162
LoopedBard3 merged 1 commit intoaspnet:mainfrom
ilonatommy:fix-blazor-wasm-build-timeout

Conversation

@ilonatommy
Copy link
Contributor

@ilonatommy ilonatommy commented Mar 9, 2026

PR #2158 increased the controller-level session timeout in the Service Bus message body to 20 minutes, but the crank agent's build step still used the default 10-minute DefaultBuildTimeout from dotnet/crank. The Build is taking too long. Halting build. error (e.g. build 2921804) was the agent killing the build, not the controller timing out.

This adds --application.buildTimeout 00:20:00 to the crank args so the agent allows 20 minutes for the Blazor WASM application to build, matching the pattern used in mono-scenarios.yml for long-building scenarios.

Ref: #2158
Testing

PR aspnet#2158 increased the controller-level session timeout to 20 minutes,
but the crank agent's build step still used the default 10-minute
DefaultBuildTimeout from dotnet/crank. The 'Build is taking too long'
error on asp-citrine-lin (build 2921804) was the agent killing the
build, not the controller timing out.

Add --application.buildTimeout 00:20:00 to the crank args so the agent
allows 20 minutes for the Blazor WASM application to build.

Ref: aspnet#2158

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@ilonatommy ilonatommy requested a review from LoopedBard3 March 9, 2026 13:32
@LoopedBard3 LoopedBard3 merged commit 501932f into aspnet:main Mar 9, 2026
2 checks passed
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