Commit Graph

1548 Commits

Author SHA1 Message Date
nicktrn 2c8bcc2579 less logs 2025-05-06 21:51:25 +01:00
nicktrn 6b16df09ef fix deprecation checks, move into snapshot manager 2025-05-06 19:59:24 +01:00
nicktrn 7c1a816981 fix restore detection 2025-05-06 17:41:23 +01:00
nicktrn e26dcb2079 run and snapshot id can be overridden 2025-05-06 16:39:23 +01:00
nicktrn 59d9784a1b detect restore after failed snapshot fetch
🚀 Publish Trigger.dev Docker / units (push) Failing after 0s
🚀 Publish Trigger.dev Docker / typecheck (push) Failing after 4s
🚀 Publish Trigger.dev Docker / publish-webapp (push) Has been skipped
🚀 Publish Trigger.dev Docker / publish-worker (push) Has been skipped
🚀 Publish Trigger.dev Docker / publish-worker-v4 (push) Has been skipped
2025-05-06 15:19:26 +01:00
nicktrn b09178adb8 properly log http server errors 2025-05-06 15:10:01 +01:00
nicktrn 16b344d67c update supervisor and schema 2025-05-06 14:44:46 +01:00
nicktrn 52a57a449e improve deprecated execution detection 2025-05-06 14:13:43 +01:00
nicktrn a7e4ddd409 prep for snapshots since 2025-05-06 13:50:14 +01:00
nicktrn b4c61af903 add snapshots since methods and route 2025-05-06 10:08:12 +01:00
nicktrn cc0feb0e73 Merge remote-tracking branch 'origin/main' into fix/resolve-waitpoints 2025-05-06 09:01:56 +01:00
github-actions[bot] 7b509849e9 chore: Update version for release (v4-beta) (#1996)
* chore: Update version for release (v4-beta)

* Release 4.0.0-v4-beta.12

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Eric Allam <eallam@icloud.com>
2025-05-03 21:26:12 +01:00
Eric Allam 13f750a18b v4: implement onCancel callbacks (#2022)
* v4: implement onCancel callbacks

* chat example

* Add changeset

* A few improvements
2025-05-03 20:50:11 +01:00
nicktrn 344e2e5a44 better debug logs 2025-05-02 14:59:16 +01:00
nicktrn 213a983202 misc fixes 2025-05-02 12:55:45 +01:00
Matt Aitken 423209661b Give helpful hint if you pass a bad directory when deploying (#2013) 2025-05-02 10:54:26 +01:00
nicktrn 246c1a91e8 Revert "avoid mutation during iteration when resolving pending waitpoints"
This reverts commit 87b0ce1e5b.
2025-05-02 10:47:31 +01:00
nicktrn 467f9de097 always print full deploy logs in CI 2025-05-02 10:30:54 +01:00
nicktrn da24a79154 log when poller is still executing when we stop it 2025-05-01 20:14:44 +01:00
nicktrn 8fd09e39b2 check for env overrides in a few more places and add verbose logs 2025-05-01 17:30:28 +01:00
nicktrn 7a37a26474 detach task run process handlers 2025-05-01 15:51:07 +01:00
nicktrn ffa2a733b8 always update poller snapshot id for accurate logs 2025-05-01 15:50:49 +01:00
nicktrn 2622b0dd5a improve debug logs and make them less noisy 2025-05-01 15:50:02 +01:00
nicktrn 87b0ce1e5b avoid mutation during iteration when resolving pending waitpoints 2025-05-01 15:31:52 +01:00
nicktrn 9292667a96 Merge remote-tracking branch 'origin/main' into fix/resolve-waitpoints 2025-05-01 11:10:13 +01:00
nicktrn 0df7af4403 Add idle dequeue interval to supervisor (#2007)
* supervisor uses new idle interval after empty dequeues and errors

* make supervisor heartbeat interval configurable
2025-05-01 10:53:19 +01:00
nicktrn 54db582e5c improve QUEUED_EXECUTING test 2025-05-01 09:17:56 +01:00
nicktrn c0807ad0d0 Display terminal links in cursor (#1998)
* add terminal link as cli module so we can more easily patch it

* apply cursor patch

* add license info

* remove terminal-link package and add deprecation notice

* remove old patch

* remove terminal-link from sdk

* changeset
2025-05-01 08:53:11 +01:00
nicktrn ddb40ae266 fix cli builds 2025-05-01 01:02:03 +01:00
nicktrn 8df5122f8e Merge branch 'fix/terminal-links' into fix/resolve-waitpoints 2025-05-01 00:49:55 +01:00
nicktrn 140e2d7974 add snapshot manager tests 2025-05-01 00:49:29 +01:00
nicktrn c3dbb8a249 add run logger base type 2025-04-30 21:44:25 +01:00
nicktrn f62047b84b add cli test tsconfig 2025-04-30 21:43:07 +01:00
nicktrn ccd9e5b4ba rename snapshot module 2025-04-30 18:25:19 +01:00
nicktrn 641ca671fd remove terminal-link from sdk 2025-04-30 17:58:38 +01:00
nicktrn 8bc2e339bc remove terminal-link package and add deprecation notice 2025-04-30 17:56:00 +01:00
nicktrn c3333aba9d add license info 2025-04-30 17:52:26 +01:00
nicktrn a053114037 apply cursor patch 2025-04-30 17:43:23 +01:00
nicktrn 479c30429d add terminal link as cli module so we can more easily patch it 2025-04-30 17:41:58 +01:00
nicktrn 63b3bc0bd4 Merge remote-tracking branch 'origin/main' into fix/resolve-waitpoints 2025-04-30 16:54:12 +01:00
nicktrn 3d978d337a require suspendable state for checkpoints, fix snapshot processing queue 2025-04-30 16:54:02 +01:00
nicktrn bb9ac5026a runtime suspendable state and improved logs 2025-04-30 14:55:14 +01:00
nicktrn 5f522927ab managed run logger accepts nested props 2025-04-30 13:52:21 +01:00
Matt Aitken 7fe111abe9 AI dashboard widget + CLI AI generate fix suggestions (#1925)
* Made a better AI icon and improved how it looks on the create new schedules inspector

* WIP adding kapa ai to the app

* WIP adding a new Ask AI button to the side menu

* WIP using the react example from the docs

* Align the AI button in the bottom bar

* Kapa widget now works

* Trigger the Kapa modal from the custom button

* Fix imports

* Adds Ask AI shortcut to Shortcuts panel

* Adds a new enter shortcut key

* Adds a prop so you can optionally hide the shortcut key

* Latest

* Moved the Kapa/Help stuff into a component, out of root

* WIP using onModalClose

* Creates a wrapper provider to block shortcuts while kapa modal is open (has bugs)

* Fixes button alignment

* Hide the shortcut key at the button layer

* Fix for enable/disable shortcut keys globally

* Kapa is working

* You can bring up the shortcut keys without opening the help panel

* TODO remove listeners

* remove imports and fix invalid tailwind class

* style kapa widget as best i can

* Remove Kapa event listeners

* Allow passing in a query

* Open the AI widget if there’s a URL param

* Much cleaner implementation for Kapa

* Trying to auto-open the Kapa widget when the page loads

* Delay opening the widget because it was causing issues

* Improved Kapa widget colors

* Added an AI help link to the CLI

* We don’t need this anymore

* Exit with 1, indicating an error. This is important for CI

* Removed old auto-opening code

* Added some code comments to explain some of the annoying stuff

---------

Co-authored-by: James Ritchie <james@trigger.dev>
2025-04-30 11:11:42 +01:00
nicktrn 9e2729c91d runtime manager debug logs 2025-04-29 21:39:18 +01:00
nicktrn d6dfc661d4 Merge remote-tracking branch 'origin/main' into fix/resolve-waitpoints 2025-04-29 21:07:29 +01:00
github-actions[bot] 525285da7f chore: Update version for release (v4-beta) (#1994)
* chore: Update version for release (v4-beta)

* Release 4.0.0-v4-beta.11

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Aitken <matt@mattaitken.com>
2025-04-29 16:48:57 +01:00
nicktrn 3592db2566 remove more unused ipc schemas 2025-04-29 16:47:01 +01:00
nicktrn f190420855 add fixme comments 2025-04-29 15:16:52 +01:00
nicktrn 38273ae5c8 branded type for resolver ids 2025-04-29 15:15:08 +01:00