Commit Graph

7002 Commits

Author SHA1 Message Date
Cursor Agent bf7bee8101 Assert onError remains silent on successful chat streams
Co-authored-by: Eric Allam <eric@trigger.dev>
2026-02-15 01:30:23 +00:00
Cursor Agent e782303337 Cover async run-store cleanup on stream subscribe failures
Co-authored-by: Eric Allam <eric@trigger.dev>
2026-02-15 01:28:14 +00:00
Cursor Agent fe5cd3d958 Use immutable run-state updates in tracking and cleanup paths
Co-authored-by: Eric Allam <eric@trigger.dev>
2026-02-15 01:26:06 +00:00
Cursor Agent e97fc5c162 Refactor run-state cleanup into shared transport helper
Co-authored-by: Eric Allam <eric@trigger.dev>
2026-02-15 01:23:53 +00:00
Cursor Agent a1d32c494d Assert stream subscribe cleanup transitions run state
Co-authored-by: Eric Allam <eric@trigger.dev>
2026-02-15 01:21:39 +00:00
Cursor Agent 97909907ab Cover non-Error stream subscription failures in onError reporting
Co-authored-by: Eric Allam <eric@trigger.dev>
2026-02-15 01:18:57 +00:00
Cursor Agent 4b4953cc28 Report stream subscribe failures through onError lifecycle
Co-authored-by: Eric Allam <eric@trigger.dev>
2026-02-15 01:17:06 +00:00
Cursor Agent 8e0dcd44bf Harden consumeTrackingStream error callback coverage
Co-authored-by: Eric Allam <eric@trigger.dev>
2026-02-15 01:14:11 +00:00
Cursor Agent ebd39aa792 Verify reconnect flow tolerates onError callback failures
Co-authored-by: Eric Allam <eric@trigger.dev>
2026-02-15 01:11:41 +00:00
Cursor Agent 065d9339bf Ensure onError failures do not mask trigger option/task errors
Co-authored-by: Eric Allam <eric@trigger.dev>
2026-02-15 01:10:08 +00:00
Cursor Agent 2236e0ffbf Ensure onError failures never mask mapper errors
Co-authored-by: Eric Allam <eric@trigger.dev>
2026-02-15 01:07:45 +00:00
Cursor Agent 1c50671975 Clarify onError normalization behavior in streams docs
Co-authored-by: Eric Allam <eric@trigger.dev>
2026-02-15 01:06:28 +00:00
Cursor Agent 58b6dc3d86 Document non-Error normalization in onError changelog notes
Co-authored-by: Eric Allam <eric@trigger.dev>
2026-02-15 01:05:39 +00:00
Cursor Agent afd9df51ce Cover non-Error onTriggeredRun failures in onError reporting
Co-authored-by: Eric Allam <eric@trigger.dev>
2026-02-15 01:04:53 +00:00
Cursor Agent b76c8b53a5 Cover non-Error reconnect failures in onError reporting
Co-authored-by: Eric Allam <eric@trigger.dev>
2026-02-15 01:03:49 +00:00
Cursor Agent d729344c32 Cover non-Error trigger task failures in onError reporting
Co-authored-by: Eric Allam <eric@trigger.dev>
2026-02-15 01:02:43 +00:00
Cursor Agent a7cba369d9 Cover non-Error trigger option failures in onError reporting
Co-authored-by: Eric Allam <eric@trigger.dev>
2026-02-15 01:01:38 +00:00
Cursor Agent d0b31197f0 Cover non-Error mapper failures in onError reporting
Co-authored-by: Eric Allam <eric@trigger.dev>
2026-02-15 01:00:30 +00:00
Cursor Agent 6100c6e247 Use shared transport error type in reportError
Co-authored-by: Eric Allam <eric@trigger.dev>
2026-02-15 00:59:02 +00:00
Cursor Agent 0e403ded45 Verify duplicate header keys use last value on normalization
Co-authored-by: Eric Allam <eric@trigger.dev>
2026-02-15 00:57:08 +00:00
Cursor Agent 8e1821c2f9 Assert normalized object headers are copied immutably
Co-authored-by: Eric Allam <eric@trigger.dev>
2026-02-15 00:56:09 +00:00
Cursor Agent add5ed304b Keep exported header normalization helper as supported API
Co-authored-by: Eric Allam <eric@trigger.dev>
2026-02-15 00:55:07 +00:00
Cursor Agent dc01fab1c1 Note phase-aware onError reporting in ai changelog
Co-authored-by: Eric Allam <eric@trigger.dev>
2026-02-15 00:54:08 +00:00
Cursor Agent 8f5c16a7c5 Report send-phase errors through onError callback
Co-authored-by: Eric Allam <eric@trigger.dev>
2026-02-15 00:53:16 +00:00
Cursor Agent 6f4b9f0424 Document onError callback payload fields
Co-authored-by: Eric Allam <eric@trigger.dev>
2026-02-15 00:48:13 +00:00
Cursor Agent 4cf0b970a2 Add type coverage for onError option wiring
Co-authored-by: Eric Allam <eric@trigger.dev>
2026-02-15 00:46:37 +00:00
Cursor Agent 677debcff0 Export header normalization helper for advanced integrations
Co-authored-by: Eric Allam <eric@trigger.dev>
2026-02-15 00:45:34 +00:00
Cursor Agent d870c19075 Add type coverage for custom run store options
Co-authored-by: Eric Allam <eric@trigger.dev>
2026-02-15 00:43:58 +00:00
Cursor Agent a4bab4cac6 Add type-level coverage for onError callback payload
Co-authored-by: Eric Allam <eric@trigger.dev>
2026-02-15 00:42:57 +00:00
Cursor Agent 6ead0d0cec Cover reconnect and tracking phases in onError callback tests
Co-authored-by: Eric Allam <eric@trigger.dev>
2026-02-15 00:41:36 +00:00
Cursor Agent f235e1d9a6 Update ai changelog with latest transport enhancements
Co-authored-by: Eric Allam <eric@trigger.dev>
2026-02-15 00:38:56 +00:00
Cursor Agent 1f49bc218b Add optional onError callback for non-fatal transport issues
Co-authored-by: Eric Allam <eric@trigger.dev>
2026-02-15 00:37:22 +00:00
Cursor Agent 5efba1394d Cleanup inactive reconnect state entries on access
Co-authored-by: Eric Allam <eric@trigger.dev>
2026-02-15 00:34:25 +00:00
Cursor Agent 227290b3da Pass immutable run-state snapshot to onTriggeredRun
Co-authored-by: Eric Allam <eric@trigger.dev>
2026-02-15 00:32:29 +00:00
Cursor Agent 5d492d6c9a Document exported transport option helper types in streams docs
Co-authored-by: Eric Allam <eric@trigger.dev>
2026-02-15 00:30:36 +00:00
Cursor Agent e69a1d2550 Add sdk patch changeset for ai package guidance
Co-authored-by: Eric Allam <eric@trigger.dev>
2026-02-15 00:29:00 +00:00
Cursor Agent 6843732f79 Document exported request option helper aliases
Co-authored-by: Eric Allam <eric@trigger.dev>
2026-02-15 00:27:39 +00:00
Cursor Agent bc9e06c674 Strengthen async run store interaction assertions
Co-authored-by: Eric Allam <eric@trigger.dev>
2026-02-15 00:27:06 +00:00
Cursor Agent c0fa99506a Test preview branch and timeout header propagation
Co-authored-by: Eric Allam <eric@trigger.dev>
2026-02-15 00:26:17 +00:00
Cursor Agent f9dcafa809 Export explicit send/reconnect option helper types
Co-authored-by: Eric Allam <eric@trigger.dev>
2026-02-15 00:23:58 +00:00
Cursor Agent b7c2b2ed2a Expand ai package changelog with transport capabilities
Co-authored-by: Eric Allam <eric@trigger.dev>
2026-02-15 00:20:30 +00:00
Cursor Agent 7a3db86242 Assert onTriggeredRun receives initial run state snapshot
Co-authored-by: Eric Allam <eric@trigger.dev>
2026-02-15 00:18:57 +00:00
Cursor Agent 5d24c69c4f Document supported header input formats for transport
Co-authored-by: Eric Allam <eric@trigger.dev>
2026-02-15 00:15:09 +00:00
Cursor Agent 19909ea8be Allow tuple header inputs in transport send options
Co-authored-by: Eric Allam <eric@trigger.dev>
2026-02-15 00:14:15 +00:00
Cursor Agent dc48c614f2 Add factory payload inference type-level coverage
Co-authored-by: Eric Allam <eric@trigger.dev>
2026-02-15 00:11:43 +00:00
Cursor Agent 302df5e7ae Normalize tuple-style headers in transport request mapping
Co-authored-by: Eric Allam <eric@trigger.dev>
2026-02-15 00:10:43 +00:00
Cursor Agent 3766c7319a Recommend @trigger.dev/ai in trigger-sdk README
Co-authored-by: Eric Allam <eric@trigger.dev>
2026-02-15 00:08:56 +00:00
Cursor Agent bff60e11e4 Clarify reconnect lifecycle behavior in transport docs
Co-authored-by: Eric Allam <eric@trigger.dev>
2026-02-15 00:07:45 +00:00
Cursor Agent bc1a10c28e Ignore onTriggeredRun callback failures during streaming
Co-authored-by: Eric Allam <eric@trigger.dev>
2026-02-15 00:06:51 +00:00
Cursor Agent e8222f76b9 Document onTriggeredRun callback option in streams guide
Co-authored-by: Eric Allam <eric@trigger.dev>
2026-02-15 00:05:32 +00:00