Skip to content

Conversation

@Zereker
Copy link
Owner

@Zereker Zereker commented Dec 24, 2025

Summary

Fix test compilation errors and lint issues to make CI pass.

Changes

Test Fixes

  • Replace Community type with Summary (type was removed)
  • Update RetrieveOptions fields to use Max* instead of Include*
  • Remove tests for non-existent types (ExtractionResult, CommunityResult)
  • Skip integration tests gracefully when ARK_API_KEY not set

Lint Fixes

  • Use type conversion instead of struct literal (S1016)
  • Check error return values (errcheck)

CI Fixes

  • Use go-version-file to read Go version from go.mod
  • Add claude/** branch trigger for testing

Test Results

  • go build ./...
  • go test -race ./...

- CI now reads Go version from go.mod instead of hardcoding
- This ensures CI uses the same Go version as the project requires
- Use type conversion instead of struct literal (S1016)
- Check error return values for Shutdown, Encode, Unmarshal, writeError
@Zereker Zereker merged commit 6717dd3 into main Dec 24, 2025
5 checks passed
@Zereker Zereker deleted the claude/check-build-compilation-IkNuB branch December 24, 2025 13:49
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.

3 participants