chore: code-comments sweep slice 2/5 - cmd/coily/gh_* #88
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Subset of #334. After the
rev: v0.2.8bump, the agentic-oscode-commentshook reports 249 violations across thecmd/coily/gh_*subsystem (8 files):cmd/coily/gh_actions_gate.gocmd/coily/gh_actions_gate_test.gocmd/coily/gh_actions_web.gocmd/coily/gh_actions_web_test.gocmd/coily/gh_maxage.gocmd/coily/gh_readcache.gocmd/coily/gh_rest_rewrite.gocmd/coily/gh_rest_rewrite_test.goCoherent subsystem (gh passthrough cache + REST rewrite). Sweeping together keeps godoc style consistent across the surface.
Fix
Walk each contiguous comment block >2 lines:
// see docs/<topic>.md) when the detail is durable.No directive lines (
//go:,//nolint:) inside violation blocks in this slice, so a mechanical truncate-to-2-and-keep-grammar pass is safe.Verify:
Refs
Ported from coilysiren/coily#339.