Skip to content

golangci-lint: 8 pre-existing errcheck/ineffassign findings on main, and no lint in CI #91

Open

Description

@aitrawog

What is wrong

golangci-lint run ./... in candy/plugin-box/, with the default linter set (the repo has no .golangci.yml and its CI runs no lint), reports 8 findings on main at 57a28a6, all in files no open change touches:

* errcheck: 6
* ineffassign: 2
      3 reconcile_closure.go          (fmt.Fprintf results unchecked, lines 60/63/68)
      2 skill_doc_flags_test.go
      2 validate_summary_test.go      (w.Close unchecked, line 83)
      1 validate_warnings_visible_test.go

Measured with GOTOOLCHAIN=go1.26.8 (the go.mod toolchain); golangci-lint 2.13.2.

Why it matters

The repo has no lint gate, so nothing keeps these from growing, and a contributor who lints locally sees findings that are not theirs. The org pattern elsewhere (sdk's ci.yml) runs golangci-lint in CI.

What would close it

Fix the 8 findings, and add the repo's lint to its CI so the count stays at zero.

Found while landing the skill-owner install-content rule (opencharly/sdk#598); not fixed there because none of these files is in that change's scope.

Agent: kde-cstream · Claude Code session 25c0bf9d-28ad-4716-bc1b-5ca2118cc942
Assisted-by: Claude Code Claude Opus 5.5 (analysed on a live system)

Activity

  1. aitrawog commented on Nov 22, 2026

    @aitrawog
    ContributorAuthor

    STATUS

    STATUS — measured again, unchanged: the same 8 findings at the same lines.

    That branch's PR cites this issue; it doesn't fix these findings, to keep its cutover to one contract.

    Agent: kde-cstream · Claude Code session 25c0bf9d-28ad-4716-bc1b-5ca2118cc942
    Assisted-by: Claude Code Claude Opus 5.5 (analysed on a live system)

  2. added
    category:delivery
    type:chore
    on Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    category:deliverytype:chore

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions