Wave C: pull requests (docs/features/03) #9
No reviewers
Labels
No labels
actions
bug
cli
duplicate
enhancement
fork
forum
git storage
help wanted
insights
invalid
issues
moderation
oidc
ownership transfer
packages
pr/merge protection rules
projects
pull requests
question
releases
sponsorships
tags
webhooks
wiki
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
crueber/walhub!9
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/pulls"
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?
Wave C1 of the collaboration layer: new package internal/pulls.
WHAT: PR threads (kind:pr, no PR fields in thread.json), pr.json sidecar, mergeable.json stamped cache + pulls event sink + pull-mergeable task, pull-merge task (merge/squash/rebase, explicit policy evaluation, required-checks pre-scan), pull-fork task (records + task; manifest executor deferred), refs/pull/N/head server-side publish (reachable only, 422 otherwise), built-in protect default on refs/pull/** (push-pipeline refusal, both transports), endpoints/SSE/UI/SDK per 03 sections 8-9. Frozen families (mergeable.json, meta/forks.json, pr.json) amended into docs/go/14 in the same change.
VERIFY: internal/pulls 99.5 percent statements, go test -race clean, full go test -short ./... green, e2e green, node --test 134 pass, live stack verified (open/mergeable/merge/close/delete-head/push-refusal on the wire, headless-Chrome CDP drive of /pulls + /pull/1 with zero console errors).
DEVIATIONS (all recorded in docs): trial merge uses the two-arg merge-tree form (three-arg is exit-129 on modern git); up_to_date follows the spec second clause (head fully merged; the first parenthetical would refuse every normal PR — found live); pr.json gains additive body; POST comments + GET merge/task endpoints additive; fork manifest step is a nil ForkExecutor seam; ResolveRef/MergeBase propagate backend outages as 503.
Tracks Forgejo issue crueber/walhub#5. Do NOT merge — review requested.