(row: IntegrationRow)
| 3111 | }); |
| 3112 | |
| 3113 | const describeDisplayForRow = (row: IntegrationRow): IntegrationDisplayDescriptor => { |
| 3114 | const runtime = runtimes.get(row.plugin_id); |
| 3115 | const describe = runtime?.plugin.describeIntegrationDisplay; |
| 3116 | if (!describe) return {}; |
| 3117 | const record = rowToIntegrationRecord(row); |
| 3118 | // oxlint-disable-next-line executor/no-try-catch-or-throw -- boundary: plugin-authored projector must never fail the catalog read |
| 3119 | try { |
| 3120 | const display = describe(record); |
| 3121 | return { |
| 3122 | ...(display.url && display.url.length > 0 ? { url: display.url } : {}), |
| 3123 | ...(display.family && display.family.length > 0 ? { family: display.family } : {}), |
| 3124 | }; |
| 3125 | } catch { |
| 3126 | return {}; |
| 3127 | } |
| 3128 | }; |
| 3129 | |
| 3130 | // The declared health check off the integration row's own column. CORE |
| 3131 | // owns this storage (never the plugin config blob), so a plugin config |
no test coverage detected