Skip to content

shelltool: remove shared test timeout - #1353

Merged
Quim Muntal (qmuntal) merged 1 commit into
mainfrom
qmuntal/remove-shell-test-timeout
Nov 4, 2026
Merged

Quim Muntal (qmuntal) merged 1 commit into
mainfrom
qmuntal/remove-shell-test-timeout

Conversation

@qmuntal

Copy link
Copy Markdown
Member

Remove the shared 20-second per-command deadline from the persistent shell behavioral tests. Timeout-specific tests keep their explicit limits, and the overall go test timeout still bounds the suite.

This removes the unrelated deadline hit by the PowerShell exit-code test in https://github.com/microsoft/agent-framework-go/actions/runs/41782292794. No data race was reported or reproduced.

Validation: the full shelltool package passed on Windows/amd64 with -race and CI shuffle seed 1793772092443344900, including a fresh run on this main-based branch.

Remove the helper's unrelated 20-second per-command deadline from the persistent shell behavioral tests. Keep explicit deadlines in timeout-specific tests and rely on the overall go test timeout to catch hangs.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@qmuntal
Quim Muntal (qmuntal) requested a review from a team as a code owner November 4, 2026 06:25
Copilot AI balanced review requested due to automatic review settings November 4, 2026 06:25
@github-actions github-actions Bot added the area:tool Changes files in the tool area label Nov 4, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are reported for the change removing the shared timeout from persistent shell tests.

No open issues 🎉

What changed in this PR

Removes the shared per-command deadline from persistent shell behavioral tests to avoid unrelated timeout failures, including the reported PowerShell exit-code test failure.

Changes:

  • Removes the 20-second timeout from persistentPlatformConfig.
  • Leaves timeout-specific tests’ explicit limits and the overall go test timeout unchanged.
File Description
tool/​shelltool/​shelltool_test.go Removes the shared timeout from the persistent shell test configuration.

Review effort: Balanced

@qmuntal
Quim Muntal (qmuntal) added this pull request to the merge queue Nov 4, 2026
Merged via the queue into main with commit a7f80de Nov 4, 2026
18 checks passed
@qmuntal
Quim Muntal (qmuntal) deleted the qmuntal/remove-shell-test-timeout branch November 4, 2026 11:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:tool Changes files in the tool area

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants