Skip to content

chore(actions): drop a helper nothing calls - #61

Merged
rldyourmnd merged 1 commit into
mainfrom
chore/drop-unused-helper
Aug 15, 2026
Merged

chore(actions): drop a helper nothing calls#61
rldyourmnd merged 1 commit into
mainfrom
chore/drop-unused-helper

Conversation

@rldyourmnd

Copy link
Copy Markdown
Contributor

actions.Job.RunStepsContaining shipped with the workflow model in #54 and was never called.

That is the same shape this release spent its time removing everywhere else — a contract field required and never read, a check that could not fail for the reason it claimed. Leaving it in would be keeping the thing I had just finished arguing against.

The detection gap is worth naming rather than implying it is covered. Neither go vet nor staticcheck reports this: an exported identifier inside an internal/ package is not treated as unused, even though nothing outside the module can reach it. I found it by auditing every helper I had added, not by a gate.

I did not add a checker for the class. That would be new scope past what the review and the plan called for, and it belongs in a decision of its own rather than smuggled into a cleanup.

Full gate: gofmt, go vet, staticcheck v0.7.0, suite under umask 022 / 002 / 077, -race, all seven contract checkers. All green.

RunStepsContaining shipped with the workflow model and was never called. That is
the same shape this release spent its time removing everywhere else — a field
required and never read, a check that could not fail for the reason it claimed —
and leaving it in would be keeping the thing I had just finished arguing against.

Worth naming the detection gap rather than implying it is covered: neither go vet
nor staticcheck reports this. An exported identifier inside an internal/ package
is not treated as unused, even though nothing outside the module can reach it, so
this class is currently found by looking.
@rldyourmnd
rldyourmnd enabled auto-merge August 15, 2026 01:30
@rldyourmnd
rldyourmnd merged commit d68b48b into main Aug 15, 2026
4 checks passed
@rldyourmnd
rldyourmnd deleted the chore/drop-unused-helper branch August 15, 2026 01:34
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