Skip to content

Conversation

@Riscky
Copy link

@Riscky Riscky commented Sep 23, 2025

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.

Copy link

@musicismyalibi musicismyalibi left a 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.

@Riscky
Copy link
Author

Riscky commented Sep 23, 2025

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
Comment on lines 282 to 283
-- TODO: should probably also be a maybe or bool
-> (ProjectInfo -> Event -> IO ())

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.

@Riscky Riscky requested a review from musicismyalibi October 22, 2025 14:41
@Riscky
Copy link
Author

Riscky commented Oct 23, 2025

@OpsBotPrime merge

@OpsBotPrime
Copy link

Rebased as d9594c1, waiting for CI …

OpsBotPrime added a commit that referenced this pull request Oct 23, 2025
Approved-by: Riscky
Priority: Normal
Auto-deploy: false
@OpsBotPrime
Copy link

CI job 🟡 started.

@OpsBotPrime
Copy link

The build failed ❌.

If this is the result of a flaky test, then tag me again with the retry command. Otherwise, push a new commit and tag me again.

@Riscky
Copy link
Author

Riscky commented Oct 23, 2025

seems to be a Semaphore issue, @OpsBotPrime retry

@OpsBotPrime
Copy link

Rebased as 8833aee, waiting for CI …

@OpsBotPrime
Copy link

CI job 🟡 started.

@OpsBotPrime OpsBotPrime merged commit 8833aee into master Oct 23, 2025
1 check was pending
@OpsBotPrime OpsBotPrime deleted the riscky/pause branch October 23, 2025 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants