Repository navigation
Commit ad99674
committed
fix(claude): gate issue-handler comment fetch on COMMENT ID presence
Claude's own review of this PR caught it: on issues.opened events,
github.event.comment.id is empty, so the prompt's
gh api .../issues/comments/ call becomes a malformed URL. Add an
explicit COMMENT ID field to the prompt and instruct Claude to skip the
comment fetch when it's empty.1 parent 18efdc0 commit ad99674
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
505 | 505 | | |
506 | 506 | | |
507 | 507 | | |
| 508 | + | |
508 | 509 | | |
509 | 510 | | |
510 | 511 | | |
511 | 512 | | |
512 | 513 | | |
513 | 514 | | |
514 | | - | |
515 | | - | |
| 515 | + | |
| 516 | + | |
516 | 517 | | |
| 518 | + | |
517 | 519 | | |
518 | 520 | | |
519 | 521 | | |
| |||
0 commit comments