nicktrn
d2cf1cc925
Merge branch 'main' into worker-upgrade
2023-12-08 15:02:37 +00:00
nicktrn
9cb70df0a0
Backward compatible webhook delivery
2023-12-08 15:01:34 +00:00
github-actions[bot]
d42ba80108
chore: Update version for release ( #785 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-12-08 10:19:57 +00:00
Eric Allam
6a3c563f14
Fixed Job.attachToClient
2023-12-08 10:15:06 +00:00
nicktrn
4cb87c5cff
Only include single event metadata when unbatched
2023-12-07 13:14:22 +00:00
github-actions[bot]
750c1ff1e3
chore: Update version for release ( #783 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-12-07 12:59:53 +00:00
nicktrn
2afa19995e
Merge branch 'main' into worker-upgrade
2023-12-07 09:57:23 +00:00
nicktrn
61cfe97af6
Move testing package paths to compilerOptions
2023-12-07 09:46:46 +00:00
nicktrn
61b7a7aa83
Fix testing package
2023-12-07 08:18:48 +00:00
nicktrn
9ea24f8815
Context on job run
2023-12-07 08:17:54 +00:00
Eric Allam
11f8ff1bb4
Fixing endless retrying of non-successful run executions
🚀 Publish Trigger.dev Docker / typecheck (push) Failing after 0s
🚀 Publish Trigger.dev Docker / units (push) Failing after 0s
🚀 Publish Trigger.dev Docker / e2e (push) Failing after 0s
🚀 Publish Trigger.dev Docker / publish (push) Has been skipped
2023-12-06 21:01:41 +00:00
github-actions[bot]
9fb8dceef4
chore: Update version for release ( #781 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-12-06 20:05:29 +00:00
github-actions[bot]
08e6cad28a
chore: Update version for release ( #779 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-12-06 15:42:36 +00:00
Eric Allam
f3efcc0c28
Moved Logger to core-backend, no longer importing node:buffer in core/react ( #778 )
2023-12-06 15:37:50 +00:00
nicktrn
93d32d1384
Fix merge
2023-12-06 13:02:19 +00:00
nicktrn
1d677e1287
Merge branch 'main' into worker-upgrade
2023-12-06 12:49:54 +00:00
nicktrn
dca8f404df
Batching docs
2023-12-06 12:44:35 +00:00
github-actions[bot]
33d555d00e
chore: Update version for release ( #776 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-12-06 11:28:06 +00:00
Eric Allam
17f6f29d05
Feature: Support multiple runtimes other than Node.js ( #774 )
🚀 Publish Trigger.dev Docker / e2e (push) Failing after 0s
🚀 Publish Trigger.dev Docker / units (push) Failing after 5s
🚀 Publish Trigger.dev Docker / typecheck (push) Failing after 5s
🚀 Publish Trigger.dev Docker / publish (push) Has been skipped
2023-12-06 10:23:37 +00:00
nicktrn
6006ba00dd
Batched payload types
2023-12-06 07:48:54 +00:00
nicktrn
cb098143ab
Simplify batch options
2023-12-05 14:07:27 +00:00
nicktrn
6d914b6ef0
Fix webhook delivery
2023-12-05 08:18:46 +00:00
nicktrn
df92240ab2
Merge branch 'main' into worker-upgrade
2023-12-04 14:18:13 +00:00
github-actions[bot]
1567239718
chore: Update version for release ( #771 )
...
* chore: Update version for release
* Release lockfile
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: nicktrn <55853254+nicktrn@users.noreply.github.com >
2023-12-04 14:14:41 +00:00
nicktrn
de652c1dfb
Fix: Shopify tasks and KV get() return types ( #770 )
...
* Improve KV get types
* Fix shopify find and all task return types
* Add changeset
2023-12-04 12:37:55 +00:00
nicktrn
9971267af2
Start fixing batched webhook delivery
2023-12-04 11:11:24 +00:00
nicktrn
ccb620807c
Webhook delivery batching and some fixes
2023-11-30 23:35:09 +00:00
nicktrn
531b9e7e99
Improve KV get types
2023-11-30 22:54:12 +00:00
github-actions[bot]
00b0c3e02e
chore: Update version for release ( #765 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-30 21:54:13 +00:00
github-actions[bot]
419b93809d
chore: Update version for release ( #757 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-29 11:24:58 +00:00
nicktrn
b26bf168ca
Merge branch 'main' into worker-upgrade
2023-11-29 09:37:13 +00:00
nicktrn
5495f9330b
Batch support for Job Runs
2023-11-29 09:31:15 +00:00
Hemachandar
4dc46cbbe4
fix: transform Headers object to Record type ( #760 )
2023-11-28 18:42:50 +00:00
nicktrn
1dcd87a2aa
URI encode keys ( #758 )
2023-11-28 18:05:15 +00:00
Eric Allam
6ebd435e81
Feature: Run execution concurrency limits ( #750 )
...
* WIP execution concurrency controls implemented via Redis
- Split up resuming a run and executing a run
- Added some new statuses to better show what is going on in a run
- Removed preprocessing runs
* WIP
* Convert to using ZSETs and adding env vars
* Removed unused import
* Improve run number generation using advistory locks, and only on start
* More execution concurrency stuff
* Add support for job concurrency limits and concurrency limit groups
* Create wild-swans-battle.md
* Increase slots refresh timeout to 10s
* Try to fix Redis connection issues
* Don’t be so strict about the APP_ENV
* Add the blank tls option to the normal redis client as well
* Add docs
2023-11-28 16:21:06 +00:00
Eric Allam
caf203c084
Made webhook index stats optional
🚀 Publish Trigger.dev Docker / units (push) Failing after 4s
🚀 Publish Trigger.dev Docker / typecheck (push) Failing after 4s
🚀 Publish Trigger.dev Docker / e2e (push) Failing after 19s
🚀 Publish Trigger.dev Docker / publish (push) Has been skipped
2023-11-28 15:04:24 +00:00
github-actions[bot]
a5b49cb61f
chore: Update version for release ( #753 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-28 14:53:06 +00:00
nicktrn
f0d7b63f04
Add batching to event dispatch
2023-11-28 09:42:55 +00:00
nicktrn
f7872a45a9
Expose batch function on even triggers only
2023-11-28 09:32:42 +00:00
nicktrn
4eef340d7d
Add batch opts to event trigger
2023-11-28 09:00:34 +00:00
nicktrn
096151c014
Fix: Shopify subpath imports, enhance docs ( #755 )
...
🚀 Publish Trigger.dev Docker / typecheck (push) Failing after 0s
🚀 Publish Trigger.dev Docker / units (push) Failing after 0s
🚀 Publish Trigger.dev Docker / e2e (push) Failing after 0s
🚀 Publish Trigger.dev Docker / publish (push) Has been skipped
* Fix invalid subpath imports
* Remove @trigger.dev/tsup dep
* Update lockfile
* Small github docs fix
* Pull runtime adaptor import out of integration
* Fix io.store docs examples
* Add sendEvents to task library
* Add KV to task library and small fixes
* Suppress duplicate http endpoint warnings
* Changeset
* Add task returns
2023-11-27 16:03:03 +00:00
Eric Allam
d56b2eded5
Features: new login page ( #754 )
...
* Initial commit and WIP new login page
* added wrapper to fix layout
* Improved the layout and style of the page
* Added a new extra-large button style (and added it to storybook)
* Moved the cusom onboarding style tooltip to the Tooltip component
* Populated the bento grid with items
* Imrpoved the quote styling
* Tooltip doesn’t stay if you mouse over it
* Added more content including a list of quote that cycle on page load
* New quote mark positioning
* Added the rest of the content to the tooltips
* Made the bento grid responsive
* Moved the login page layout to a seaparte component
* Login pages now use the new layout component
* Extra large button style tweak
* Match the large input style with the large button style
* Cleaned up imports and made the Ts & Cs text the same for magic links
* Layout fix
* Quotes don’t push content off the screen as much
* Added openai integration to the grid
* Make the quote fit if the screen height is narrower
* Style update to the magic link sent state
* Icon colour updates
* fixed text centering on mobile
* Icons are more responsive
* removed unnecessary w-fulls
* Added 2 onboarding questions
* Revalidate form on submit, not input
* Typo fixes
* Name field focuses by default
* Added conform to the employees question
* Update pnpm lock file
* Implement referral source and company size on managed cloud
* Fixed some type errors
---------
Co-authored-by: James Ritchie <james@jamesritchie.co.uk >
2023-11-24 14:08:50 +00:00
nicktrn
0ae9adafbf
Fix: Shopify build and webhook indexing ( #752 )
...
* Revert to old tsup config
* Make webhooks index optional
2023-11-24 11:45:33 +00:00
nicktrn
067e19fec9
Feature: New Webhook Triggers, KV Store, and Shopify integration ( #745 )
...
* Attach webhook to http endpoint
* Create internal webhook handler job
* Fix delivery
* Add webhook trigger
* Index webhooks
* Fix webhook connect
* Webhook activation
* Rename to TriggerWebhook
* Save webhooks to index
* Extend register payload
* Revert attachSource
* Add update webhook helper
* Use crud interface for registration
* Remove filter from params
* Destructure options
* Missing ohash dep
* Chainable trigger filter
* Optional request verification
* Handler call with context
* Update config on register success
* Rename to webhookData
* Add basic key-value store
* Improve kv store
* Webhook trigger UI
* Webhook delivery UI
* Some fixes
* Airtable experiments
* Fix tabs transitions
* Only run register if config differs
* Use subtasks for delivery
* Missing dep
* Error handing and fixes
* Namespace cursor
* Fix hmac verification
* Gut Airtable
* Lockfile
* Template optional api key
* Template event sources and icons
* Template remove filter from params
* Fix models template
* Template fixme
* Fix webhook trigger header
* Actually send params for registration..
* Add back oauthed client
* Verify signature header encoding param
* Fix delivery context
* Webhook create retry with prior delete
* Webhook source type fixes
* Webhook config merge
* Update webhook icon
* Verify webhook task options
* Rename handler to generateEvents
* Send event icons
* Shopify with webhooks
* Shopify job-catalog entry
* Lockfile
* Add webhook migration
* Better icons
* Type fixes
* Make param type optional
* Scope type
* More examples
* More schemas
* Trigger catalog
* Bump versions
* Just a few more events they said
* Simplify session and config
* Typed serializer
* Fix payload type
* Remove unused getters
* Reduce logging output
* Rest resource tasks
* Lockfile
* Bump version
* Remaining triggers
* Fix event types
* Fix import
* Link from webhook trigger to http endpoint
* Use rest resource tasks for crud
* Fix rest save type
* Improve KV types
* Improve attach webhook logging
* Make header schema more lenient
* Fix save type again
* Final error callback
* Shorten keys
* Remove ohash diff
* Disable Airtable webhooks
* Webhook environments
* Fix shopify error import
* Link to integration and http endpoint
* Integration catalog entry
* Disable oauth
* Require api key, simplify client secret
* Move trigger types
* Update catalog example
* Small KV endpoint refactor
* Fix custom migration
* Webhook environment migration
* Improve crud types
* Remove unused schema
* Fix crud context type
* KV limits and HTTP verbs
* KV improvements
* Jobless webhook delivery
* Airtable delivery fixes
* Make deliveries sexy again
* Some docs
* Fix payload types.. again
* Final payload pass
* Schema cleanup
* Refactor handler service
* Remove more stale schemas
* registerJobNamespace import
* Expose KV on TriggerClient
* Remove dummy click handler
* Remove unused components
* Fix delivery pagination
* Enable registration rerun button
* Comment out registration route action handler
* Rename KV as not tied to IO anymore
* Swap api with trigger client
* Disabled fields param
* KV docs
* Changeset
* Shopify docs fixes
2023-11-24 10:22:12 +00:00
github-actions[bot]
742d16087b
chore: Update version for release ( #739 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-16 16:31:41 +00:00
Eric Allam
0ab51d62bc
Don’t send notifications for internal runs and add isTest to the notification
🚀 Publish Trigger.dev Docker / publish (push) Has been skipped
🚀 Publish Trigger.dev Docker / e2e (push) Failing after 19s
🚀 Publish Trigger.dev Docker / units (push) Failing after 3s
🚀 Publish Trigger.dev Docker / typecheck (push) Failing after 6s
2023-11-16 14:45:39 +00:00
Eric Allam
756024da78
Add support for Run Notifications #401 ( #738 )
...
* Add support for Run Notifications #401
* Fixed typo and added changeset
2023-11-16 14:19:42 +00:00
Eric Allam
4a7caa68b6
Record when run executions start and finish
🚀 Publish Trigger.dev Docker / typecheck (push) Failing after 0s
🚀 Publish Trigger.dev Docker / units (push) Failing after 0s
🚀 Publish Trigger.dev Docker / e2e (push) Failing after 0s
🚀 Publish Trigger.dev Docker / publish (push) Has been skipped
2023-11-15 15:18:32 +00:00
Eric Allam
14429b8b66
Fix “transaction already closed” error when running tasks ( #735 )
2023-11-14 23:22:34 +00:00
Eric Allam
75550f535c
Fix undefined task outputs
...
🚀 Publish Trigger.dev Docker / typecheck (push) Failing after 5s
🚀 Publish Trigger.dev Docker / e2e (push) Failing after 0s
🚀 Publish Trigger.dev Docker / units (push) Failing after 19s
🚀 Publish Trigger.dev Docker / publish (push) Has been skipped
And also fix the SSE connection getting reset on a infinite loop when runs are complete
2023-11-13 16:18:41 +00:00