From ffd93382171d10f536fe161f703afc1b9eacf594 Mon Sep 17 00:00:00 2001 From: Maurice Date: Fri, 27 Nov 2026 22:41:52 +0100 Subject: [PATCH] fix(ci): give the Sonar upload five minutes instead of one The release pull request's analysis report zips to about 77 MB, and the scanner gave up on its upload to SonarCloud after the default 60 second socket timeout three runs in a row (HttpTimeoutException on ce/submit), so the scan never reached a quality gate. --- sonar-project.properties | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sonar-project.properties b/sonar-project.properties index 29c2a8c5d..9e9e32ffb 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -3,6 +3,13 @@ sonar.organization=liketrek sonar.projectName=TREK sonar.sourceEncoding=UTF-8 +# The analysis report of the release pull request zips to about 77 MB, and its +# upload to SonarCloud ran past the scanner's 60 second socket timeout three +# times in a row. Five minutes leaves room for a slow upload; a hung one still +# ends. +sonar.scanner.socketTimeout=300 +sonar.scanner.responseTimeout=300 + # Sources — one entry per workspace package (plugin-sdk is standalone but lives in-repo) sonar.sources=client/src,server/src,shared/src,plugin-sdk/src