summaryrefslogtreecommitdiff
path: root/internal/runtime/runtime.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-12 00:03:58 +0300
committerPaul Buetow <paul@buetow.org>2026-05-12 00:03:58 +0300
commit6e1bc3b4136fc79999c97c39713c3c3f24cbcc1c (patch)
tree74fc2015d606bed65d17d064815b82731437476b /internal/runtime/runtime.go
parentcbf4e025be9d2ceeafd1f67eb1373fc11af65193 (diff)
refactor: split Snapshot in statsengine to comply with 50-line limit
Extract captureSnapshotInputs (lock-guarded state copy), buildSubSnapshots (concurrent per-category builders), and populateSnapshotFields (scalar field assignment) from the monolithic Snapshot method. The method itself is now 18 lines; all three helpers are well under 30 lines each. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/runtime/runtime.go')
0 files changed, 0 insertions, 0 deletions