A pull proposed to an origin, and its state coming back

On a repository mirrored from another forge, "Propose upstream" from a native fork carries the branch to the origin and opens the pull there (actions/pulls.ts, origins/push-through.ts), under the connecting account.

What the origin then says comes back two ways, through one path (origins/pull-check.ts):

Asking the origin for the hook happens after the pull opens and off the request path (10 s at most); the person has their pull first.

The pull page, and the pull screen in the terminal (the merge box), show the origin's check ("Check on bob/app: passing, as of …") and import its reviews. An origin that does not answer leaves the last word standing. A forge origin gives its own check word; a Gitea or Forgejo origin gives its combined commit status; GitHub's checks are not read yet.

The signed webhook path is tested by a hand-posted, correctly signed request (test/origin-pull-state.test.ts); no real origin has delivered to it yet. The terminal line is tested in test/tui-pull-origin-check.test.ts.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs