Commit 4cd780e
ci: add error handling to release-PR assign script (LAB-899)
Kody review on #61: JSON.parse + addAssignees threw unhandled on
malformed PR_JSON or API failure, failing the step with a raw stack
trace and no context. Wrap in try/catch and core.setFailed with the
repo, PR_JSON length (parse vs truncation diagnosis without dumping
the multi-KB PR body into logs), and error message. Still fails the
step — assignment failures must stay visible, not warn-and-pass.
Co-authored-by: multica-agent <github@multica.ai>1 parent 2ab42cc commit 4cd780e
1 file changed
Lines changed: 12 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
63 | 68 | | |
64 | 69 | | |
65 | 70 | | |
| |||
0 commit comments