SurfSense/surfsense_backend/app/agents/new_chat/tools/linear
CREDO23 d4e2ebb99f fix(hitl): rollback on KB delete failure, tighten linear tool guards
- delete_linear_issue + delete_notion_page: add db_session.rollback()
  in the KB document deletion exception handler so the session is never
  left in a PendingRollbackError state after a failed commit, which
  would otherwise break all subsequent DB operations in the same request
- delete_linear_issue: include issue identifier (e.g. ENG-42) in the
  success message so the caller can confirm which issue was archived
- update_linear_issue: remove redundant label_ids ternary
  (x if x is not None else None -> x)
- create_linear_issue: add logger.error on empty-title guard for parity
  with the equivalent Notion tool
2026-02-19 16:27:02 +02:00
..
__init__.py feat(linear): add tools __init__ 2026-02-18 18:41:43 +02:00
create_issue.py fix(hitl): rollback on KB delete failure, tighten linear tool guards 2026-02-19 16:27:02 +02:00
delete_issue.py fix(hitl): rollback on KB delete failure, tighten linear tool guards 2026-02-19 16:27:02 +02:00
update_issue.py fix(hitl): rollback on KB delete failure, tighten linear tool guards 2026-02-19 16:27:02 +02:00