agent-orchestrator/packages/plugins/tracker-linear/test
Prateek d44c30de0c fix: prevent unhandled promise rejection in Composio timeout race
When the timeout wins Promise.race in the Composio transport, the
resultPromise is left without a rejection handler. If the SDK call
later rejects, it becomes an unhandled promise rejection that crashes
Node.js 20+ with --unhandled-rejections=throw.

Attach no-op .catch() to both resultPromise and timeoutPromise before
the race so whichever promise loses has its rejection silently handled.

Also adds plugin integration tests (core -> real plugins -> mocked gh CLI).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 15:15:21 +05:30
..
composio-transport.test.ts fix: prevent unhandled promise rejection in Composio timeout race 2026-02-14 15:15:21 +05:30
index.test.ts fix: default listIssues to open state in tracker-linear 2026-02-14 15:15:21 +05:30