We are suggesting that the CI for everybody tries to apply the overlay.
That means a merge, then?
And doesn't apply it once it is merged.
Pierre-Marie Pédrot said:
That means a merge, then?
Yes we will merge the PR into the CI sources.
Pierre-Marie Pédrot said:
But making the lock time-based with a week delay is probably worse than a few hours, or days at best, of missing downstream dev overlays.
You've completely misunderstood Ali's proposal.
What I fear is the criterion to detect that an overlay was merged.
Right, that is what gh
does. You can query GitHub directly about a PR.
And come up with a curl request for GL probably.
We can quite easily understand if a PR/MR has been merged and act accordingly.
What we were suggesting with the week clean up cycle is to remove the overlays we know have been merged.
Another solution: if the overlay does not apply cleanly on the base branch, you just test the base branch (instead of failing).
We still have to care for semantic conflict of overlays, though.
That's fine, we fail if overlays conflict.
That is strictly better than what we are doing today.
Which is fail everywhere when unmerged.
Indeed. I guess I'll to see it in action.
43 messages were moved here from #Coq devs & plugin devs > compcert / vst waiting for overlay by Ali Caglayan.
(this also assumes that downstream devs merge PR overlays correctly, which is not always the case. I've seen several people rebasing the commits locally and closing the PR.)
Yes that is a problem
Anyway just an idea how we might improve things rather than be at the whim of every CI entry.
Pierre-Marie Pédrot said:
(this also assumes that downstream devs merge PR overlays correctly, which is not always the case. I've seen several people rebasing the commits locally and closing the PR.)
That's fine if we do not use the gh
trick proposed by Ali but instead just check if the overlay merges cleanly with the base and otherwise skip it.
As for the auto-removal PR that coqbot could open, it could be very stupid: just remove overlays and let CI tell you if that works or not.
Last updated: Feb 06 2023 at 00:03 UTC