Commit 10f817d
feat(pr-comment): handle 409 github_app_not_installed gracefully
When the service returns 409 with a github_app_not_installed code, parse
the structured JSON body and surface a clear, actionable error:
- A ::error:: workflow annotation with a title and the install URL.
- A markdown setup checklist written to \$GITHUB_STEP_SUMMARY (visible
on the workflow run page) telling the customer exactly what to do.
Falls back to the existing generic-error behavior for any other non-2xx
response. Pairs with oasdiff-service PR #175 which switches the App-
not-installed response from HTTP 502 plain text to HTTP 409 + JSON.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 6ef3c27 commit 10f817d
1 file changed
Lines changed: 20 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
117 | 137 | | |
118 | 138 | | |
119 | 139 | | |
| |||
0 commit comments