You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I remember discussing this issue a long time ago with @Zimmi48 and it seemed "minor" (and/or not essential for maintaining coq/coq), but it actually appeared blocking to me since this comment: rocq-community/docker-coq#50 (comment)
It would be nice if coqbot can automatically push the default branch (e.g. master or main or a set of user-specified branches) to GitLab as soon as it detects a push to this/these branches in GitHub.
As a result, with this feature, these two PRs could be merged quasi-simultaneously in this order:
Regarding the potential "risk" that should be tested:
If coqbot can push master from github to gilab before the automatic mirroring, one should check that this bot push won't prevent the upcoming, automatic mirroring of (all other) branches.
but I guess this shouldn't occur if coqbot only dooes fast-forward pushes of that branch (unlike pushes to pr-* that are typically done with --force)
(and… what would happen if coqbot's push and gitlab's auto-sync are almost simultaneous?)
Context
I remember discussing this issue a long time ago with @Zimmi48 and it seemed "minor" (and/or not essential for maintaining coq/coq), but it actually appeared blocking to me since this comment: rocq-community/docker-coq#50 (comment)
Cc @Alizter @JasonGross also FYI
Current behavior
coqbot is extremely nice for syncing GitHub PR branches → GitLab branches named
pr-*However when a repository such as https://github.com/coq-community/docker-coq strongly relies on continuous deployment at merge time in the default branch, it is very annoying to face with this "documented sync lag"
pull_mirror_interval_seconds.Namely, the repository is automatically synced only every 30' (it is easy to notice this by monitoring the text
Successfully updated N minutes agoat URL https://gitlab.com/coq-community/docker-coq/-/branches)Furthermore, a manual sync is only possible every 5' as documented here:
https://docs.gitlab.com/ee/user/project/repository/mirror/#update-a-mirror
Expected behavior
It would be nice if coqbot can automatically push the default branch (e.g.
masterormainor a set of user-specified branches) to GitLab as soon as it detects a push to this/these branches in GitHub.As a result, with this feature, these two PRs could be merged quasi-simultaneously in this order:
Misc notes
Regarding the potential "risk" that should be tested:
pr-*that are typically done with--force)