Repository navigation
feat: bump rudder-go-kit and go modules to Go 1.27.1 - #7345
Merged
Merged
Conversation
atzoum
force-pushed
the
chore.versionUpgrade
branch
from
September 7, 2026 08:42
add546e to
3aa92c7
Compare
atzoum
force-pushed
the
chore.versionUpgrade
branch
11 times, most recently
from
September 9, 2026 10:01
c7d3c55 to
deb82a8
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #7345 +/- ##
==========================================
+ Coverage 79.92% 84.26% +4.34%
==========================================
Files 620 620
Lines 69492 62709 -6783
==========================================
- Hits 55540 52844 -2696
+ Misses 10704 9862 -842
+ Partials 3248 3 -3245 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
atzoum
force-pushed
the
chore.versionUpgrade
branch
from
September 9, 2026 10:39
deb82a8 to
2f77bc8
Compare
atzoum
marked this pull request as ready for review
September 9, 2026 11:30
atzoum
force-pushed
the
chore.versionUpgrade
branch
from
September 9, 2026 14:28
2f77bc8 to
46ca85c
Compare
fracasula
approved these changes
Sep 10, 2026
rudder-go-kit moves to v0.79.0, which requires Go 1.27.1, so the go directive, both Dockerfiles and golangci-lint (v2.13.2) move up with it and `go fix` applies the Go 1.27 modernizers. Also folds in the open dependabot PRs: go modules (#7344, #7322, #7338, #7336, #7335) and actions (#7289, #7288, #7287, #7286, #7285). The new linter surfaced a missing call on a deferred crash.Notify in the user transformer, so panics in its batch goroutines went unreported. Three tests pinned values that these bumps legitimately move: two compared gzip output, which go1.27 re-encodes via compress/flate, and one relied on minio-go rejecting a scheme-qualified endpoint, which v7.3.0 accepts. Co-Authored-By: Claude Opus 5 <[email protected]>
atzoum
force-pushed
the
chore.versionUpgrade
branch
from
September 11, 2026 12:39
46ca85c to
478f312
Compare
atzoum
force-pushed
the
chore.versionUpgrade
branch
from
September 14, 2026 09:47
fe18b31 to
e4042d4
Compare
Closed
atzoum
pushed a commit
that referenced
this pull request
Sep 14, 2026
🤖 I have created a release *beep* *boop* --- ## [1.87.0-rc.1](v1.86.0...v1.87.0-rc.1) (2026-09-14) ### Features * backend config shadow mode ([#7340](#7340)) ([4898165](4898165)) * bump rudder-go-kit and go modules to Go 1.27.1 ([#7345](#7345)) ([8d95c68](8d95c68)) * **router:** read transformerProxy from transformer features before env ([#7337](#7337)) ([e8f0ea6](e8f0ea6)) ### Bug Fixes * **router:** redact credentials from destination URLs in failure responses ([#7372](#7372)) ([14659bf](14659bf)) * **warehouse:** instrument the clickhouse v2 load path ([#7355](#7355)) ([4d743db](4d743db)) * **warehouse:** pass temporary credentials to the clickhouse v2 s3 copy engine ([#7353](#7353)) ([4d743db](4d743db)) * **warehouse:** retire idle clickhouse v2 connections ([#7352](#7352)) ([4d743db](4d743db)) * **warehouse:** retry a failed clickhouse v2 block ([#7354](#7354)) ([4d743db](4d743db)) ### Miscellaneous * **processor:** assemble side-PU report metrics at end of preprocess stage ([#7346](#7346)) ([4540876](4540876)) * sync release v1.86.0 to main branch ([#7356](#7356)) ([6868c6c](6868c6c)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: rudderstack-github-actions[bot] <236995729+rudderstack-github-actions[bot]@users.noreply.github.com>
This was referenced Sep 14, 2026
Closed
atzoum
pushed a commit
that referenced
this pull request
Sep 14, 2026
🤖 I have created a release *beep* *boop* --- ## [1.87.0-rc.2](v1.86.0...v1.87.0-rc.2) (2026-09-14) ### Features * backend config shadow mode ([#7340](#7340)) ([4898165](4898165)) * bump rudder-go-kit and go modules to Go 1.27.1 ([#7345](#7345)) ([8d95c68](8d95c68)) * **router:** read transformerProxy from transformer features before env ([#7337](#7337)) ([e8f0ea6](e8f0ea6)) ### Bug Fixes * **router:** redact credentials from destination URLs in failure responses ([#7372](#7372)) ([14659bf](14659bf)) * **warehouse:** instrument the clickhouse v2 load path ([#7355](#7355)) ([4d743db](4d743db)) * **warehouse:** pass temporary credentials to the clickhouse v2 s3 copy engine ([#7353](#7353)) ([4d743db](4d743db)) * **warehouse:** retire idle clickhouse v2 connections ([#7352](#7352)) ([4d743db](4d743db)) * **warehouse:** retry a failed clickhouse v2 block ([#7354](#7354)) ([4d743db](4d743db)) ### Miscellaneous * log the candidate error when a backend config shadow sample fails to fetch ([#7383](#7383)) ([eaa9b61](eaa9b61)) * **processor:** assemble side-PU report metrics at end of preprocess stage ([#7346](#7346)) ([4540876](4540876)) * sync release v1.86.0 to main branch ([#7356](#7356)) ([6868c6c](6868c6c)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: rudderstack-github-actions[bot] <236995729+rudderstack-github-actions[bot]@users.noreply.github.com>
1 task done
atzoum
added a commit
that referenced
this pull request
Sep 14, 2026
Since Go 1.27, using a Transport keeps the real HTTP/2 transport in an unexported field and leaves only a placeholder in the exported TLSNextProto["h2"]. The router built its client by reflect-copying the exported fields of http.DefaultTransport, so whenever the default transport had already served a request by the time a router was set up, the copy inherited the placeholder, never configured its own HTTP/2 and failed every h2 delivery with "unexpected use of stub RoundTripper". Surfaced on hosted with 1.87.0-rc after the Go 1.27.1 bump (#7345). Transport.Clone drops the auto-populated TLSNextProto so the clone sets HTTP/2 up for itself, and deep-clones TLSClientConfig so forceHTTP1 can edit it in place. misc.Copy had no other callers and is removed. Co-Authored-By: Claude Opus 5 <[email protected]>
atzoum
added a commit
that referenced
this pull request
Sep 14, 2026
…rror (#7386) ## Description Router deliveries over HTTP/2 fail with `504 Unable to make "POST" request for URL ... unexpected use of stub RoundTripper` after upgrading to Go 1.27. Since Go 1.27, using a `Transport` keeps the real HTTP/2 transport in an unexported field and leaves only a placeholder in the exported `TLSNextProto["h2"]`. The router built its client by reflect-copying the exported fields of `http.DefaultTransport` (`misc.Copy`), so whenever the default transport had already served a request by the time a router was set up, the copy inherited the placeholder, never configured its own HTTP/2, and every h2 connection was dispatched to the placeholder. Introduced by the Go 1.27.1 bump in #7345; on Go ≤1.26 the map entry held a real round-tripper so the copy worked by accident. We are now using the standard `Transport.Clone()`, which drops the auto-populated `TLSNextProto` so the clone configures HTTP/2 for itself and deep-clones `TLSClientConfig` so the `forceHTTP1` path can edit it in place. `misc.Copy` had no other callers and is removed. Adding `TestSendPostProtocolNegotiation`, which uses `http.DefaultTransport` before building the router client and then asserts an h2 delivery succeeds (reproduces the exact production error on the old code) and that `forceHTTP1` still pins to HTTP/1.1 — neither path had a test. ## Security - [x] The code changed/added as part of this pull request won't create any security issues with how the software is being used. Co-authored-by: Claude Opus 5 <[email protected]>
This was referenced Sep 14, 2026
Closed
atzoum
pushed a commit
that referenced
this pull request
Sep 14, 2026
🤖 I have created a release *beep* *boop* --- ## [1.87.0-rc.3](v1.86.0...v1.87.0-rc.3) (2026-09-14) ### Features * backend config shadow mode ([#7340](#7340)) ([4898165](4898165)) * bump rudder-go-kit and go modules to Go 1.27.1 ([#7345](#7345)) ([8d95c68](8d95c68)) * **router:** read transformerProxy from transformer features before env ([#7337](#7337)) ([e8f0ea6](e8f0ea6)) ### Bug Fixes * **router:** redact credentials from destination URLs in failure responses ([#7372](#7372)) ([14659bf](14659bf)) * **router:** request fails with unexpected use of stub RoundTripper error ([#7386](#7386)) ([2ff491f](2ff491f)) * **warehouse:** instrument the clickhouse v2 load path ([#7355](#7355)) ([4d743db](4d743db)) * **warehouse:** pass temporary credentials to the clickhouse v2 s3 copy engine ([#7353](#7353)) ([4d743db](4d743db)) * **warehouse:** retire idle clickhouse v2 connections ([#7352](#7352)) ([4d743db](4d743db)) * **warehouse:** retry a failed clickhouse v2 block ([#7354](#7354)) ([4d743db](4d743db)) ### Miscellaneous * log the candidate error when a backend config shadow sample fails to fetch ([#7383](#7383)) ([eaa9b61](eaa9b61)) * **processor:** assemble side-PU report metrics at end of preprocess stage ([#7346](#7346)) ([4540876](4540876)) * sync release v1.86.0 to main branch ([#7356](#7356)) ([6868c6c](6868c6c)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: rudderstack-github-actions[bot] <236995729+rudderstack-github-actions[bot]@users.noreply.github.com>
This was referenced Sep 15, 2026
Merged
atzoum
pushed a commit
that referenced
this pull request
Sep 15, 2026
🤖 I have created a release *beep* *boop* --- ## [1.87.0-rc.4](v1.86.0...v1.87.0-rc.4) (2026-09-15) ### Features * backend config shadow mode ([#7340](#7340)) ([4898165](4898165)) * bump rudder-go-kit and go modules to Go 1.27.1 ([#7345](#7345)) ([8d95c68](8d95c68)) * **router:** read transformerProxy from transformer features before env ([#7337](#7337)) ([e8f0ea6](e8f0ea6)) ### Bug Fixes * **batchrouter:** retry failed async manager initialization ([#7374](#7374)) ([974d383](974d383)) * **router:** redact credentials from destination URLs in failure responses ([#7372](#7372)) ([14659bf](14659bf)) * **router:** request fails with unexpected use of stub RoundTripper error ([#7386](#7386)) ([2ff491f](2ff491f)) * singer-protocol sources filtered destination config for source type cloud instead of cloudSource ([#7389](#7389)) ([f48c997](f48c997)) * **warehouse:** instrument the clickhouse v2 load path ([#7355](#7355)) ([4d743db](4d743db)) * **warehouse:** pass temporary credentials to the clickhouse v2 s3 copy engine ([#7353](#7353)) ([4d743db](4d743db)) * **warehouse:** retire idle clickhouse v2 connections ([#7352](#7352)) ([4d743db](4d743db)) * **warehouse:** retry a failed clickhouse v2 block ([#7354](#7354)) ([4d743db](4d743db)) ### Miscellaneous * log the candidate error when a backend config shadow sample fails to fetch ([#7383](#7383)) ([eaa9b61](eaa9b61)) * **processor:** assemble side-PU report metrics at end of preprocess stage ([#7346](#7346)) ([4540876](4540876)) * sync release v1.86.0 to main branch ([#7356](#7356)) ([6868c6c](6868c6c)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: rudderstack-github-actions[bot] <236995729+rudderstack-github-actions[bot]@users.noreply.github.com>
atzoum
pushed a commit
that referenced
this pull request
Sep 15, 2026
🤖 I have created a release *beep* *boop* --- ## [1.87.0](v1.86.0...v1.87.0) (2026-09-15) ### Features * backend config shadow mode ([#7340](#7340)) ([4898165](4898165)) * bump rudder-go-kit and go modules to Go 1.27.1 ([#7345](#7345)) ([8d95c68](8d95c68)) * **router:** read transformerProxy from transformer features before env ([#7337](#7337)) ([e8f0ea6](e8f0ea6)) ### Bug Fixes * **batchrouter:** retry failed async manager initialization ([#7374](#7374)) ([974d383](974d383)) * **router:** redact credentials from destination URLs in failure responses ([#7372](#7372)) ([14659bf](14659bf)) * **router:** request fails with unexpected use of stub RoundTripper error ([#7386](#7386)) ([2ff491f](2ff491f)) * singer-protocol sources filtered destination config for source type cloud instead of cloudSource ([#7389](#7389)) ([f48c997](f48c997)) * **warehouse:** instrument the clickhouse v2 load path ([#7355](#7355)) ([4d743db](4d743db)) * **warehouse:** pass temporary credentials to the clickhouse v2 s3 copy engine ([#7353](#7353)) ([4d743db](4d743db)) * **warehouse:** retire idle clickhouse v2 connections ([#7352](#7352)) ([4d743db](4d743db)) * **warehouse:** retry a failed clickhouse v2 block ([#7354](#7354)) ([4d743db](4d743db)) ### Miscellaneous * log the candidate error when a backend config shadow sample fails to fetch ([#7383](#7383)) ([eaa9b61](eaa9b61)) * **processor:** assemble side-PU report metrics at end of preprocess stage ([#7346](#7346)) ([4540876](4540876)) * sync release v1.86.0 to main branch ([#7356](#7356)) ([6868c6c](6868c6c)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: rudderstack-github-actions[bot] <236995729+rudderstack-github-actions[bot]@users.noreply.github.com>
1 task done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Supersedes #7344, #7322, #7338, #7336, #7335, #7289, #7288, #7287, #7286, #7285.
Bumps
rudder-go-kitto v0.79.0, which ships rudderlabs/rudder-go-kit#1205 and requires Go 1.27.1, and folds in every open dependabot PR on top of it.Go
Go 1.27's modernizers, applied by
go fix ./...:atomic.AddInt32(&x, …)sites becameatomic.Int32/Uint32/Int64values.errors.Astoerrors.AsType,strings.Split(s, sep)[0]tostrings.Cut, reverse loops toslices.Backward.Docker images
Both Dockerfiles move to
golang:1.27.1-alpine3.24for the builder stage andalpine:3.24for the runtime stage, with all three digests re-pinned:GO_VERSIONALPINE_VERSIONALPINE_VERSIONfeeds bothFROMlines, soGO_VERSION_SHA256moves for the alpine bump as well as the Go one.Go modules
cloud.google.com/go/bigquerycloud.google.com/go/pubsub/v2cloud.google.com/go/storagegithub.com/apache/pulsar-client-gogithub.com/aws/aws-sdk-go-v2github.com/aws/aws-sdk-go-v2/service/eventbridgegithub.com/aws/aws-sdk-go-v2/service/firehosegithub.com/aws/aws-sdk-go-v2/service/gluegithub.com/aws/aws-sdk-go-v2/service/kinesisgithub.com/aws/aws-sdk-go-v2/service/lambdagithub.com/aws/aws-sdk-go-v2/service/personalizeeventsgithub.com/aws/aws-sdk-go-v2/service/s3github.com/aws/aws-sdk-go-v2/service/stsgithub.com/aws/smithy-gogithub.com/databricks/databricks-sql-gogithub.com/dgraph-io/badger/v4github.com/duckdb/duckdb-go/v2github.com/fsouza/fake-gcs-servergithub.com/go-chi/chi/v5github.com/grpc-ecosystem/grpc-gateway/v2github.com/klauspost/compressgithub.com/microsoft/go-mssqldbgithub.com/minio/minio-go/v7github.com/onsi/ginkgo/v2github.com/onsi/gomegagithub.com/redis/go-redis/v9github.com/rudderlabs/rudder-go-kitgithub.com/rudderlabs/rudder-transformer/gogithub.com/rudderlabs/sqlconnect-gogithub.com/stretchr/testifygo.etcd.io/etcd/api/v3go.etcd.io/etcd/client/v3google.golang.org/apigoogle.golang.org/genproto/googleapis/rpcgoogle.golang.org/grpcgoogle.golang.org/protobufk8s.io/apik8s.io/apimachineryk8s.io/client-goGitHub Actions
actions/checkoutactions/labeleractions/staleslackapi/slack-github-actionstep-security/harden-runnerLint
Bumped golangci-lint to v2.13.2 in
Makefileandverify.yml. The newer linter reported 16 findings on existing code:SA9010. Real, and fixed:processor/internal/transformer/user_transformerhaddefer crash.Notify("Core")without the trailing().Notifyreturns the handler to defer, so panics in those batch goroutines were never reported — every other call site in the repo gets this right.QF1012(capped bymax-same-issues; 35 sites across 13 warehouse integrations). Autofixed tofmt.Fprintf.SA1019.clickhouse-go'sOptions.Debugis deprecated in favour ofLogger. Excluded by path — migrating the query debug logs to a structured logger is a behaviour change in a warehouse integration and does not belong in a dependency bump..golangci.yml. Two of them supersede exclusions this repo already carries:G704(SSRF) replacesG107, andG702(command injection) replacesG204. The other two areG704on the backend-config HTTP client wrapper, whose URL is control-plane configuration, andG705(XSS) on anrsourceshandler that writes a JSON-marshalled body.Tests
Three tests pinned values these bumps legitimately move:
TestBatchDelete(regulation-worker/internal/delete/batch) byte-compared gzipped golden files; go1.27 changedcompress/flate, so the same records re-encode differently. Now compares them after decompression. Golden files unchanged.TestAPIIntegration(snowpipestreaming/internal/api) pinned the gzipped insert body at 378 bytes; go1.27 produces 375. The compressed case now asserts0 < size < 839; the uncompressed case keeps its exact 839.TestSlaveJob/upload_load_files/Invalid_endpointrelied on minio-go rejectinghttp://localhost:1234, which v7.3.0 accepts. Now useshttp://localhost:1234/some/path, still rejected, so the expected error is unchanged.The minio change is worth noting beyond the test: an
endPointconfigured with a scheme previously failed fast and now connects.Security