kaneo (minimalist kanban) fork to experiment adding a tangled integration
github.com/usekaneo/kaneo
1/** Skip webhook sync when it likely echoes our own outbound API update. */
2export const OUTBOUND_STATE_ECHO_WINDOW_MS = 5000;
3
4export function parseIssueUpdatedAtMs(issue: {
5 updated_at?: string;
6}): number | null {
7 const raw = issue.updated_at;
8 if (!raw || typeof raw !== "string") return null;
9 const t = Date.parse(raw);
10 return Number.isNaN(t) ? null : t;
11}