Giter Club home page Giter Club logo

Comments (4)

asvoboda avatar asvoboda commented on August 30, 2024

Hey @justinwyer, thanks for submitting this. I think we already try 5 retries when merging, so something else might be going sideways here. How many pull requests are merging when you see this type of issue? We could probably increase the number of retries and backoff.

from bulldozer.

justinwyer avatar justinwyer commented on August 30, 2024

Thanks @asvoboda it seems like there is no retry in this case as the error returns non as retry-able

case http.StatusMethodNotAllowed:
logger.Info().Msgf("Merge rejected due to unsatisfied condition: %q", gerr.Message)
return false, false
happy to open a PR to retry when the error from the API matches Base branch was modified. Review and try the merge again. or we could more generally make http.StatusMethodNotAllowed retry-able. What would you prefer?

from bulldozer.

asvoboda avatar asvoboda commented on August 30, 2024

Yep that'll do it.

I think it probably makes sense to check for that specific error. In general the 405 should indicate the request is actually not meant to be retried, but Github internally treats this particular error as retry-able, which is a little bit wonky.

from bulldozer.

justinwyer avatar justinwyer commented on August 30, 2024

Okay great, will open a PR a bit later.

from bulldozer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.