Skip to content

fix: vulnerability check failure by upgrading go lang version#860

Merged
vishalm0509 merged 6 commits intofix/mssql_cdc_cursorfrom
chore/go-version-upgrade
Mar 15, 2026
Merged

fix: vulnerability check failure by upgrading go lang version#860
vishalm0509 merged 6 commits intofix/mssql_cdc_cursorfrom
chore/go-version-upgrade

Conversation

@vaibhav-datazip
Copy link
Collaborator

Description

Go Upgrade: Updated go.mod, go.work, and Dockerfile to use Go 1.25.8.

Dependency Isolation: Added replace directives for google.golang.org/genproto and cloud.google.com/go/compute to the root go.mod and all 8 driver modules. This ensures that every driver (MySQL, Postgres, S3, etc.) can now be built and tidied in isolation without hitting "ambiguous import" errors.

Linting Modernization: Updated .golangci.yml to remove deprecated configuration options (skip-dirs, gci local prefixes, etc.) and rebuilt the golangci-lint binary with Go 1.25.8 to prevent version mismatch errors during commit.

Toolchain Cleanup: Removed stale toolchain directives and invalid comments from various go.mod files to maintain a clean workspace.

Forcing golangci-lint to be built with the project’s Go version, and updates deprecated .golangci.yml options to remove config warnings.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

  • Ran go mod tidy at the root workspace.
  • Verified isolated go mod tidy in all 8 driver directories.
  • Verified golangci-lint execution locally.

Screenshots or Recordings

Documentation

  • Documentation Link: [link to README, olake.io/docs, or olake-docs]
  • N/A (bug fix, refactor, or test changes only)

Related PR's (If Any):

Copy link
Collaborator

@saksham-datazip saksham-datazip left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

version mismatch

@vishalm0509 vishalm0509 changed the base branch from staging to fix/mssql_cdc_cursor March 15, 2026 07:48
@vishalm0509 vishalm0509 merged commit 5983104 into fix/mssql_cdc_cursor Mar 15, 2026
5 checks passed
@vishalm0509 vishalm0509 deleted the chore/go-version-upgrade branch March 15, 2026 08:02
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