Skip to content

fix(tests): test waits end on event or process exit - #2952

Merged
dan-petty merged 1 commit into
mainfrom
fix/2138-test-waits-events-process-exit
Oct 31, 2026
Merged

dan-petty merged 1 commit into
mainfrom
fix/2138-test-waits-events-process-exit

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Summary

Update test waits across telemetry, http, ai client, github, startup imports,
k8s, roadmap, and reactive UI modules to end on events or process exits rather
than hardcoded deadlines.

  • Replace 5 s and 10 s thread and barrier timeouts with THREAD_HANDOFF_BOUND_SECONDS.
  • Replace 30 s devops child process wait in test_github_session.py and worker termination in test_cli_startup_imports.py with wait_while_running.
  • Declare named module constants for quiet negative check windows in test_k8s_port_forward_daemon.py and test_roadmap_github_store.py.

Fail-to-pass: not applicable (the change replaces fixed time windows with event-driven handoff bounds, which pass on a quiet host on base).

Closes #2138

Update tests across telemetry, http, ai client, github, startup imports,
k8s, roadmap, and reactive UI modules to replace hardcoded deadline waits
with THREAD_HANDOFF_BOUND_SECONDS or wait_while_running. Negative checks
keep documented quiet windows.

Closes #2138
@dan-petty dan-petty added type/bug Type bug: the code does not do what it must scope/tests The test suite, its fixtures, fakes and floor labels Oct 31, 2026
@dan-petty
dan-petty marked this pull request as ready for review October 31, 2026 23:01
@dan-petty
dan-petty merged commit df07ee9 into main Oct 31, 2026
18 checks passed
@dan-petty
dan-petty deleted the fix/2138-test-waits-events-process-exit branch October 31, 2026 23:24
dan-petty pushed a commit that referenced this pull request Nov 1, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.36.0](v0.35.0...v0.36.0)
(2026-11-01)


### Features

* **k8s:** add bootstrap-mattermost command
([#2945](#2945))
([#2955](#2955))
([66ed3bf](66ed3bf))
* **k8s:** add bootstrap-mattermost command for webhooks and secrets
([#2948](#2948))
([4b22158](4b22158))
* **roadmap:** add devops roadmap explain
([#2960](#2960))
([8bc5e39](8bc5e39)),
closes [#2911](#2911)
* **roadmap:** start the runner Job from implement --item
([#2959](#2959))
([7c59283](7c59283)),
closes [#2913](#2913)
* **telemetry:** preview requests in dry run for monitoring commands
([#2954](#2954))
([eea778d](eea778d))
* **vault:** preview requests in dry run for valkey and vault commands
([#2941](#2941))
([91a971e](91a971e)),
closes [#2253](#2253)


### Bug Fixes

* **telemetry:** shutdown test waits for events not timers
([#2961](#2961))
([369ed25](369ed25)),
closes [#2690](#2690)
* **tests:** test waits end on event or process exit
([#2952](#2952))
([df07ee9](df07ee9)),
closes [#2138](#2138)

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/tests The test suite, its fixtures, fakes and floor type/bug Type bug: the code does not do what it must

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(tests): the remaining test waits end on an event or a process exit, not on a deadline of their own

1 participant