Skip to content

test(cli): increase timeout in TestGitSSH to reduce flakes#21725

Merged
mafredri merged 1 commit into
mainfrom
mafredri/test-fix-gitssh-timeout
Jan 28, 2026
Merged

test(cli): increase timeout in TestGitSSH to reduce flakes#21725
mafredri merged 1 commit into
mainfrom
mafredri/test-fix-gitssh-timeout

Conversation

@mafredri

Copy link
Copy Markdown
Member

The test occasionally times out at 15s on Windows CI runners.
Investigation of CI logs shows the HTTP request to the agent's
gitsshkey endpoint never appears in server logs, suggesting it
hangs before the request completes (possibly in connection setup,
middleware, or database queries). Increase to 60s to reduce flake
rate.

Fixes coder/internal#770

The test occasionally times out at 15s on Windows CI runners.
Investigation of CI logs shows the HTTP request to the agent's
gitsshkey endpoint never appears in server logs, suggesting it
hangs before the request completes (possibly in connection setup,
middleware, or database queries). Increase to 60s to reduce flake
rate.

Fixes coder/internal#770
@mafredri mafredri self-assigned this Jan 28, 2026
@mafredri mafredri changed the title fix(cli): increase timeout in TestGitSSH to reduce flakes test(cli): increase timeout in TestGitSSH to reduce flakes Jan 28, 2026
@mafredri mafredri requested a review from johnstcn January 28, 2026 09:36
@mafredri mafredri merged commit d06b21d into main Jan 28, 2026
30 checks passed
@mafredri mafredri deleted the mafredri/test-fix-gitssh-timeout branch January 28, 2026 12:01
@github-actions github-actions Bot locked and limited conversation to collaborators Jan 28, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

flake: TestGitSSH/Local_SSH_Keys

2 participants