Repository navigation
test(nldump): stop the parity test racing kernel neighbors - #1177
Conversation
Co-authored-by: polylane[bot] <277585245+polylane[bot]@users.noreply.github.com>
Co-authored-by: polylane[bot] <277585245+polylane[bot]@users.noreply.github.com>
|
The lint failure is fixed and the update landed on The Lint job failed on three Validation (with the CI Go toolchain,
The initial Pushed in 017ace2. |
The parity test for the package-level nldump functions failed the lint job on three errorlint findings, because it passed a listing error through a non-wrapping format verb. Each listing call now handles its error before checking membership, so the error is wrapped and the membership message stays readable.
Detection evidence
Affected:
int_17ad4b457001o98datdn4tkmWhy this fix
The CI lint failure was three errorlint errors on the package-level listing checks, which passed the listing error to a plain format verb. Handling each error before the membership check wraps it and keeps the assertion message free of the old cosmetic
%!w()output. The test's behavior is unchanged, so the earlier race fix stands.Fix walkthrough
Watch the fix explained (1:05). Recorded for commit
6715d8ac6c35033a52d5c6b84df3afdd612ab636.Out of scope
Production impact: Test-only change in one Go test file, no production path
The diff changes only
internal/plumbing/nldump/nldump_test.go, a Go test file. It is not compiled into any binary or deployed resource, so no production behavior changes../bin/golangci-lint run ./internal/plumbing/nldump/...reports 0 issues.Observability
Polylane assessed this pull request at
017ace2.Causal chain
1 file changed (+22/-7)
internal/plumbing/nldump/nldump_test.go: modified, +22/-7Repository lint:
task lint(declared in Taskfile.yaml) could not run in the sandbox because its tool is not installed there; run it before merging.Generated by Polylane. You can ask follow-ups by mentioning @polylane in a comment.