-
Notifications
You must be signed in to change notification settings - Fork 4
Add an endpoint to allow pausing Hoff #295
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
Conversation
ab15025 to
f77db1e
Compare
musicismyalibi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the logic looks good. It might be nice to give some sort of feedback when your PR is not merged because of a pause.
That is a good suggestion, although preventing duplicate messages might not be straightforward in this case. I'll think about it. |
src/Server.hs
Outdated
| -- TODO: should probably also be a maybe or bool | ||
| -> (ProjectInfo -> Event -> IO ()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Currently this is a blocking function. We probably want to either change this to not be blocking or explicitly document that this is the case.
|
@OpsBotPrime merge |
|
Rebased as d9594c1, waiting for CI … |
Approved-by: Riscky Priority: Normal Auto-deploy: false
|
CI job 🟡 started. |
|
The build failed ❌. If this is the result of a flaky test, then tag me again with the |
|
seems to be a Semaphore issue, @OpsBotPrime retry |
Approved-by: Riscky Priority: Normal Auto-deploy: false
|
Rebased as 8833aee, waiting for CI … |
|
CI job 🟡 started. |
cbae35e to
8833aee
Compare
Implements #253
This adds an endpoint to Hoff to make it possible to pause promotions in a single merge train, and resume operations later.
Prioritized PRs are excluded from the pause.