(value: string)
| 374 | // Rich bugs (the investigation comment) each expand into a <details> with screenshot + remediation + |
| 375 | // nested evidence; the diffs comment's plain bugs stay one-liners (top 3) - fully backward-compatible. |
| 376 | if (payload.bugs.some(isRichBug)) { |
| 377 | return payload.bugs.map((bug) => renderBugDetails(bug, payload.state, payload.assetBaseUrl)).join("\n"); |
| 378 | } |
| 379 | return payload.bugs |
| 380 | .slice(0, 3) |
| 381 | .map((bug) => `${renderBugMarker(bug, payload.state)} ${renderBugLabel(bug)}${renderBugOccurrence(bug)}`) |
no outgoing calls
no test coverage detected