tracker: fix golangci-lint issues (PR 2 of 4)
Open
@3AceShowHand is already working on this.
Since May 12, 2026.
type/enhancement
- Dominant language
- Go
- Stars
- 56
- Forks
- 63
- Avg merge
- 2d 20h
- Merged PRs (30d)
- 34
Description
Tracking issue for the 4-PR plan to integrate and fix golangci-lint issues.
This is PR 2 of 4: fix auto-fixable issues and selected non-auto-fixable bugs.
- PR 1: Integrate golangci-lint v2 infrastructure (merged: https://github.com/pingcap/ticdc/pull/5024)
- PR 2 (this): Fix auto-fixable + selected mechanical lint issues
- PR 3 (upcoming): Unify error handling through pkg/errors
- PR 4 (upcoming): Remove remaining stdlib errors imports
Progress: 314 → ~290 issues remaining after this PR.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.