• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

lsm / HyperNeo / 31201015686 / 15
40%
dev: 40%

Build:
DEFAULT BRANCH: dev
Ran 07 Aug 2026 05:14PM UTC
Files 352
Run time 14s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

07 Aug 2026 05:09PM UTC coverage: 9.153% (-0.01%) from 9.163%
31201015686.15

push

github

web-flow
feat(github-events): ingest branch_protection_rule webhook [#2327] (#2355)

Row 7 of the merge-blocking spec (#2320): the FIRST repo-scoped GitHub event.
A protection rule applies to a branch name on the whole repository, not to any
one PR, so per spec row 7 it publishes under
`github/{owner}/{repo}/repo/{branch}.branch_protection_{action}` with
`prNumber = 0` (the repo-scoped sentinel) and `prUrl` = the repo URL (not a
`/pull/{n}`). It never blocks a merge directly; it signals that what blocks a
merge may have changed, so a consumer should re-poll `mergeStateStatus`.

- WEBHOOK_EVENTS / GitHubEventKind: register `branch_protection_rule`.
- normalizeGitHubBranchProtectionRule: dispatched early (before the !prNumber
  guard, like check_run), validates on repo + branch only. Carries the rule's
  merge-gating attributes (status-check enforcement + required check-context
  names, required review count, code-owner / linear-history / conversation gates,
  admin-enforced) plus the changed-field names for edits. Branch-name globs are
  sanitized to a safe topic segment (raw pattern kept on the payload).
- mapEventType: `branch_protection_rule` → { resource: 'repo', action: `branch_protection_{action}` }.
- GITHUB_EVENT_RESOURCES (shared `github-subscription-pattern.ts`): add `repo`,
  with a dynamic supported-resources error message.
- Resource-shortcut disambiguation in the shared composer: a
  `thirdIsOwnerRepoResourceShape` helper (bare resource OR dotted
  `resource.action`) gates both shortcut branches so owner/repo/resource forms
  with an owner/repo literally named "repo" (bare or dotted) fall through
  correctly, while still allowing resource-first shorthands whose entity name is
  itself a resource (e.g. a protected branch named "pull_request").
- Essence: projects the merge-gating fields + repo url, omits prNumber for
  repo-scoped events. Feed CASE gets a "Branch protection" title.

Rebased onto dev; the composer work now lives in the shared
`githu... (continued)

1691 of 37651 branches covered (4.49%)

Branch coverage included in aggregate %.

6013 of 46517 relevant lines covered (12.93%)

0.94 hits per line

Source Files on job daemon-online-components - 31201015686.15
  • Tree
  • List 352
  • Changed 5
  • Source Changed 5
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 31201015686
  • 4ce8de8d on github
  • Prev Job for on dev (#31197913287.6)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc