Skip to content

tests: event waits in cli, plan and adopt tests - #14822

Merged
TrapsterDK merged 2 commits into
mainfrom
tests/event-waits-cli
Nov 24, 2026
Merged

TrapsterDK merged 2 commits into
mainfrom
tests/event-waits-cli

Conversation

@TrapsterDK

Copy link
Copy Markdown
Collaborator

Stacked on #14818. Review only the last commit.

  • plan slots, cli adopt/exec tests, dev launcher: wait on file events, lock release and process exit instead of sleep polls.
  • adopt launcher and qt: run or copy launchers so no ETXTBSY retry is needed.
  • adopt watch: feed debounce batches through the session channel.
  • site browser: wake on profile file events and browser animation frames.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Xut2hyBydsMejdwk6QdKus

TrapsterDK and others added 2 commits November 24, 2026 09:15
dx_test_scratch::wait adds bounded waits on real conditions: a path
appearing (notify), a lock coming free, a pid exiting (pidfd, kqueue,
WaitForSingleObject via dx_os_sys::exit) and a child exiting under a
deadline. dx_testing, the process and nested probes, the nested
harness and reaper, the lsp session and the maven pin use them in place
of sleep-and-poll loops. Long-lived stand-in children block on stdin
instead of sleeping. dx_testing::rlocation opens the runfiles manifest
once instead of on every call, which made module_extension_srcs_test
time out on Windows.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Xut2hyBydsMejdwk6QdKus
Wait on file events, lock release, process exit and browser frames
instead of fixed sleeps. Run launcher scripts through /bin/sh and copy
the qt launcher in a child, so no ETXTBSY retry is needed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Xut2hyBydsMejdwk6QdKus
@TrapsterDK

Copy link
Copy Markdown
Collaborator Author

/evidence platforms=["linux_x86_64","macos_arm64","windows_x86_64"] task=test scope=//cli/plan:dx_plan_test //cli/adopt:dx_adopt_test //cli/cli:dx_cli_test //cli/cli/tests/agents:dev_launcher_test //qt/tests:qt_test //tools/docs/site/browser:dx_site_browser_test //tools/docs/site:browser_test //tools/docs/site:deploy_smoke_test

@TrapsterDK
TrapsterDK merged commit 092ceb4 into main Nov 24, 2026
17 of 27 checks passed
@TrapsterDK
TrapsterDK deleted the tests/event-waits-cli branch November 24, 2026 09:38
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.

1 participant