Home

boring / v2

publicBoring-Software-Inc/v2
Overview Code History Branches Pull requestsIssuesInsights Campfire Docs
main
HomeOverview Code PRsIssues

feat(forge-opengit): ingest pull_request events now that author lands

2 months ago

bccfb77
Authored
grim8/22/2026, 6:02:43 AM
open-git's webhook payload now carries pull_request.author and .body on every
pull-request event, plus a new pull_request.edited for a title/description
change. author is what THE ACTOR GAP was waiting on — tripwire evaluates a
contributor, and until now these events named nobody, so they were skipped.

opened/edited/synchronize/closed now normalize; edited maps to
change-request.updated because the head sha is unchanged.

Branch refs and the draft flag stay absent rather than defaulted — open-git
sends neither and its v1 API cannot fill the gap, so changeRequestPayloadSchema
marks the three optional and the github signals that read them skip (6)
instead of reporting a fabricated "" ref.

Parenta3ad589

4 files changed
  • packages/contracts/src/events.ts+13−3
  • packages/forge-github/src/signals.ts+18−3
  • packages/forge-opengit/src/webhook/normalize.test.ts+105−9
  • packages/forge-opengit/src/webhook/normalize.ts+87−20