Fix compile error due to missing constant#10920
Conversation
The constant was hidden in a recent change and caused a logical merge error that resulted in build failures.
#10404 was merged after 41 days after it was tested on the CI. @nineinchnick would it be possible to invalidate CI results after some time? |
We would need a bot to rerun pipelines after some time. But a better solution would be to verify every PR against the master (rebased) before merging. There's some support for this in Github: https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/using-a-merge-queue
|
|
I've seen in other projects using https://github.com/actions/stale to mark PR as stale from n days since last push. It's advisory only though. An alternative is to make it easier to rebase. maybe something like commenting
Re-run re-runs on same merge commit - not a fresh one. You need to perform rebase or push commits. |
@nineinchnick i meant marker, or invalidation. Didn't mean a re-run.
rebase is not needed, and obliterates pr history
that's a trap. thanks @hashhar for pointing this out So if we have advisory that detects stale PRs, we need to also ensure that people don't fall into this trap. I like @hashhar idea of a check that's separate from CI job itself. |
The constant was hidden in a recent change and caused
a logical merge error that resulted in build failures.