summaryrefslogtreecommitdiff
path: root/internal/tui/pidpicker
AgeCommit message (Collapse)Author
2026-05-13fix(pidpicker): eliminate defer-inside-goroutine-in-loop anti-patternsPaul Buetow
Extract the per-pid goroutine body from scanAllThreadsFrom into a named scanThreadsWorker function. This removes both defer statements from the anonymous closure that was spawned inside a for loop: the semaphore release is now an explicit <-sem call immediately after I/O completes, and wg.Done() is called directly after scanThreadsWorker returns. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-13improve unit test coverage to >=60% in probes, common, export, streamrow, ↵Paul Buetow
pidpicker, tui/export Before: probes=30%, tui/common=41%, export=0%, streamrow=25%, pidpicker=59%, tui/export=45% After: probes=89%, tui/common=97%, export=77%, streamrow=100%, pidpicker=73%, tui/export=99% New test files cover RingBuffer push/wrap/reset, Row accessor methods, nil Sequencer safety, SnapshotCSV nil and data paths, helper functions snapValue / snapValueF / trendSummary, all table navigation keys, VisibleTableWindow/ ClampTableCol edge cases, RenderTableHeader/Row, PickerShortHelp, probe modal navigation/search/toggle/view/error paths, truncateText/sanitizeOneLine, export modal View rendering, key navigation, status messages, scanAllThreadsFrom, readThreadInfo guards, formatProcess variants, and clamp helper. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-18cleanupPaul Buetow
2026-03-05Normalize Go import grouping with local ior sectionPaul Buetow
2026-03-05Add package-level docs across internal packagesPaul Buetow
2026-03-05fix(tui): stabilize full-width layout and sparkline renderingPaul Buetow
2026-03-05feat(tui): detect terminal theme and apply palettesPaul Buetow
2026-03-05refactor(tui): migrate source key handling to KeyPressMsgPaul Buetow
2026-03-05feat(tui): migrate Bubble Tea stack to charm.land v2Paul Buetow
2026-02-26tui: revamp status keys and add pid/tid reselection flowPaul Buetow
2026-02-24tui: address review feedback for dashboard and exportPaul Buetow
2026-02-23tui: add top-level model and run entrypointPaul Buetow
2026-02-23tui: add pid picker model and /proc scannerPaul Buetow