Skip to content

test(e2e): extend Windows streaming TUI timeouts - #4005

Merged
Sayt-0 merged 1 commit into
mainfrom
fix/3983-windows-tui-streaming-timeout
Aug 20, 2026
Merged

Sayt-0 merged 1 commit into
mainfrom
fix/3983-windows-tui-streaming-timeout

Conversation

@Sayt-0

@Sayt-0 Sayt-0 commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Summary

  • apply a 30-second tuitest timeout to the two simulated-stream TUI scenarios on Windows
  • retain the default timeout on other platforms and for all unrelated TUI tests
  • preserve the existing streamed-output assertions and timeout diagnostics

Issue expectations

Expectation Implementation
Use tuitest.WithTimeout(30*time.Second) for affected Windows tests Applied by the shared streaming-test constructor when runtime.GOOS == "windows"
Keep the increase narrowly scoped Constructor is used only by TestChat_SteerWhileStreaming and TestChat_QueueSendModeWhileStreaming
Preserve output assertions and diagnostics Assertions and tuitest timeout reporting are unchanged
Avoid a global timeout increase defaultWaitTimeout and unrelated tests are unchanged
Handle cache or parallelism changes separately No CI cache or parallelism changes are included

Validation

  • task lint
  • task build
  • task test
  • targeted TUI tests with -count=3 on macOS
  • Windows amd64 cross-compilation with a clean Go build cache
  • targeted Windows test binary under Wine 11.0: 5 repetitions per test, 10/10 passed with no timeout
  • native GitHub Actions windows-tests: passed in runs 32345381401 and 32346112403

The two workflow-dispatch runs report an overall failure only because post-validation image publication could not obtain a Docker Hub OIDC token on the branch. lint, license-check, build-and-test, and windows-tests passed in both runs, and no image was published.

Closes #3983

@Sayt-0
Sayt-0 requested a review from a team as a code owner August 20, 2026 08:50
@aheritier aheritier added area/testing Test infrastructure, CI/CD, test runners, evaluation area/tui For features/issues/fixes related to the TUI kind/test Test-only changes labels Aug 20, 2026

@aheritier aheritier left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Reviewed the Windows-specific streaming TUI timeout adjustment. Scope is appropriately limited, CI is green, and I found no blocking issues.

@Sayt-0
Sayt-0 merged commit 1914141 into main Aug 20, 2026
30 of 41 checks passed
@Sayt-0
Sayt-0 deleted the fix/3983-windows-tui-streaming-timeout branch August 20, 2026 11:20
social4hyq pushed a commit to social4hyq/homebrew-core that referenced this pull request Sep 20, 2026
docker-agent 1.127.0

Created-by: HarmonybrewBot
Commit-by: HarmonybrewBot
Merged-by: HarmonybrewBot
Description: Created by `brew bump`

---

Created with `brew bump-formula-pr`.<details>
  <summary>release notes</summary>
  <pre>This release delivers Desktop PAC-aware egress with SSRF protections, several runtime and toolset fixes, and documentation updates for served-agent safety controls.

## What's New

- Adds Desktop PAC-aware egress for configured HTTP clients while preserving standalone proxy behavior and SSRF protections, covering agent/source fetches, sessions, tools, MCP HTTP transports, and MCP OAuth flows

## Bug Fixes

- Fixes slow toolset startup from blocking conversation turns; keeps turns responsive when a toolset start is already in progress or exceeds the start budget
- Fixes `on_user_input` notifications firing incorrectly for sub-sessions, background agents, non-interactive runs, and canceled max-iteration waits — now only fires when an interactive root session is genuinely waiting for the next prompt
- Fixes Desktop PAC transport detection, routing, and state retention across multiple egress and transport handling regressions
- Fixes server to distinguish unavailable agent sources

## Technical Changes

- Extends Windows streaming TUI test timeouts to 30 seconds for simulated-stream scenarios
- Updates CLI reference documentation for `serve a2a` safety flags (`--auth-token`, `--cors-origin`, `--insecure-no-auth`, `--safety`)
- Adds documentation describing Desktop PAC egress controls and clarifying coverage for MCP OAuth and direct egress
- Makes Desktop transport tests hermetic
---

## What's Changed
* docs: update CHANGELOG.md for v1.126.0 by @docker-read-write[bot] in docker/docker-agent#4002
* docs: complete CLI reference for serve a2a safety flags by @aheritier in docker/docker-agent#4003
* test(e2e): extend Windows streaming TUI timeouts by @Sayt-0 in docker/docker-agent#4005
* fix: add Desktop PAC-aware egress with SSRF protections by @aheritier in docker/docker-agent#3999
* fix(runtime): avoid false on_user_input notifications by @Sayt-0 in docker/docker-agent#4010
* fix(tools): prevent slow startup from blocking turns by @Sayt-0 in docker/docker-agent#4009
* fix(runtime): scope harness prompt-selection to fresh vs resume session by @aheritier in docker/docker-agent#4012


**Full Changelog**: docker/docker-agent@v1.126.0...v1.127.0
</pre>
  <p>View the full release notes at <a href="https://github.com/docker/docker-agent/releases/tag/v1.127.0">https://github.com/docker/docker-agent/releases/tag/v1.127.0</a>.</p>
</details>
<hr>

See merge request: Harmonybrew/homebrew-core!17388
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/testing Test infrastructure, CI/CD, test runners, evaluation area/tui For features/issues/fixes related to the TUI kind/test Test-only changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Harden Windows TUI streaming e2e tests against cold-cache timing flakes

2 participants