typesense / typesense/typesense-go

CI lint checking is failing

Open
#116 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
319
Forks
73
PR merge metrics
No merged PRs in 30d

Description

Description

CI lint checking fails with a cryptic error:

go/pkg/mod/github.com/mattn/go-runewidth@v0.0.14/runewidth.go:7:2: found packages uniseg (doc.go) and main (gen_breaktest.go) in /go/pkg/mod/github.com/rivo/uniseg@v0.4.2

@v-byte-cpu can you please help with this? I get the same error when I run locally as well. Also, is it possible to use a single lint checking step, instead of using both revive and golangci-lint?

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start by reproducing the lint failure locally and inspect the CircleCI job linked in the issue, along with the repository's lint configuration. Determine why the go-runewidth dependency reports conflicting packages and whether the existing revive and golangci-lint checks can be consolidated. Done means CI and local linting pass with a clear, agreed linting setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
ci-cd, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.