winglang / wing

A programming language for the cloud ☁️ A unified programming model, combining infrastructure and runtime code into one language ⚡
https://winglang.io
Other
4.75k stars 186 forks source link

Merge to main only when the team's working hours #6628

Closed tsuf239 closed 2 weeks ago

tsuf239 commented 3 weeks ago

Use Case

To avoid failure of the main build, which triggers on-call notification in the early morning, we can try to merge to main only at certain hours and days, preferably the working hours of our different sites, but waking hours are good too :)

Proposed Solution

chatGPT says we can do it with a mergify condition https://chatgpt.com/share/c30c3b21-1799-43d6-bb4c-373420096e6e

Implementation Notes

No response

Component

No response

Community Notes

eladb commented 3 weeks ago

Not sure I agree that's the right approach. If we want to prevent off hours oncall alerts we should configure pagerduty to treat build failures as a less severe case.

eladb commented 2 weeks ago

@tsuf239 if that's okay, I am closing for now.