Skip to content

Commit 501932f

Browse files
ilonatommyCopilot
andauthored
Set agent-side buildTimeout for Blazor Wasm to fix build timeout (#2162)
PR #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: #2158 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 142b004 commit 501932f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/blazor-scenarios.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ steps:
5555
"name": "crank",
5656
"condition": "(${{ parameters.condition }})",
5757
"timeout": "00:20:00",
58-
"args": [ "${{ parameters.arguments }} --session $(session) ${{ s.arguments }} --application.framework net11.0 --command-line-property --table BlazorWasm --sql SQL_CONNECTION_STRING --cert-tenant-id SQL_SERVER_TENANTID --cert-client-id SQL_SERVER_CLIENTID --cert-path SQL_SERVER_CERT_PATH --cert-sni --chart" ]
58+
"args": [ "${{ parameters.arguments }} --session $(session) ${{ s.arguments }} --application.buildTimeout 00:20:00 --application.framework net11.0 --command-line-property --table BlazorWasm --sql SQL_CONNECTION_STRING --cert-tenant-id SQL_SERVER_TENANTID --cert-client-id SQL_SERVER_CLIENTID --cert-path SQL_SERVER_CERT_PATH --cert-sni --chart" ]
5959
}
6060
6161
- ${{ each s in parameters.lighthouseScenarios }}:

0 commit comments

Comments
 (0)