Public: anyone can read this; nobody can change it.

A detached mirror can be reconnected in one click, and a frozen upstream says so (#1090) #18

Merged opened this view on origin

Check · Review · Land done · Live — Landed; nothing deploys from this branch, so this is the end of its path.

Merged

Found live on forge.open-platform.sh (trevato/forge#1090): the Forgejo origin token expired, the origin was deleted and connected again, and trevato/forge-upstream — the mirror the forge's own fork follows — was left with no origin.

Notes

shipped merged

opened this view on origin

Found live on forge.open-platform.sh (trevato/forge#1090): the Forgejo origin token expired, the origin was deleted and connected again, and trevato/forge-upstream — the mirror the forge's own fork follows — was left with no origin. It froze at 10-06, the fork read "ahead 813, behind 0" while this repository gained 25 commits and eight releases, a repair push was refused ("reconnect the origin before pushing"), and nothing in the forge offered the reconnect.

  • A detached mirror shows a frozen block on its page and branches, with Reconnect (your connected origins on the same host): POST /:owner/:name/settings/origin/reconnect, POST /api/v1/repos/:o/:n/origin/reconnect.
  • Connecting an origin on that host re-attaches the mirrors you own and says which; connecting an account whose credential died renews it in place, so its mirrors never detach again.
  • A fork of a frozen mirror says so in its following card, never "up to date"; the feed asks the owner to unfreeze.
  • Migration 72: repo.origin_detached_at set by a trigger on the FK SET NULL. repoJson.origin carries host, detached, frozenSince, detachedAt.
  • Leaves main green: the gate list names the two spawn tests it was missing; the board and studio tests allow the one boot style every page carries; the claim-link test follows the single-label child hosts; the audit gets its way in back.
  • docs/ORIGINS.md "When a token expires", docs/FOLLOWING.md, docs/FEED.md.

Targeted suites green; new test/origins-reconnect.test.ts 11/11; the full suite and an adversarial review run before merge.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs