Skip to content

Dump stacktraces from goroutines on timeouts for inspection#442

Open
driv3r wants to merge 2 commits into
mainfrom
add-instrumentation-to-debug-stuck-tests
Open

Dump stacktraces from goroutines on timeouts for inspection#442
driv3r wants to merge 2 commits into
mainfrom
add-instrumentation-to-debug-stuck-tests

Conversation

@driv3r

@driv3r driv3r commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

This should help debug timeouts that we are having in tests

@driv3r driv3r requested a review from a team June 16, 2026 14:56
Add bounded Ruby test synchronization and watchdog diagnostics so CI hangs fail
with useful output instead of reaching the job timeout.

- Replace unbounded status-handler sleeps with a BlockingGate helper
- Track active Ghostferry status handlers for timeout diagnostics
- Add bounded subprocess joins with Ruby thread and Go goroutine dumps
- Add per-test Ruby wall-clock watchdog
- Keep expected interrupt/failure panic stacks buffered instead of live-printing
- Configure Go test timeouts and GOTRACEBACK for fuller goroutine dumps
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.

2 participants