Skip to content

Conversation

@bensbigolbeard
Copy link
Contributor

📝 Description

While we've seen the error status come back as 406 for the "diff too large" case, we are now seeing some failures with the right error, but a status of "not_available", so it just jumps right to the final error state. This code now falls back to checking the actual error message for diff is taking too long to generate, if there's no status code to rely on.

it seems the way the code was previously was swallowing valid errors, falling back to returning [] for changed files, leading the validation to return that there were no conflicts, when there actually might have been.

🔗 Related Issues

@bensbigolbeard bensbigolbeard requested a review from a team as a code owner February 17, 2025 20:28
@sayali10 sayali10 merged commit 36bd2b0 into main Feb 17, 2025
11 checks passed
@sayali10 sayali10 deleted the diff-fallback-adjustment branch February 17, 2025 21:27
@eg-oss-ci
Copy link

🎉 This PR is included in version 1.74.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants