mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #2703] [CLOSED] tests: track the server sampler thread on shutdown #4223
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#4223
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/2703
Author: @allowq
Created: 10/15/2026
Status: ❌ Closed
Base:
main← Head:pr/sampler-thread-lifecycle📝 Commits (1)
3418962tests: track the server sampler thread on shutdown📊 Changes
1 file changed (+12 additions, -10 deletions)
View changed files
📝
serve/test_responses.py(+12 -10)📄 Description
Issue: Sampler shutdown test inspects unrelated process threads
The test counts process-wide threads, so unrelated threads can make the server
shutdown assertion fail.
PR: Check the server-owned sampler thread on shutdown
Assert the lifecycle of the sampler thread owned by the server under test.
No production code changes.
Validation:
serve.test_responses, including the shutdown regression.PR #1840 only waits for threads in its new
test_literal_think_guard.py;it does not change this existing assertion. A deterministic disappearing-thread
control fails on
296b59d2and passes with this change.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.