Skip to content

MINOR: Use Thrift 0.24.0 in CI - #612

Merged
Fokko merged 1 commit into
apache:dependabot/maven/org.apache.thrift-libthrift-0.24.0from
skrcode:repair/thrift-0.24-ci
Sep 1, 2026
Merged

MINOR: Use Thrift 0.24.0 in CI#612
Fokko merged 1 commit into
apache:dependabot/maven/org.apache.thrift-libthrift-0.24.0from
skrcode:repair/thrift-0.24-ci

Conversation

@skrcode

@skrcode skrcode commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Companion fix for #597, built on its exact head (3a4b3b4).

Rationale for this change

#597 updates libthrift and the Maven-required compiler version to 0.24.0, but the test workflow still downloads and installs compiler 0.23.0. Maven therefore stops all JDK 8, 11, 17, and 21 lanes with the deterministic version mismatch before compilation.

What changes are included in this PR?

The workflow now downloads the official Thrift 0.24.0 archive and enters the matching source directory. This follows the same two-line alignment used for the prior Thrift upgrade in #570 and commit c670caf.

Do these changes have PoC implementations?

The exact source failure was reproduced with compiler 0.23.0. After building the official 0.24.0 compiler:

  • JDK 8: clean verify and Javadocs passed
  • JDK 11: clean verify and Javadocs passed
  • JDK 17: the workflow install step, verify, and Javadocs passed
  • JDK 21: clean verify and Javadocs passed
  • Maven RAT reported zero unapproved files
  • generated Thrift sources compiled successfully
  • workflow YAML parsing and git diff --check passed

AI assistance disclosure: JAIPilot/Codex assisted with diagnosis and verification. The complete one-file diff was reviewed before publication.

Keep the compiler installed by the test workflow aligned with the libthrift version required by the Maven build.
@dependabot
dependabot Bot deleted the branch apache:dependabot/maven/org.apache.thrift-libthrift-0.24.0 September 1, 2026 13:53
@dependabot dependabot Bot closed this Sep 1, 2026
@Fokko Fokko reopened this Sep 1, 2026
@Fokko

Fokko commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Sorry for the noise here @skrcode, I missed the fact that you targeted the branch of Dependabot :)

@Fokko
Fokko merged commit 75ead15 into apache:dependabot/maven/org.apache.thrift-libthrift-0.24.0 Sep 1, 2026
8 checks passed
Fokko pushed a commit that referenced this pull request Sep 1, 2026
* Bump org.apache.thrift:libthrift from 0.23.0 to 0.24.0

Bumps [org.apache.thrift:libthrift](https://github.com/apache/thrift) from 0.23.0 to 0.24.0.
- [Release notes](https://github.com/apache/thrift/releases)
- [Changelog](https://github.com/apache/thrift/blob/master/CHANGES.md)
- [Commits](apache/thrift@v0.23.0...v0.24.0)

---
updated-dependencies:
- dependency-name: org.apache.thrift:libthrift
  dependency-version: 0.24.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump Thrift to 0.24.0 in CI (#612)

Keep the compiler installed by the test workflow aligned with the libthrift version required by the Maven build.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Suraj Rajan <surajkrajan95@gmail.com>
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