Skip to content

[ci-fix] test: add 15s timeout to analyze dependency-risks settings-404 test#418

Draft
github-actions[bot] wants to merge 1 commit into
masterfrom
ci-fix/analyze-dependency-risks-timeout-94e3fea5c9d2637d
Draft

[ci-fix] test: add 15s timeout to analyze dependency-risks settings-404 test#418
github-actions[bot] wants to merge 1 commit into
masterfrom
ci-fix/analyze-dependency-risks-timeout-94e3fea5c9d2637d

Conversation

@github-actions

@github-actions github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Diagnosis

Category: Test failure (flaky timeout)

The Windows CI job Integration and E2E Tests - windows failed on commit 9e6cb01 with a single test timeout:

(fail) analyze dependency-risks > exits with code 1 when project does not exist (settings 404) [5049.78ms]
  ^ this test timed out after 5000ms.

The test ran for 5049ms, just 50ms over Bun's default 5000ms timeout. The same test passed on the Linux runner. The adjacent tests in the same file already specify { timeout: 15000 } — this test was simply missing the override.

Failed run: https://github.com/SonarSource/sonarqube-cli/actions/runs/27197141869

Fix

Added { timeout: 15000 } to the 'exits with code 1 when project does not exist (settings 404)' test, matching the timeout already used by the two surrounding tests in analyze-dependency-risks.test.ts. No logic changes.

Generated by Ci Failure Triage Agent · sonnet46 1.8M ·

…n Windows

The test 'exits with code 1 when project does not exist (settings 404)'
was missing an explicit timeout option and relied on Bun's default 5000ms.
On the Windows CI runner it took 5049ms — just 50ms over the limit — causing
a spurious failure. Adjacent tests already use { timeout: 15000 }; applying
the same value here makes the suite consistent and prevents the flap.

Fixes: Build run 27197141869

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants