pingcap / pingcap/ticdc

tracker: fix golangci-lint issues (PR 2 of 4)

Open
#5,032 1 comment 0 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.