Commit Graph

6165 Commits

Author SHA1 Message Date
nicktrn c62cf108be add supervisor to publish workflow 2025-05-01 23:08:31 +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 55b835d504 Merge remote-tracking branch 'origin/main' into fix/resolve-waitpoints 2025-05-01 15:53:36 +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
Dan aacec569d0 Added Python MarkItDown docs (#1977)
* Added Python MarkItDown docs

* Simplified the task

* Update example to use fetch and improved sidebar titles

* Fixed link
2025-05-01 14:18:12 +01:00
nicktrn c36e2746b6 require unit tests for publishing again 2025-05-01 13:28:13 +01:00
nicktrn 68ea4c4881 make testcontainers wait until container has stopped 2025-05-01 11:57:41 +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
James Ritchie 553a03580f Show a tooltip when hovering over any DateTime (#2003)
* Adds a tooltip to display the UTC, timezone and local time for DateTime

* Made it safer for SSR

* Makes the copy function into a hook and separate button + adds copy dateTime button to the date tooltip

* Adds an extra-small size copy button

* Show the offset (UTC +1) next to your local time

* Optionally don’t show the date tooltip. Defaults to true (always show)

* Tidy imports

* Refactor the tooltip content to remove duplicated markup

* Coderabbit suggestion to include support for minutes for some timezones like Nepal
2025-05-01 10:00:42 +01:00
Matt Aitken af019473cd Get data for the last day of the month for usage graphs (#1999) 2025-05-01 09:53:06 +01:00
Matt Aitken cb47200d34 Added search to the Queues page (#2000)
* Added search to the queues page

* Fix for empty state copy
2025-05-01 09:33:03 +01:00
James Ritchie 98fd8045e9 Tooltip to explain dev schedules not counting towards your limit (#2004) 2025-05-01 09:32:13 +01:00
James Ritchie 44184a61c7 Updates the secret key text to be more explicit what you have to do to start triggering tasks (#2005) 2025-05-01 09:31:37 +01:00
nicktrn b17a947622 changeset 2025-05-01 09:22:32 +01:00
nicktrn 54db582e5c improve QUEUED_EXECUTING test 2025-05-01 09:17:56 +01:00
nicktrn 0ed24db70d Merge remote-tracking branch 'origin/main' into fix/resolve-waitpoints 2025-05-01 08:55:20 +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 784e151743 remove old patch 2025-04-30 17:57:47 +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
James Ritchie cf9460afee Post new sign up reasons to slack, not plain (#1995)
* Post new sign up reasons to slack, not plain

* Makes the Slack env vars optional

---------

Co-authored-by: Matt Aitken <matt@mattaitken.com>
2025-04-30 14:02:02 +01:00
nicktrn 5f522927ab managed run logger accepts nested props 2025-04-30 13:52:21 +01:00
nicktrn 752770f17e prefix engine run logs 2025-04-30 13:50:25 +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 3cb44a157c restore hello world reference workspace imports 2025-04-29 21:10:18 +01:00
nicktrn b13d8b70c2 fix entitlement validation when client doesn't exist 2025-04-29 21:09:48 +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>
@trigger.dev/python@4.0.0-v4-beta.11 @trigger.dev/build@4.0.0-v4-beta.11 @trigger.dev/core@4.0.0-v4-beta.11 @trigger.dev/react-hooks@4.0.0-v4-beta.11 @trigger.dev/redis-worker@4.0.0-v4-beta.11 @trigger.dev/rsc@4.0.0-v4-beta.11 @trigger.dev/sdk@4.0.0-v4-beta.11 trigger.dev@4.0.0-v4-beta.11
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
nicktrn e72bcc8a1d fix ipc message type change 2025-04-29 12:44:01 +01:00