Skip to content

Add timeout to TPM SSH workflow to prevent multi-hour hangs#1046

Merged
dgarske merged 1 commit into
wolfSSL:masterfrom
aidangarske:tpm-ssh-timeout-v2
Jun 22, 2026
Merged

Add timeout to TPM SSH workflow to prevent multi-hour hangs#1046
dgarske merged 1 commit into
wolfSSL:masterfrom
aidangarske:tpm-ssh-timeout-v2

Conversation

@aidangarske

Copy link
Copy Markdown
Member

The TPM SSH Test workflow has no job timeout, so it inherits GitHub's 6-hour default. This run hung for ~2 hours before being cancelled.

Changes:

  • Add timeout-minutes: 20 at the job level so any hung matrix leg is killed instead of running for hours. The job normally finishes in a few minutes.
  • Wrap the client public-key auth step in timeout 20. Unlike the host-key test (already wrapped in timeout 20), the bare client invocation had no timeout and is the most likely indefinite-hang source — this makes it fail fast and cleanly rather than consuming the full job budget.

@dgarske dgarske merged commit e52b038 into wolfSSL:master Jun 22, 2026
129 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.

3 participants