Sync lockfile self-version to 0.104.0 and track it in .codegen.json#770
Merged
mihaimitrea-db merged 5 commits intomainfrom Apr 20, 2026
Merged
Sync lockfile self-version to 0.104.0 and track it in .codegen.json#770mihaimitrea-db merged 5 commits intomainfrom
mihaimitrea-db merged 5 commits intomainfrom
Conversation
Co-authored-by: Isaac
To be reverted after the lockfile is regenerated on this branch. Co-authored-by: Isaac
Regeneration done on this branch in 54e6713. Co-authored-by: Isaac
Adds lockfile.json and databricks-sdk-java/lockfile.json to the version map so the release bot bumps the "version" stamp in both lockfiles at release time. Prevents the 0.104.0-style mismatch from recurring. Co-authored-by: Isaac
Contributor
|
If integration tests don't run automatically, an authorized user can run them manually by following the instructions below: Trigger: Inputs:
Checks will be approved automatically on success. |
hectorcast-db
approved these changes
Apr 20, 2026
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
Fixes the
check-lockCI job, which has been failing on every PR since the v0.104.0 release, and wires the lockfile self-version into.codegen.jsonso the release bot keeps it in sync going forward.Net effective diff:
lockfile.json:"version": "0.103.0"→"0.104.0"(project self-version stamp)databricks-sdk-java/lockfile.json:"version": "0.103.0"→"0.104.0", plus 91"resolved"URLs normalized from the stalemaven-proxy.dev.databricks.comproxy back torepo.maven.apache.org/maven2(checksums and selected versions unchanged).codegen.json: bothlockfile.jsonentries added to theversionmap so the release bot bumps the self-version stamp alongside the pom.xml files at release timeWhy
Commit c4823843 "[Release] Release v0.104.0" bumped the project version in all 5
pom.xmlfiles from0.103.0→0.104.0, but did not updatelockfile.jsonordatabricks-sdk-java/lockfile.json. Both still recorded"version": "0.103.0"for the project's own GAV.mvn maven-lockfile:validatewas failing every PR with:The release only bumped the self-version — no dependencies were added, removed, or changed — so no transitive SHAs needed to change.
How the regenerated lockfile was produced
Running
make locklocally in a sandbox without JFrog OIDC credentials isn't possible, so the regeneration was done inside CI on this branch (wheresetup-build-environmentprovides OIDC-authenticated JFrog access). Commits5d376ce1and54e67137on this branch are the bootstrap + bot-generated regeneration; commitbbc7fd7dreverts the bootstrap. The net effect is identical to whatmake lock && make fix-lockfilewould have produced locally.Prevention:
.codegen.jsonupdatePer Hector's suggestion, added both
lockfile.jsonfiles to theversionmap in.codegen.jsonwith an anchor pattern of:This ensures the release bot updates the self-version stamp in both lockfiles on future releases, preventing this mismatch from recurring.
User impact
None.
lockfile.jsonis consumed only bymaven-lockfile:validatein CI; it is not published to Maven Central. The SDK artifacts downstream consumers pull are unaffected.How is this tested
The PR's own
check-lockjob is the test — it should transition from red to green. Verified green on the bot-regenerated commit54e67137.Commits on this branch (suggest squash-merge)
NO_CHANGELOG=trueThis pull request and its description were written by Isaac.