Eric Allam
3772b5ac78
New Doc: create your own build extension reference ( #1347 )
...
* Build extension guide WIP
* Create your own build extension guide
2024-09-23 17:17:54 +01:00
Eric Allam
d7a65f3e7a
Fix resolving external packages that are ESM only ( #1346 )
...
* Fix resolving external packages that are ESM only by falling back to mlly resolvePathSync. This will fix mupdf
* when publishing a prerelease and aborting, clear the git stage
2024-09-23 16:21:04 +01:00
James Ritchie
5cb59d8a76
Added a note about local development to examples that use build extensions
2024-09-23 16:02:04 +01:00
James Ritchie
2d350b8168
Removed instrumentation-fs docs reference
2024-09-23 15:41:47 +01:00
nicktrn
b027d69365
Update one last action to node 20
2024-09-23 15:34:49 +01:00
nicktrn
c8eae9d37a
Comment out changesets mock
2024-09-23 15:19:02 +01:00
nicktrn
8e6eb4f6d8
GitHub workflow improvements ( #1306 )
...
* lint and action updates
* add custom image tag action
* remove publish infra bloat
* replace cancel action with native concurrency control
* ignore all docs changes for release trigger
* image action updates
* update publish trigger paths
* simplify semver checks
* make it possible to call publish
* add tests for custom action
* rename publish workflows
* call publish after successful package release
* fix inputs and published package parsing
* clarify image tag action errors
* move test action
* add test events
* add changesets action mock
* add docs checks
* add github action test readme
* fix docs check on push
* update action versions in docs
* cache npm for docs check
* pretend to fix bad docs link
* fix docs link
* Revert "fix docs link"
This reverts commit a7508f5d55 .
* Revert "Revert "fix docs link""
This reverts commit ec642af3dc .
* improve caching
* disable automatic publishing after release
* limit docs checks to pushes to main and PRs
* fix broken links
* prevent word splitting and globbing
* use latest checkout action everywhere
* correctly detect prereleases as valid semver
* update to latest cache action
2024-09-23 15:14:34 +01:00
Eric Allam
e81380314c
Add retrieve background worker API endpoint
2024-09-23 14:23:40 +01:00
Harsh Shrikant Bhat
9ce3f790f9
fix: Added dev.vars into dotEnv file ( #1340 )
...
* Added dev.vars into dotEnv file
* Added changes
* Update yellow-knives-attack.md
---------
Co-authored-by: Eric Allam <eallam@icloud.com >
2024-09-21 09:12:48 +01:00
Eric Allam
04645e8329
Release 3.0.6
@trigger.dev/build@3.0.6
@trigger.dev/core@3.0.6
@trigger.dev/sdk@3.0.6
trigger.dev@3.0.6
2024-09-20 16:25:19 +01:00
github-actions[bot]
e47b6cf166
chore: Update version for release ( #1328 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-20 16:24:45 +01:00
James Ritchie
09aaa807a6
Improvements to the Remix guide
2024-09-20 16:19:48 +01:00
Eric Allam
fd9a748553
Fixes #1337 - update docs for triggerdev -> trigger bin name change
🚀 Publish Trigger.dev Docker / typecheck (push) Failing after 0s
🚀 Publish Trigger.dev Docker / units (push) Failing after 0s
🚀 Publish Trigger.dev Docker / publish (push) Has been skipped
🚀 Publish Trigger.dev Docker / publish-infra (push) Has been skipped
v.docker.3.0.6
2024-09-20 16:12:14 +01:00
Thibaut Cuchet
1f5bcc73b5
fix: audiowaveform extension ( #1335 )
...
* fix: audiowaveform extension
* Create lovely-dolphins-chew.md
---------
Co-authored-by: Eric Allam <eallam@icloud.com >
2024-09-20 16:09:47 +01:00
James Ritchie
35c8e35674
Added snippets to the nextjs guide
2024-09-20 15:08:38 +01:00
James Ritchie
9d1398f2d9
Much better Remix guide, including Edge functions
2024-09-20 15:08:37 +01:00
Eric Allam
764f03a3c5
Fixed schema types for the runs.retrieve() SDK function
2024-09-20 13:23:48 +01:00
Matt Aitken
b999c86e23
Fix for missing logs when triggering without a trigger-version ( #1331 )
...
* No longer require “trigger-version” to be passed for the traceContext to be populated
* Remove empty string
2024-09-20 11:14:04 +01:00
Eric Allam
e79f0cc847
Add forgotten changeset for task hierarchy PR
2024-09-20 11:13:20 +01:00
Eric Allam
ba3c5bdf33
Adding missing task run hierarchy to TaskRun table ( #1332 )
...
* Add task run hierarchical relationships to the database
* Add depth and related runs to the retrieve run API response
* Remove prisma optimize
* restructure the migrations to create the index concurrently
* Delete these tsbuildinfo files
* Fix type error by adding depth to the run list presenter
* Cleanup the task hierarchy, share more code
* Remove some fields from the list run response
2024-09-20 11:09:00 +01:00
James Ritchie
6976311e18
Improved the copy to link to aptGet and explain adding deployed packages
2024-09-20 08:57:09 +01:00
James Ritchie
3dd303bd5b
Added build config section to pdf-to-image doc example
2024-09-19 17:29:09 +01:00
James Ritchie
1679a184ad
Docs/pdf to image ( #1330 )
...
* Added pdf-to-image example
* Copy tweak
* Squashed commit of the following:
commit 64862db846
Author: Niels <info@flydev.nl >
Date: Thu Sep 19 16:25:17 2024 +0200
Update dotEnv.ts to ignore OTEL_EXPORTER_OTLP_ENDPOINT as well (#1307 )
* Update dotEnv.ts
* Create four-buttons-run.md
---------
Co-authored-by: Eric Allam <eallam@icloud.com >
commit c65d4822b4
Author: Thibaut Cuchet <thibautcuchet@gmail.com >
Date: Thu Sep 19 16:22:57 2024 +0200
Feat: Extension puppeteer (#1323 )
* feat: add puppeteer extension
* chore: update package and config
* feat: add puppeteer task
* Create little-donkeys-protect.md
---------
Co-authored-by: Eric Allam <eallam@icloud.com >
commit b4be736555
Author: Eric Allam <eallam@icloud.com >
Date: Thu Sep 19 15:21:03 2024 +0100
prismaExtension fixes for #1325 and #1327
* Copy tweak
2024-09-19 17:09:50 +01:00
Niels
64862db846
Update dotEnv.ts to ignore OTEL_EXPORTER_OTLP_ENDPOINT as well ( #1307 )
...
* Update dotEnv.ts
* Create four-buttons-run.md
---------
Co-authored-by: Eric Allam <eallam@icloud.com >
2024-09-19 15:25:17 +01:00
Thibaut Cuchet
c65d4822b4
Feat: Extension puppeteer ( #1323 )
...
* feat: add puppeteer extension
* chore: update package and config
* feat: add puppeteer task
* Create little-donkeys-protect.md
---------
Co-authored-by: Eric Allam <eallam@icloud.com >
2024-09-19 15:22:57 +01:00
Eric Allam
b4be736555
prismaExtension fixes for #1325 and #1327
2024-09-19 15:21:03 +01:00
Eric Allam
4e0bc485a1
Add support for Buffer in payloads and outputs
2024-09-19 13:20:31 +01:00
James Ritchie
b590a318a2
Removed the usage prediction for now ( #1326 )
2024-09-19 11:58:06 +01:00
nicktrn
55dcdc7b52
Add self-hosting image update instructions
2024-09-19 11:57:50 +01:00
nicktrn
6952ec2c87
Prevent crashes on expected checkpoint cancellations ( #1324 )
...
* cancel checkpoint waits when cancelling runs
* only crash in case of readiness timeouts
2024-09-19 11:20:30 +01:00
Eric Allam
b3a6f4e0ac
Release 3.0.5
🚀 Publish Trigger.dev Docker / typecheck (push) Failing after 0s
🚀 Publish Trigger.dev Docker / units (push) Failing after 0s
🚀 Publish Trigger.dev Docker / publish (push) Has been skipped
🚀 Publish Trigger.dev Docker / publish-infra (push) Has been skipped
@trigger.dev/build@3.0.5
@trigger.dev/sdk@3.0.5
trigger.dev@3.0.5
v.docker.3.0.5
@trigger.dev/core@3.0.5
2024-09-18 22:08:45 +01:00
github-actions[bot]
a538fa879f
chore: Update version for release ( #1322 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-18 22:07:50 +01:00
Eric Allam
3b15224453
Fix default machine preset in config not being used ( #1321 )
...
* Add additional error message and stack trace when a task file cannot be imported for run
* Apply default machine preset in config
2024-09-18 22:00:59 +01:00
nicktrn
d8006e15ac
Prevent abort signals from causing uncaught exceptions ( #1320 )
...
* never abort the same controller twice
* prevent uncaught exception when aborting pipe
* abort signal assertions and more logging
* never abort running pipe
2024-09-18 19:18:00 +01:00
nicktrn
f89d93b905
Update self-hosting docs for switch to latest
2024-09-18 18:33:26 +01:00
Eric Allam
2dbf550a70
Release 3.0.4
🚀 Publish Trigger.dev Docker / typecheck (push) Failing after 19s
🚀 Publish Trigger.dev Docker / units (push) Failing after 20s
🚀 Publish Trigger.dev Docker / publish (push) Has been skipped
🚀 Publish Trigger.dev Docker / publish-infra (push) Has been skipped
@trigger.dev/build@3.0.4
@trigger.dev/core@3.0.4
@trigger.dev/sdk@3.0.4
trigger.dev@3.0.4
v.docker.3.0.4
2024-09-18 17:31:03 +01:00
github-actions[bot]
0ac7f4b24b
chore: Update version for release ( #1318 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-18 17:28:59 +01:00
nicktrn
8d1e41693a
v3: self-hosting support for latest packages ( #1319 )
...
* display --profile flag after init if used
* add containerfile debug logs
* log all indexing errors in case of connection issues
* specify dockerfile syntax version
* add network flag for self-hosting
* move all self-hosting tags to latest
* add self-hosting update section
* manual setup subsection
* registry flag implies push
* add changeset
2024-09-18 17:07:47 +01:00
Eric Allam
4adc773c77
Auto-resolve payload/output presigned urls when retrieving a run with runs.retrieve ( #1317 )
2024-09-18 15:20:02 +01:00
Matt Aitken
b5cdb0c855
Better logging when resuming with pause and no checkpoint
2024-09-18 13:55:59 +01:00
Eric Allam
7652d8e131
Release 3.0.3
@trigger.dev/build@3.0.3
@trigger.dev/core@3.0.3
trigger.dev@3.0.3
@trigger.dev/sdk@3.0.3
2024-09-18 11:27:31 +01:00
Matt Aitken
ce89925176
RESUME_AFTER_DEPENDENCY_WITH_ACK: any successful responses = success
...
Also added a backoff if the catch is hit, and log the error out
2024-09-18 11:26:33 +01:00
github-actions[bot]
33c108b739
chore: Update version for release ( #1316 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-18 11:22:16 +01:00
Dan
382ce8daff
Added overview pages for guides and examples, and improved examples ( #1314 )
...
* Added introduction page for guides
* New intro page for examples
* Fixed links
* Updated examples intro to include all of the new ones
* Improved FFmpeg example
* Improved the react pdf example
* Added Supabase overview page
* Updated card-supabase snippet
* Added sharp payload instructions
* Added vercel payload instructions
* Added dall-e payload instructions
* Added openai payload instructions
* Added resend payload instructions
* Made the prompts more consistent
* Minor tweaks and moved bun
* Updated links and added bun logo
---------
Co-authored-by: James Ritchie <james@jamesritchie.co.uk >
2024-09-18 11:08:55 +01:00
Eric Allam
3d53d4c086
Improve the update CLI command and fix missing tsconfig.json error ( #1315 )
...
* Fixes for CLI update command, and make the hide the "whoami" command output when running in dev
* Fix an issue where a missing tsconfig.json file would throw an error on dev/deploy
* Don’t show latest CLI warning when using a prerelease
* Only print CLI update required message when update is embedded
* Strip out TRIGGER\_ keys when using syncEnvVars, to prevent deploy errors
2024-09-18 11:07:09 +01:00
Matt Aitken
56a5b58849
Add acking to RESUME_AFTER_DEPENDENCY message to the coordinator ( #1313 )
...
* Fix for run filtering not working with some special characters (double encoded)
* Add the full dependentTaskAttempt to a ResumeBatchRunService log
* Added RESUME_AFTER_DEPENDENCY_WITH_ACK
* Set the delay to 5s
* If a checkpoint has been created, the coordinator won’t continue the run with RESUME_AFTER_DEPENDENCY_WITH_ACK
* If we’re keeping the run alive then set socket.data.requiresCheckpointResumeWithMessage to undefined
* Log out the data before and after setting socket.data.requiresCheckpointResumeWithMessage
2024-09-18 10:29:55 +01:00
Eric Allam
74c2076262
A couple of docs fixes
2024-09-17 20:27:17 +01:00
Dan
a84e601da8
Added new example tasks (FFmpeg / Sharp / Vercel AI SDK) ( #1312 )
...
* Added FFmpeg / sharp / vercel and updated mint.json
* Amends including s3 -> r2
2024-09-17 14:16:10 +01:00
nicktrn
9a3eab5ac4
v3: docs improvements ( #1302 )
...
* pull out common cli options
* lint commands table
* update dev command link
* add undefined Crypto section
* add self-hosting section to github actions docs
* add cli usage section to self-hosting docs
* add skip telemetry env var to cli option docs
* add api url env var to cli options docs
* lowercase cli commands in sidebar
* add self-hosting beta notice
* update beta to latest tag on electric route
* add deploy command examples section
* fix env file option
* reorder deploy options sections
* cli docs fixes
2024-09-17 11:40:25 +01:00
Eric Allam
616eb55b0d
Release 3.0.2
@trigger.dev/build@3.0.2
@trigger.dev/core@3.0.2
@trigger.dev/sdk@3.0.2
trigger.dev@3.0.2
2024-09-17 10:45:39 +01:00