Skip to content
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

Make GCB downstream builder job fail if a commit creation error occurs #17702

Open
shuyama1 opened this issue Mar 27, 2024 · 2 comments
Open
Assignees
Labels
magician Issues and features related to our bespoke CI size/s technical-debt
Milestone

Comments

@shuyama1
Copy link
Collaborator

What kind of contribution is this issue about?

Other (specify in details)

Details

In a recent downstream build job, we've seen downstream generation step silently swallowed a commit creation error Error creating commit: path error running git: fork/exec /usr/bin/git: argument list too long without causing the builder job to fail. GCB link

This behavior may have been intentional, given that certain PRs do not generate any downstream changes and Magician returns errors in such scenarios. However, we need to find a way to distinguish between instances where no downstream commits should be generated and actual generation errors. For the latter, we should ensure the build job fails accordingly.

References

No response

@rileykarson rileykarson added the magician Issues and features related to our bespoke CI label Mar 28, 2024
@rileykarson rileykarson added this to the Goals milestone Apr 8, 2024
@melinath
Copy link
Collaborator

Note from grooming: We could potentially check the error code from making the commit, or check whether there are any diffs prior to attempting to make a commit (so that we don't have to ignore empty commit failures)

@iyabchen
Copy link
Contributor

I can take this ticket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
magician Issues and features related to our bespoke CI size/s technical-debt
Projects
None yet
Development

No branches or pull requests

4 participants