summaryrefslogtreecommitdiff
path: root/internal/eventloop_commresolver_test.go
AgeCommit message (Collapse)Author
2026-05-13fix: add 1s context timeout to commResolver procfs reads to prevent ↵Paul Buetow
indefinite blocking Frozen cgroup entries in /proc could stall a lookup worker goroutine forever, preventing clean shutdown because shutdown() waits on workersWG.Wait(). Changed resolveFn signature to accept context.Context and wrap each call in context.WithTimeout(1s) in both lookupWorker and seedTrackedPidComm. Added TestCommResolverLookupWorkerRespectsTimeout to verify the pending entry is cleared after a timeout. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-13Handle procfs lookup errors in event loop (task 392)Paul Buetow
2026-03-08tests: replace eventloop sleep synchronization with deterministic signalingPaul Buetow
2026-03-08task(ior): add comm resolver shutdown lifecycle (task fcd866dd)Paul Buetow
2026-03-06refactor: bound comm resolver lookups with worker pool (task 384)Paul Buetow