fix: evidence articles missing on recommendations + Lucide title prop CI failure

- recommendation worker: filter out non-UUID document IDs (synthetic
  pattern:* IDs from competitive signals) before inserting into
  recommendation_evidence table — the uuid cast was failing and
  silently dropping all evidence rows
- wrap executemany in try/except so partial failures don't lose all evidence
- SqlExplorer: wrap Lucide icons in <span title=...> instead of passing
  title prop directly (not supported by lucide-react, broke CI build)
This commit is contained in:
Celes Renata
2026-04-17 07:10:21 +00:00
parent 913fe8b0b3
commit 419cf7558a
2 changed files with 24 additions and 4 deletions
+2 -2
View File
@@ -282,8 +282,8 @@ export function SqlExplorerPage() {
{t.columns.map((c) => (
<div key={c.name} className="flex items-center justify-between text-[10px]">
<span className="flex items-center gap-1 text-gray-400">
{c.primary_key && <Key size={9} className="text-amber-500" title="Primary key" />}
{c.references && <Link size={9} className="text-blue-400" title={`FK → ${c.references}`} />}
{c.primary_key && <span title="Primary key"><Key size={9} className="text-amber-500" /></span>}
{c.references && <span title={`FK → ${c.references}`}><Link size={9} className="text-blue-400" /></span>}
{c.name}
</span>
<span className="text-gray-600">{c.type}</span>