-
Notifications
You must be signed in to change notification settings - Fork 14.8k
MINOR: ignore result of "missing build scan" #20659
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MINOR: ignore result of "missing build scan" #20659
Conversation
|
@Yunyung could you please revert previous failed approach? |
|
Sure. Revert the failed approach from #20644 in latest comimt. |
.github/workflows/ci-complete.yml
Outdated
| 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 |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated, thanks.
|
@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 |
mumrah
left a comment
There was a problem hiding this 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!
.github/workflows/ci-complete.yml
Outdated
| 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 |
There was a problem hiding this comment.
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
|
Thanks for the review! Addressed the comment. |
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]>
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:
ci-completeis inconsistent with otheractive 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]