Skip to content
This repository was archived by the owner on Oct 11, 2023. It is now read-only.

On recoverable merge failures, register the PR so that it can continue to be processed later#291

Merged
joao-paulo-parity merged 1 commit intomasterfrom
merge_failure
May 26, 2021
Merged

On recoverable merge failures, register the PR so that it can continue to be processed later#291
joao-paulo-parity merged 1 commit intomasterfrom
merge_failure

Conversation

@joao-paulo-parity
Copy link
Contributor

Shown in paritytech/substrate#8910 (comment)

The MR could not be merged in the first attempt

2021-05-26 08:31:56 response '405 Method Not Allowed' for https://api.github.com/repos/paritytech/substrate/pulls/8910/merge

Then the error was ignored because some status was late

2021-05-26 08:31:56 Ignoring merge failure due to pending required status; message: "Required status check "continuous-integration/gitlab-check-polkadot-companion-build" is pending."

In that case, the PR should have be registered for later processing in the database. In actuality it was not doing anything and just failing silently.

@joao-paulo-parity joao-paulo-parity changed the title On merge failures, register the PR in can continue to be processed later On recoverable merge failures, register the PR in can continue to be processed later May 26, 2021
@joao-paulo-parity joao-paulo-parity changed the title On recoverable merge failures, register the PR in can continue to be processed later On recoverable merge failures, register the PR so that it can continue to be processed later May 26, 2021
more aptly name 'Skipped' as 'MergeFailureWillBeSolvedLater'
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant