Skip to content

review: post-merge round over the batch - #135

Merged
CMGS merged 1 commit into
masterfrom
review/round4
Sep 9, 2026
Merged

review: post-merge round over the batch#135
CMGS merged 1 commit into
masterfrom
review/round4

Conversation

@CMGS

@CMGS CMGS commented Sep 9, 2026

Copy link
Copy Markdown
Collaborator

What

The four /simplify lenses over the whole batch since the last style round. Applied:

  • ToResourcePercent divides through core's AdvancedDivide instead of a local twin.
  • node status keeps its one-shot and periodic paths apart: the one-shot returns its heartbeat, the periodic logs the first beat like every later one.
  • nodePercentOf is the one place a node's percentages are computed; the stream path no longer builds a one-element slice per node.

Not applied, recorded for a later batch: declaring required positionals through urfave/cli v3 cli.Argument across the 18 commands that hand-roll the "name must be given" check (about −54 lines; changes the error text).

Lines

Production −4 net, tests unchanged; comment delta +0 −0.

Evidence

Gate on the branch: build, vet, full tests, make lint, make fmt-check and asl on both GOOS green.

ToResourcePercent divides through core's AdvancedDivide instead of a
local twin; the node status command keeps its one-shot and periodic
paths apart; nodePercentOf is the one place a node's percentages are
computed, so the stream path no longer builds a one-element slice per
node.
@CMGS
CMGS merged commit d330d4b into master Sep 9, 2026
3 checks passed
@CMGS
CMGS deleted the review/round4 branch September 9, 2026 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant