Skip to content

Conversation

@Yunyung
Copy link
Collaborator

@Yunyung Yunyung commented Oct 8, 2025

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.

Reviewers: David Arthur [email protected], Chia-Ping Tsai
[email protected]

@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

Copy link
Member

@mumrah mumrah left a comment

Choose a reason for hiding this comment

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

@chia7712 I think this is fine for a temporary fix. Sorry for the long delay getting back to you on this!

description: 'Could not find build scan'
context: Gradle Build Scan / ${{ env.status-context }}
state: 'error'
state: 'success' # WAR: Always mark as successful, not as failing, for non-trunk branches; real solution to follow in KAFKA-19768
Copy link
Member

Choose a reason for hiding this comment

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

nit: "WAR" i assume means workaround, but isn't really clear. I would just have the comment reference the JIRA and explain why we're doing this for now

@Yunyung
Copy link
Collaborator Author

Yunyung commented Oct 15, 2025

Thanks for the review! Addressed the comment.

@chia7712 chia7712 merged commit 832c7d6 into apache:trunk Oct 16, 2025
23 checks passed
eduwercamacaro pushed a commit to littlehorse-enterprises/kafka that referenced this pull request Nov 12, 2025
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](https://issues.apache.org/jira/browse/KAFKA-19768).

Reviewers: David Arthur <[email protected]>, Chia-Ping Tsai
 <[email protected]>
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.

3 participants