GitHub main silently lost the nix commit - multi-URL origin push divergence #5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally filed by @coilysiren on 2026-05-22T13:27:58Z - https://github.com/coilysiren/coily/issues/324
Symptom. While landing #323,
git push origin mainfor the nix passthrough commit (8397594) was rejected by GitHub as non-fast-forward but accepted by forgejo.originis a multi-URL remote (git@github.com:coilysiren/coily.gitplushttps://forgejo.coilysiren.me/coilysiren/coily.git). The partial push left GitHub's main missing8397594while forgejo and local carried it. GitHub's main instead advanced tof0eca9e(v2.22.0 formula bump from a release workflow), so the two remotes genuinely diverged.Reconciled for now. Issue #323 resolved it with merge commit
adeb142, which fast-forwarded both remotes. The formula bump and the Go changes touched disjoint files, so there were no conflicts.Root cause to fix. A multi-URL
originwhere one URL rejects a push leaves the other ahead, and nothing surfaces the split. The next dispatch that branches from local main inherits a history GitHub never saw. Options worth considering:origininto named remotes (github,forgejo) behind a wrapper that fails loudly on partial success instead of a single multi-URLorigin.github/mainagainstforgejo/mainand alerts when they part ways.Found while landing #323 (decouple coily and agent-guard).