SurfSense/surfsense_backend/app/services/linear
CREDO23 9b838ec015 fix(linear): use .astext for JSONB text extraction in _resolve_issue
cast(document_metadata["key"], String) generates CAST(col->'key' AS TEXT)
which preserves JSON string quotes (e.g. '"Fix login bug"'), causing
case-insensitive comparisons to never match.

Replace with .astext which generates the ->> operator (unquoted text
extraction), making issue lookups by title and identifier work correctly.
2026-02-19 15:47:40 +02:00
..
__init__.py feat(linear): add LinearKBSyncService and services __init__ 2026-02-18 17:51:53 +02:00
kb_sync_service.py feat(linear): add LinearKBSyncService and services __init__ 2026-02-18 17:51:53 +02:00
tool_metadata_service.py fix(linear): use .astext for JSONB text extraction in _resolve_issue 2026-02-19 15:47:40 +02:00