Skip to content

fix(lostresource): keep witness locations in suppressible diagnostics - #62

Merged
paralin merged 1 commit into
masterfrom
fix/lostresource-diagnostic-witness
Sep 14, 2026
Merged

paralin merged 1 commit into
masterfrom
fix/lostresource-diagnostic-witness

Conversation

@paralin

@paralin paralin commented Sep 14, 2026

Copy link
Copy Markdown
Member

Keep each missing-release witness in the acquisition diagnostic. golangci-lint v2.1.6 expands related information into independent findings, leaving orphan warnings when an intentional acquisition is suppressed with nolint. The single diagnostic retains the witness line and lets suppression apply to the entire finding.

Analyzer fixtures and source lint pass. The change follows a full consumer audit that exposed the orphan warnings on terminal-lifecycle tests.

Signed-off-by: Christian Stewart <christian@aperture.us>
@paralin
paralin merged commit aa204b0 into master Sep 14, 2026
7 checks passed
@paralin
paralin deleted the fix/lostresource-diagnostic-witness branch September 14, 2026 22:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant