(row: IntegrationRow)
| 1760 | }; |
| 1761 | |
| 1762 | const describeDisplayUrlForRow = (row: IntegrationRow): string | undefined => { |
| 1763 | const runtime = runtimes.get(row.plugin_id); |
| 1764 | const describe = runtime?.plugin.describeIntegrationDisplay; |
| 1765 | if (!describe) return undefined; |
| 1766 | const record = rowToIntegrationRecord(row); |
| 1767 | // oxlint-disable-next-line executor/no-try-catch-or-throw -- boundary: plugin-authored projector must never fail the catalog read |
| 1768 | try { |
| 1769 | const display = describe(record); |
| 1770 | return display.url && display.url.length > 0 ? display.url : undefined; |
| 1771 | } catch { |
| 1772 | return undefined; |
| 1773 | } |
| 1774 | }; |
| 1775 | |
| 1776 | // The declared health check off the integration row's own column. CORE |
| 1777 | // owns this storage (never the plugin config blob), so a plugin config |
no test coverage detected