wulf-pulse/lib/utils
lorentz 0e8eb4871e fix: prevent sync from nullifying assigned_resource_id on tickets
- bulkUpsert now accepts preserveExistingOnNull column list, using
  COALESCE(EXCLUDED.col, table.col) so null incoming values never
  overwrite existing non-null DB values
- bulkUpsertRecords passes resource ID columns as preserve-on-null
  for TICKETS and TASKS entities
- getValidResourceIds now throws on DB error instead of returning
  empty set (which would nullify every resource reference)
- Fix mimecast mailbox-remediate fetch handlers to check res.ok and
  content-type before calling res.json(), preventing JSON parse crash
  on 502 Bad Gateway responses
2026-04-05 08:55:41 -04:00
..
api-helpers.ts Add comprehensive admin features and multi-system integration 2025-11-19 14:18:16 -05:00
db-helpers.ts fix: prevent sync from nullifying assigned_resource_id on tickets 2026-04-05 08:55:41 -04:00
device-lookup.ts Restructure: rename to Pulse and move app to root 2025-10-28 23:08:54 -04:00
entity-mapper.ts feat: Duo Security integration — full data sync from Accounts + Admin API 2026-03-27 11:10:30 -04:00
issue-type-helper.ts Add comprehensive admin features and multi-system integration 2025-11-19 14:18:16 -05:00
logger.ts Add comprehensive admin features and multi-system integration 2025-11-19 14:18:16 -05:00
openclaw-auth.ts feat: OpenClaw external agent sync API at /api/openclaw/* 2026-03-17 23:26:44 -04:00
sync-helpers.ts feat: add project_phases entity sync with task project_id backfill 2026-03-24 13:57:33 -04:00
sync-logger.ts feat: implement structured logging for sync operations 2026-01-23 08:02:02 -05:00