Skip to content

review: settle the asl forwarder advisories - #41

Merged
CMGS merged 1 commit into
mainfrom
review/forwarder-settle
Sep 11, 2026
Merged

CMGS merged 1 commit into
mainfrom
review/forwarder-settle

Conversation

@CMGS

@CMGS CMGS commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Why

asl now carries a forwarder advisory: an unexported one-statement func with exactly one call site. Three fired here; this settles them.

What

  • newCRLogger inlined: main builds logr.New(&crSink{ctx: ctx}) directly (net -4 lines).
  • hasPhaseDeadline and vmClonedAndRunning stay: each carries a WHY the call site cannot (the deadline-reset rule, the clone-before-Running race). Both are recorded as kept in the hygiene ledger so the advisory does not resurface.

No behaviour change; no comment added.

Evidence

GOWORK=off make fmt-check rc=0; GOWORK=off make lint rc=0 with two 0 issues lines (linux + darwin); asl ./... on both GOOS reports only the two kept advisories; GOWORK=off go test -race -count=1 ./... rc=0, no FAIL lines.

asl's forwarder advisory flagged newCRLogger: one call site in main and
one statement, so main builds the sink logger directly. The other two
advisories, hasPhaseDeadline and vmClonedAndRunning, carry a WHY comment
the call site cannot and stay; both are recorded as kept in the hygiene
ledger.
@CMGS
CMGS merged commit e181a3f into main Sep 11, 2026
2 checks passed
@CMGS
CMGS deleted the review/forwarder-settle branch September 11, 2026 23:08
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