Skip to content

Conversation

Yunyung
Copy link
Collaborator

@Yunyung Yunyung commented Oct 8, 2025

Workaround: Always mark the result of "missing build scan" as
successful, not as failing, for 4.0 and 4.1.

Two reasons causing missing build scan:

  • 4.0 does not have the KAFKA-18748 patches.
  • The JDK version used by ci-complete is inconsistent with other
    active branches, causing the build report task to fail.

The real solution will be in
KAFKA-19768.

@github-actions github-actions bot added triage PRs from the community build Gradle build or GitHub Actions small Small PRs labels Oct 8, 2025
@chia7712
Copy link
Member

chia7712 commented Oct 8, 2025

@Yunyung could you please revert previous failed approach?

@Yunyung
Copy link
Collaborator Author

Yunyung commented Oct 8, 2025

Sure. Revert the failed approach from #20644 in latest comimt.

description: 'Could not find build scan'
context: Gradle Build Scan / ${{ env.status-context }}
state: 'error'
state: 'success' # WAR: Mark as successful, not show as failing, for those branches without the KAFKA-18748 patches
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

KAFKA-18748 is not the only reason. The other cause is the difference in supported JDKs. For example, trunk now supports JDK 25, but the 4.1 branch does not

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated, thanks.

@github-actions github-actions bot removed the triage PRs from the community label Oct 9, 2025
@chia7712
Copy link
Member

chia7712 commented Oct 9, 2025

@mumrah What do you think? I want to use a simple fix to eliminate the build errors on the 4.1 and 4.0 branches. We can discuss rewriting ci-complete later in KAFKA-19768

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Gradle build or GitHub Actions small Small PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants