(row: IntegrationRow)
| 3167 | }); |
| 3168 | |
| 3169 | const describeDisplayForRow = (row: IntegrationRow): IntegrationDisplayDescriptor => { |
| 3170 | const runtime = runtimes.get(row.plugin_id); |
| 3171 | const describe = runtime?.plugin.describeIntegrationDisplay; |
| 3172 | if (!describe) return {}; |
| 3173 | const record = rowToIntegrationRecord(row); |
| 3174 | // oxlint-disable-next-line executor/no-try-catch-or-throw -- boundary: plugin-authored projector must never fail the catalog read |
| 3175 | try { |
| 3176 | const display = describe(record); |
| 3177 | return { |
| 3178 | ...(display.url && display.url.length > 0 ? { url: display.url } : {}), |
| 3179 | ...(display.family && display.family.length > 0 ? { family: display.family } : {}), |
| 3180 | }; |
| 3181 | } catch { |
| 3182 | return {}; |
| 3183 | } |
| 3184 | }; |
| 3185 | |
| 3186 | // The declared health check off the integration row's own column. CORE |
| 3187 | // owns this storage (never the plugin config blob), so a plugin config |
no test coverage detected