Commit Graph

6197 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
build-snapshots-since-rc.0
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
nicktrn 053389d9b3 Fix testcontainers cleanup (#2023)
* update testcontainers packages

* increase cleanup timeout and add better logs

* small tweaks

* decrease docker network size so we can have more of them

* add a test flow to check this all works

* await all engine.quit calls

* add docker diagnostics

* reduce number of test runs

* improve network attachment output

* add setup logs

* log redis setup errors

* add cleanup log type

* stop redis container if setup fails

* disable ipv6

* tidy things up a bit

* fix unit tests workflow

* decrease container cleanup timeout

* fix types

* fix webapp typecheck
2025-05-06 08:56:34 +01:00
Eric Allam 43a4139424 docs: onCancel (#2024)
* docs: onCancel

* Add availability note
2025-05-03 21:40:03 +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>
@trigger.dev/build@4.0.0-v4-beta.12 @trigger.dev/core@4.0.0-v4-beta.12 @trigger.dev/react-hooks@4.0.0-v4-beta.12 @trigger.dev/redis-worker@4.0.0-v4-beta.12 @trigger.dev/rsc@4.0.0-v4-beta.12 @trigger.dev/sdk@4.0.0-v4-beta.12 trigger.dev@4.0.0-v4-beta.12 @trigger.dev/python@4.0.0-v4-beta.12
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 15816e9955 Fix long retry delays (#2020)
* make testcontainers wait until container has stopped

* require unit tests for publishing again

* add failing test case

* make it pass

* add retry threshold ms env var and use it
2025-05-02 16:57:21 +01:00
nicktrn 344e2e5a44 better debug logs 2025-05-02 14:59:16 +01:00
nicktrn a10e2a8b16 Small fixes in prep for v4 self-hosting (#2018)
* fix entitlement validation when client doesn't exist

* add supervisor to publish workflow

* fix v4 publish workflow name
2025-05-02 14:33:20 +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 ed1a44c76b Revert "disable pre"
This reverts commit 9403409637.
2025-05-02 10:50:59 +01:00
nicktrn 4607b0558f print prerelease script errors 2025-05-02 10:50:23 +01:00
James Ritchie 73f363f9d5 Changes the spinner to white now we have purple primary buttons (#2014) 2025-05-02 10:50:22 +01:00
James Ritchie 4456184f37 Fix task and schedule icons squishing (#2017) 2025-05-02 10:47:57 +01:00
nicktrn 9403409637 disable pre 2025-05-02 10:47:42 +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 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
James Ritchie 2448242be3 Small improvement to the loading animation so it moves left to right only (#2012) 2025-05-01 19:24:03 +01:00
James Ritchie 9c3aeb3efb Adds friendly formatting for max duration values (#2011) 2025-05-01 19:22:56 +01:00
James Ritchie df0bce3a8f Code blocks have an optional text-wrap toggle (#2009)
* Code blocks have an optional text-wrap button

* Wrap “words”, not “all”

* wrapping is default false

* Change the wording in the tooltip
2025-05-01 17:44:17 +01:00
James Ritchie 0fe85eaec4 Highlight queues when concurrency limit reached and new table col (#2008)
* Combines the Running and Concurrency limit cols into 1

* Display a badge when a queue is at the concurrency limit

* Colors the Running/Limit column text amber if the concurrency limit is hit

* Turns the “Running” big number amber and shows “At concurrency limit” text

* BigNumber now handles big values using formatNumber and formatNumberCompact

Also includes some responsive improvements to make sure things wrap when it gets tight

* Adds a new col for showing how the queue is limited

* Reinstates a threshold for making very big numbers compact

* Added border to make the search bar not float
2025-05-01 17:40:54 +01:00
Matt Aitken d2dde0a844 formatDateTimeISO() fix (#2010)
* Fix for the DateTime ISO function

* Fix implementation and added unit tests

* Preserve milliseconds properly
2025-05-01 17:35:55 +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