Repository navigation
Commit dc6fc0b
authored
fix(webhook): grant pull request fast-ack tokens pull_requests write (#1082)
* fix(webhook): grant pull request fast-ack tokens pull_requests write
The PR receipt fast ack minted its installation token with
pull_requests: read, but posting a comment on a pull request through the
issues API requires pull_requests: write for App tokens. GitHub answered
403 Resource not accessible by integration, the ack threw, and between
PR #1078 and #1079 that uncaught throw returned HTTP 500 to every
pull_request opened/ready_for_review webhook delivery (outage window
2026-08-09 04:12-04:52Z); after #1079 the same failure was swallowed
silently, so no PR ever received its receipt comment.
Also mint App installation tokens with the documented repositories
parameter instead of repository_names, which GitHub ignores - tokens
were silently granted installation-wide repository_selection=all instead
of being scoped to the named repository. Log swallowed fast-ack failures
so the next regression is visible in wrangler tail.
* docs: reference PR number in changelog entries1 parent 6971afb commit dc6fc0b
6 files changed
Lines changed: 20 additions & 8 deletions
File tree
- dashboard
- src/repair
- test
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13093 | 13093 | | |
13094 | 13094 | | |
13095 | 13095 | | |
13096 | | - | |
| 13096 | + | |
13097 | 13097 | | |
13098 | 13098 | | |
13099 | 13099 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1199 | 1199 | | |
1200 | 1200 | | |
1201 | 1201 | | |
1202 | | - | |
1203 | | - | |
1204 | | - | |
| 1202 | + | |
| 1203 | + | |
| 1204 | + | |
| 1205 | + | |
1205 | 1206 | | |
1206 | 1207 | | |
1207 | 1208 | | |
| |||
2466 | 2467 | | |
2467 | 2468 | | |
2468 | 2469 | | |
2469 | | - | |
| 2470 | + | |
2470 | 2471 | | |
2471 | 2472 | | |
2472 | 2473 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
466 | 466 | | |
467 | 467 | | |
468 | 468 | | |
469 | | - | |
| 469 | + | |
470 | 470 | | |
471 | 471 | | |
472 | 472 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25951 | 25951 | | |
25952 | 25952 | | |
25953 | 25953 | | |
| 25954 | + | |
| 25955 | + | |
| 25956 | + | |
| 25957 | + | |
25954 | 25958 | | |
25955 | 25959 | | |
25956 | 25960 | | |
| |||
25978 | 25982 | | |
25979 | 25983 | | |
25980 | 25984 | | |
25981 | | - | |
| 25985 | + | |
| 25986 | + | |
| 25987 | + | |
| 25988 | + | |
| 25989 | + | |
| 25990 | + | |
25982 | 25991 | | |
25983 | 25992 | | |
25984 | 25993 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1709 | 1709 | | |
1710 | 1710 | | |
1711 | 1711 | | |
1712 | | - | |
| 1712 | + | |
1713 | 1713 | | |
1714 | 1714 | | |
1715 | 1715 | | |
| |||
0 commit comments