Repository navigation
Update CI to report build failure as warning - #50997
Merged
Weidong Xu (weidongxu-microsoft) merged 1 commit intoOct 28, 2026
Merged
Conversation
|
Azure Pipelines: Successfully started running 1 pipeline(s). 35 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
The scoped status change matches the intended behavior while preserving generation failure reporting and compilation-gated artifacts.
No open issues 🎉
What changed in this PR
Updates Java SDK generation automation so qualifying spec PR runs report successful generation followed by a failed build as a warning rather than a failure.
Changes:
- Tracks generation and compilation outcomes separately.
- Reports build failures as warnings when generation succeeds and clean-folder fallback is enabled.
- Keeps artifact publication conditional on successful compilation.
| File | Description |
|---|---|
| eng/automation/generate_data.py | Separates generation and build status to support conditional warning results. |
Review effort: Balanced
Weidong Xu (weidongxu-microsoft)
approved these changes
Oct 28, 2026
Weidong Xu (weidongxu-microsoft)
deleted the
kaylieee/report-build-warning
branch
October 28, 2026 03:32
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.
Update CI for auto spec PR runs to report successful generation and failed build as warning instead of failure
Test PR run: Azure/azure-rest-api-specs#47663
CI Job: https://dev.azure.com/azure-sdk/public/_build/results?buildId=7005637&view=results