(row: IntegrationRow)
| 1798 | }; |
| 1799 | |
| 1800 | const describeDisplayForRow = (row: IntegrationRow): IntegrationDisplayDescriptor => { |
| 1801 | const runtime = runtimes.get(row.plugin_id); |
| 1802 | const describe = runtime?.plugin.describeIntegrationDisplay; |
| 1803 | if (!describe) return {}; |
| 1804 | const record = rowToIntegrationRecord(row); |
| 1805 | // oxlint-disable-next-line executor/no-try-catch-or-throw -- boundary: plugin-authored projector must never fail the catalog read |
| 1806 | try { |
| 1807 | const display = describe(record); |
| 1808 | return { |
| 1809 | ...(display.url && display.url.length > 0 ? { url: display.url } : {}), |
| 1810 | ...(display.family && display.family.length > 0 ? { family: display.family } : {}), |
| 1811 | }; |
| 1812 | } catch { |
| 1813 | return {}; |
| 1814 | } |
| 1815 | }; |
| 1816 | |
| 1817 | // The declared health check off the integration row's own column. CORE |
| 1818 | // owns this storage (never the plugin config blob), so a plugin config |
no test coverage detected