Skip to content

[LintDiff] Report generator shows when "before" state has errors #36126

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

Merged
merged 2 commits into from
Jul 23, 2025

Conversation

danieljurek
Copy link
Member

@danieljurek danieljurek commented Jul 23, 2025

Fixes #36082

Example PR with swagger changes and autorest failing in the before state. In this case the table notes "Autorest failed" and there's a warning. Since there are no prior violations to compare (because of the autorest failure) all violations in the after state are treated as "new":

https://github.com/Azure/azure-rest-api-specs/actions/runs/16475273232

image

Example PR with fixes to readme.md. In this case, the PR did not change any swagger files. LintDiff only surfaces errors for affected swaggers which, when no swagger files are edited, is an empty set.

https://github.com/Azure/azure-rest-api-specs/actions/runs/16475290346?pr=36137

image

Copy link

openapi-pipeline-app bot commented Jul 23, 2025

Next Steps to Merge

Next steps that must be taken to merge this PR:
  • ❌ The required check named Protected Files has failed. Refer to the check in the PR's 'Checks' tab for details on how to fix it and consult the aka.ms/ci-fix guide

Copy link

openapi-pipeline-app bot commented Jul 23, 2025

PR validation pipeline restarted successfully. If there is ApiView generated, it will be updated in this comment.

@danieljurek danieljurek marked this pull request as draft July 23, 2025 05:55
@danieljurek danieljurek self-assigned this Jul 23, 2025
@danieljurek danieljurek moved this from 🤔 Triage to 🔬 Dev in PR in Azure SDK EngSys 🍕 Jul 23, 2025
@danieljurek danieljurek marked this pull request as ready for review July 23, 2025 16:23
@danieljurek
Copy link
Member Author

Bypassing rules to merge. This PR intends to update protected files.

@danieljurek danieljurek merged commit d438e72 into main Jul 23, 2025
90 of 92 checks passed
@danieljurek danieljurek deleted the djurek/lintdiff-autorest-before-failure branch July 23, 2025 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🔬 Dev in PR
Development

Successfully merging this pull request may close these issues.

[LintDiff] Autorest failures in before state SHOULD result in a LintDiff break
2 participants