Repository navigation
Rebuild LinkedIn fork on AWS SDK 2.59.1 (2.59.1-li-0.1) - #16
Merged
Merged
Conversation
- 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>
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>
… publish timeout 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 |
satishkotha
marked this pull request as ready for review
December 3, 2026 18:35
crliao
reviewed
Dec 3, 2026
Collaborator
There was a problem hiding this comment.
Reviewed the full diff against s3-li-2.59.1 and s3-li-2.49.1. The port looks correct. I'll approve once the Maven build (8) and build (11) jobs pass.
Verified
- Base
s3-li-2.59.1is exactly the upstream release commita4528184d(Release 2.59.1). - Every ported file is byte-identical to
s3-li-2.49.1:- main code:
NettyRequestExecutor,HttpToHttp2OutboundAdapter,BucketUtils,CreateBucketInterceptor - all 15 test files, including
EarlyResponseResetTest maven-build.yml
- main code:
- The release tooling (
publish-linkedin.yml,check-linkedin-release.pyand its tests,docs/LinkedInPublishing.md) changes only the branch and version strings. BusinessMetricsUserAgentTestis the only new change. The regex correctly allows the optional-li-X.Yqualifier.- All 530 POMs that carried the SDK version are now
2.59.1-li-0.1. No POM has a leftover plain2.59.1. distributionManagementand the removal of the 3 third-partyjavadoc-jarexecutions match li-0.6.bundleandbundle-sdkstill havejavadoc-jarexecutions, but they did on 2.49.1 too, so this is not a regression.- The new upstream
version.propertiesgeneration writesversion=2.59.x(major.minor only), so the-liqualifier doesn't affect it. - Dependencies are at or above the first patched version for every 2026 GitHub advisory:
- Netty 4.1.138 (the Critical GHSA-c4c3-7fpv-j4q5 was fixed in 4.1.137)
- tcnative 2.0.84
- httpclient5 5.6.4 / httpcore5 5.4.3
- Jackson 2.21.8
- Upstream 2.59.1 was released 2026-11-13, so it is past the 7-day dependency cool-off.
- The
jfrog-publishenvironment allowss3-li-2.59.1.
Before merge
- Wait for
build (8)andbuild (11)to pass. Merging auto-publishes2.59.1-li-0.1, and a version can't be republished. This run also covers theServerConnectivityErrorMessageTestfailures you saw on macOS, since CI runs on Linux. - The
aws-sdk-pr-buildfailure is upstream's AWS OIDC workflow, which can't get credentials in this fork. It doesn't block this PR. s3-li-2.59.1has no branch protection. A merge here publishes artifacts without needing a review or green checks. The same is true ofs3-li-2.23.3ands3-li-2.49.1. Consider requiring both on alls3-li-*release branches.
Follow-ups (non-blocking)
- The
README.mdsample snippets still say2.59.1. The 2.49.1 line had the same leftover. - The new version will need its own internal dependency approval before consumers can pick it up.
- Consumers jump from 2.49 to 2.59. It's worth skimming the upstream CHANGELOG for behavior changes in S3, Netty and the CRT clients before rolling out.
The job assumes an AWS-owned IAM role and downloads a build script from an AWS-private bucket, neither of which is available in this fork. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
crliao
approved these changes
Dec 3, 2026
crliao
left a comment
Collaborator
There was a problem hiding this comment.
LGTM. The Maven builds on JDK 8 and 11 pass. The new commit a78768e89a only skips upstream's AWS-internal PR build job outside aws/aws-sdk-java-v2, which is fine.
4 of 12 tasks
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.
Summary
Rebuilds the LinkedIn fork on upstream AWS SDK for Java v2 2.59.1 (release commit
a4528184d) and releases it as2.59.1-li-0.1. Base branchs3-li-2.59.1is upstream 2.59.1 unchanged.LinkedIn changes ported from
s3-li-2.49.1:netty-nio-client(li#6) withEarlyResponseResetTest-li-X.Yqualifier support inBusinessMetricsUserAgentTest2.59.1-li-0.1across all 530 POMs, LinkedIndistributionManagement, third-party javadoc-jar executions dropped (li#10)publish-linkedin.yml,check-linkedin-release.pyand its tests, docs) retargeted tos3-li-2.59.1, keeping the fake AWS profile credentials and the 360-minute publish timeoutpull-request-build.yml: the AWS-internalaws-sdk-pr-buildjob now runs only inaws/aws-sdk-java-v2. It needs an AWS-owned IAM role and an AWS-private bucket, and since 2.59.1 it also triggers onready_for_review, so it failed on this fork once the PR left draft.Motivation / Context
The
2.49.1-li-*line pulls Netty 4.1.136 and httpclient5 5.6.2, which carry known advisories (including Critical GHSA-c4c3-7fpv-j4q5). Upstream 2.59.1 already ships patched dependencies, so we keep upstream's versions with no overrides:The GitHub advisory database lists no advisories for any of these versions. This supersedes #15, the 2.49.1-based dependency bump.
Testing Done
python3 -m unittest test_check_linkedin_release: OK.RELEASE_VERSION=2.59.1-li-0.1 check-linkedin-release.py: validated.apache5-client: 265 tests, 0 failures.netty-nio-client: 502 tests.EarlyResponseResetTest14/14 passes.ServerConnectivityErrorMessageTestcases [1] and [3] fail locally on macOS, and they fail the same way on unmodified upstream 2.59.1 sources.ServerNotRespondingTestfailed once and passed on rerun.s3:CreateBucketInterceptorTest,S3PresignerTest,BuilderClientContextParamsTest,MultipartClientUserAgentTestall pass.Risk Assessment
Consumers move up 10 upstream minor versions (2.49 → 2.59), so they pick up upstream behavior changes from that range. The LinkedIn patches applied without conflicts.
Rollout / Backout Plan
Merging publishes
2.59.1-li-0.1throughpublish-linkedin.yml, sinces3-li-2.59.1has been added to thejfrog-publishenvironment.s3-li-2.49.1stays untouched, and its2.49.1-li-0.2artifacts remain available for backout.AI Usage
GitHub Copilot (Claude Opus 5.5) ported the commits, ran the tests and drafted this description.