refactor(tuning): gather the nineteen numbers that escaped the tuning file #664

Merged
coilyco-ops merged 1 commit from coilyco-ops/gather-the-escaped-numbers into main 2026-08-13 18:13:59 +00:00 AGit
Member

closes #659 - nineteen constants moved back into tuning.go, two of them into sections that were already empty and waiting; eight file modes, sentinels and check thresholds deliberately left

closes #659 - nineteen constants moved back into tuning.go, two of them into sections that were already empty and waiting; eight file modes, sentinels and check thresholds deliberately left
refactor(tuning): gather the nineteen numbers that escaped the tuning file
All checks were successful
ci / image-build (pull_request) Successful in 30s
ci / test (pull_request) Successful in 43s
ci / publish-echo-image (pull_request) Has been skipped
ci / publish-observed (pull_request) Has been skipped
1615d27fec
sirens-echo#368 put every tuning number in internal/community/tuning.go.
Nineteen have since been declared beside the code that uses them. This
moves them back, comments intact.

Two of them had escaped into sections that were already waiting for
them. "Job progress" was an empty const block and jobProgressEvery was
in jobprogress.go. "Scratch space" listed four bounds and
maxScratchPartitionBytes was in scratch.go. So the file was not merely
incomplete, it was describing a shape it no longer held.

Eight numbers stay where they are, deliberately. Three are file modes,
one is a sentinel, and four are thresholds a check is built around
rather than knobs anyone would turn. Moving those would make the
tuning file a junk drawer and bury the numbers worth finding.

The knob-versus-fact split is a judgement and it is written on the
issue for Kai to overrule. Moving the other eight is one commit.

reactions.go no longer imports time.

Refs sirens-echo#659

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-authored-by: Kai Siren <coilysiren@gmail.com>
Co-authored-by: Claude <noreply@anthropic.com>
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
coilyco-gaming/sirens-echo!664
No description provided.