Skip to content

Port LinkedIn patches to 2.49.1 (2.49.1-li-0.1) - #13

Draft
satishkotha wants to merge 5 commits into
linkedin:s3-li-2.49.1from
satishkotha:s3-li-2.49.1-port
Draft

satishkotha wants to merge 5 commits into
linkedin:s3-li-2.49.1from
satishkotha:s3-li-2.49.1-port

Conversation

@satishkotha

@satishkotha satishkotha commented Nov 27, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Creates the 2.49.1-li-0.1 line of the LinkedIn AWS SDK fork. The base branch s3-li-2.49.1 points to upstream commit 51165752e ("Release 2.49.1"). The upstream tag 2.49.1 points to the next-snapshot commit, so the base uses the release commit instead. This PR ports every LinkedIn patch from s3-li-2.23.3 on top of it, in three commits:

  1. Patches
  2. Poms
  3. Release tooling: publish-linkedin.yml, check-linkedin-release.py, its tests, and docs/LinkedInPublishing.md retargeted to s3-li-2.49.1.

Motivation / Context

Downstream users want SDK 2.49.1 for the multipart maxInFlightParts setting. Upstream 2.49.1 still has the HTTP/2 early-reset bug, which affects both the Netty and CRT clients. Consumers also rely on the relaxed bucket names. This line carries both fixes forward.

Testing Done

  • Built http-clients/netty-nio-client and services/s3 with dependencies (-am) on JDK 11. Checkstyle and spotbugs were on.
  • netty-nio-client full module tests: 452 run, 0 failures, 1 skipped. This includes EarlyResponseResetTest (14/14) and HttpToHttp2OutboundAdapterTest, WindowSizeTest, PingTimeoutTest and the other fault tests.
  • services/s3 targeted tests: 119 run, 0 failures. Covers CreateBucketInterceptorTest, S3UtilitiesTest, S3PresignerTest, BuilderClientContextParamsTest and MultipartClientUserAgentTest.
  • Release-script Python tests: 15/15 OK.
  • Not run locally: the full-reactor ./mvnw clean verify. The publish job runs it.

Risk Assessment

Observability / Ops Impact

None beyond upstream 2.49.1.

Rollout / Backout Plan

  1. Merge into s3-li-2.49.1.
  2. The publish workflow uploads 2.49.1-li-0.1 to JFrog.
  3. ELR import and the 7-day cooldown follow.
  4. Downstream users switch to 2.49.1-li-0.1.

Backout: users stay on 2.23.3-li-0.4.

AI Usage

GitHub Copilot App (Claude Opus 5.5). Ported the patches with a 3-way apply, resolved conflicts and ran validation. Roughly 1M tokens over the session.

satishkotha and others added 3 commits November 27, 2026 12:12
- HTTP/2 END_STREAM / early-reset fix (li#6), merged with 2.49.1 write-idle handlers
- Relax S3 bucket name validation (li#4, li#5)
- Hermetic test fixes that applied cleanly (li#9)

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Also drop third-party javadoc-jar executions (li#10).

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Comment on lines +22 to +40
runs-on: ubuntu-latest

strategy:
matrix:
java: [8, 11]

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: ${{ matrix.java }}
cache: maven

- name: Build with Maven (no tests, no deploy)
run: mvn -B clean install -DskipTests
Some unit tests build clients through the default credentials chain and
fail on runners without credentials. A profile file is used instead of
env vars so the credential-provider tests are unaffected.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…Test

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

This branch has not been deployed

No deployments
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