diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-12 22:36:11 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-12 22:36:11 +0300 |
| commit | a2c067cc49b96968da81031275de9c44c4ba2ee9 (patch) | |
| tree | 84d0507274599cf3cad0daa9b1be613549b74304 /internal/tui/screenrouter.go | |
| parent | 235eb7541d6396e860b23aad63ed44c734cdf767 (diff) | |
introduce RuntimeBuilder to separate construction from orchestration in ior.go
RuntimeBuilder encapsulates allocation of per-trace-session components
(statsengine.Engine, streamrow.RingBuffer, Sequencer, flamegraph.LiveTrie);
buildTUIRuntime, buildTestFlamesRuntime, and buildTestLiveFlamesRuntime now
delegate construction to RuntimeBuilder.Build() and focus only on wiring.
wireRuntimeBindings is extracted to isolate the context-binding wiring step.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/tui/screenrouter.go')
0 files changed, 0 insertions, 0 deletions
