Skip to content

chore: add primus go ci and pull request template - #15

Merged
therealpandey merged 3 commits into
mainfrom
chore/primus-ci
Nov 13, 2026
Merged

therealpandey merged 3 commits into
mainfrom
chore/primus-ci

Conversation

@therealpandey

@therealpandey therealpandey commented Nov 13, 2026 •

Copy link
Copy Markdown
Member

Fixes

  • Explicitly discard the deferred rows.Close() error in Select and the rows.Close() error on the no-rows path of Row.Scan/Row.ScanStruct, matching clickhouse-go v2.47.0 (scanSelect and row.Scan).
  • Use reflect.Pointer instead of the deprecated reflect.Ptr alias (govet inline).

Chores

  • Add ci.yml running the primus go-fmt, go-lint, go-deps and go-test workflows on Go 1.25, gated by safe-to-test for forks and dependabot.
  • Remove the old go.yml workflow, now covered by ci.yml.
  • Add a pull request template.

Tests

  • Check the batch.Append error in TestPrepareExpectations.
  • Replace the chained rows.Next() calls in TestRowsNextSkipsWithoutScan with a loop (staticcheck SA4000 false positive).

@therealpandey
therealpandey merged commit 6f5b9cb into main Nov 13, 2026
4 checks passed
@therealpandey
therealpandey deleted the chore/primus-ci branch November 13, 2026 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants