Repository navigation
feat: [DevOps] Add minimal dependencies check (#388) - #1172
Open
SoleilHoffmann wants to merge 3 commits into
Open
SoleilHoffmann wants to merge 3 commits into
SoleilHoffmann wants to merge 3 commits into
Conversation
Add a 'floor-deps' Maven profile that pins consumer-facing dependencies to their minimum supported versions, plus a CI step that compiles against them so the SDK cannot accidentally rely on newer-version APIs. Documents the verified minimum versions in the release notes.
This was referenced Nov 5, 2026
Added Jonas' suggestions test instead of test-compile, and clean test Co-authored-by: Jonas-Isr <jonas.israel@sap.com>
) The floor build now runs tests (not just compile), which revealed that SAP Cloud SDK 5.28.0 calls HttpClient5 5.4+ APIs at runtime (TlsSocketStrategy, RequestConfig.setProtocolUpgradeEnabled). The old 5.2.1 floor compiled but failed at runtime. Raise the HttpComponents floor to the versions Cloud SDK 5.28 brings in (httpcore5 5.4.2, httpclient5 5.6).
This branch has not been deployed
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.
Add a
floor-depsMaven profile that pins consumer-facing dependencies to their minimum supported versions, plus a CI step that compiles against them so the SDK cannot accidentally rely on newer-version APIs.Documents the verified minimum versions in the release notes.
Context
AI/ai-sdk-java-backlog#388.
There is a matching v2 PR
Proof that the check is green with the correct versions
Proof that the check is red with the wrong versions
Slack Thread
Feature scope:
floor-depsmaven profileDefinition of Done
Aligned changes with the JavaScript SDK