Commit Graph

5199 Commits

Author SHA1 Message Date
Matt Aitken 78538bbbad Much nicer chart 2024-07-06 17:00:40 +01:00
Matt Aitken 1c9f7bed08 Prepare to use Shadcns chart helpers 2024-07-06 16:14:28 +01:00
Matt Aitken 208846001b Moved the UpgradePrompt to the v3 folder 2024-07-05 19:43:30 +01:00
Matt Aitken 7a2b250cb2 Show 8 decimal places in the usage graph tooltip 2024-07-05 19:08:16 +01:00
Matt Aitken 73fe07348f Show the total cost with 8 decimal places
🚀 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
build-v3-platform-2
2024-07-05 18:30:28 +01:00
Matt Aitken 3101118aac Fix for the per run price being in cents not dollars 2024-07-05 18:28:36 +01:00
James Ritchie a1fad4c276 Last duration column fills the width properly
🚀 Publish Trigger.dev Docker / typecheck (push) Failing after 20s
🚀 Publish Trigger.dev Docker / units (push) Failing after 19s
🚀 Publish Trigger.dev Docker / publish (push) Has been skipped
🚀 Publish Trigger.dev Docker / publish-infra (push) Has been skipped
build-v3-platform
2024-07-05 14:24:03 +01:00
James Ritchie 36a135d72b duration columns now grouped together nicely at wide screen size 2024-07-05 14:10:09 +01:00
James Ritchie b294f732c8 code theme has a transparent background so it works on any background 2024-07-05 13:46:13 +01:00
James Ritchie 0d3d1e9d51 v2 usage page title changed to include “v2" 2024-07-05 12:54:50 +01:00
Matt Aitken 154eeb66e8 Merge remote-tracking branch 'origin/main' into v3/billing
# Conflicts:
#	apps/webapp/app/services/worker.server.ts
#	apps/webapp/app/v3/services/triggerTask.server.ts
#	docs/v3/introduction.mdx
2024-07-05 12:38:09 +01:00
Matt Aitken 7ac4c2196a Switch to the published @trigger.dev/platform 1.0.11 2024-07-05 12:32:07 +01:00
James Ritchie 302b4667fe table tooltip max-width fixed 2024-07-05 12:24:37 +01:00
James Ritchie 03528b36ee Passing up the variant for the InfoIconTooltip 2024-07-05 12:24:37 +01:00
Matt Aitken 66840a766d Switched @trigger.dev/billing to @trigger.dev/platform 2024-07-05 12:22:21 +01:00
James Ritchie fc9a0ddf12 Removed all references to signing up to v3 from the docs 2024-07-05 11:52:45 +01:00
Matt Aitken e9131f6708 Added a tooltip to the duration header, changed no test to a dash 2024-07-05 11:17:35 +01:00
Matt Aitken 168c704b8c Allow InfoIconTooltips to have customizable content styles 2024-07-05 11:17:20 +01:00
Matt Aitken fc488a54fc Optional table header tooltip 2024-07-05 11:17:07 +01:00
Dan d2d54c9bc4 v3 readme update (#1197)
* v3 readme update

* Added self-hosting link
2024-07-05 10:35:28 +01:00
Dan a440101af4 Updated the codeblock colours (#1195) 2024-07-05 10:34:56 +01:00
Eric Allam 4f95c9de4e v3: Cancel awaited subtasks and reliable rate-limit recovery (#1200)
* v3: cancel subtasks when parent task runs are cancelled

* v3: recover from server rate limiting errors in a more reliable way

- Changing from sliding window to token bucket in the API rate limiter, to help smooth out traffic
- Adding spans to the API Client core & SDK functions
- Added waiting spans when retrying in the API Client
- Retrying in the API Client now respects the x-ratelimit-reset
- Retrying ApiError’s in tasks now respects the x-ratelimit-reset
- Added AbortTaskRunError that when thrown will stop retries
- Added idempotency keys SDK functions and automatically injecting the run ID when inside a task
- Added the ability to configure ApiRequestOptions (retries only for now) globally and on specific calls
- Implement the maxAttempts TaskRunOption (it wasn’t doing anything before)

* Adding some docs about the request options

* Fix type error

* Remove context propagation through graphile jobs

* Remove logger

* only select a subset of task run columns

* limit columns selected in batchTrigger as well

* added idempotency doc

* allow scoped idempotency keys, and fixed an issue with the unique index on BatchTaskRun and TaskRun

* Removed old cancel task run children code
2024-07-05 10:30:52 +01:00
Matt Aitken b811baa4f6 Moved the status to the sidebar 2024-07-05 10:28:04 +01:00
Matt Aitken 13fba7b2fe Include the base cost on the usage stats 2024-07-05 10:19:09 +01:00
Matt Aitken cb9d16a2fa Only admins see the compute column on the run table 2024-07-05 10:18:54 +01:00
Matt Aitken 499e3a4da3 Improved the usage page formatting 2024-07-04 23:15:04 +01:00
Matt Aitken 70e682ccee Tabular numbers 2024-07-04 23:01:29 +01:00
Matt Aitken c2b523a572 Added durations to the run table 2024-07-04 22:58:45 +01:00
Matt Aitken 6a5934f71d Remove console.log on schedules page 2024-07-04 22:01:23 +01:00
Matt Aitken 393c452d66 Added an index for TaskRun.scheduleId 2024-07-04 22:01:16 +01:00
Matt Aitken b1a3dc8b02 Merge remote-tracking branch 'origin/main' into v3/billing
# Conflicts:
#	apps/webapp/app/services/worker.server.ts
#	apps/webapp/app/v3/services/triggerTask.server.ts
2024-07-04 21:53:27 +01:00
Matt Aitken 05c4251d7d Limit alerts 2024-07-04 21:46:13 +01:00
Matt Aitken 0a37a8609e Made the limit visible on the team page 2024-07-04 21:37:12 +01:00
Matt Aitken 675be98dce Team member limiting 2024-07-04 21:34:27 +01:00
Matt Aitken f6037595e1 Use the new schedule limit 2024-07-04 18:44:32 +01:00
Matt Aitken 4beb50e62e More convenient way of getting a limit 2024-07-04 18:41:16 +01:00
Matt Aitken 1f678ff11e Some schedules page fixes 2024-07-04 18:21:11 +01:00
Matt Aitken 64db82671a Use the billing server to get the schedule limits 2024-07-04 18:03:07 +01:00
Matt Aitken adad268c44 Use common logic for the plans 2024-07-04 18:03:07 +01:00
Eric Allam fd27821beb Implement ability to disable org concurrency 2024-07-04 16:20:34 +01:00
James Ritchie 8b061c3743 Improved the edit env var modal 2024-07-04 16:06:27 +01:00
James Ritchie 7fc68609e6 Show a prompt to upgrade to get staging in the new env var modal 2024-07-04 15:47:19 +01:00
James Ritchie 6cf88320e9 Updated staging environment colour 2024-07-04 15:46:48 +01:00
nicktrn b53a575464 Release 3.0.0-beta.46 @trigger.dev/airtable@3.0.0-beta.46 @trigger.dev/astro@3.0.0-beta.46 @trigger.dev/core@3.0.0-beta.46 @trigger.dev/eslint-plugin@3.0.0-beta.46 @trigger.dev/express@3.0.0-beta.46 @trigger.dev/github@3.0.0-beta.46 @trigger.dev/hono@3.0.0-beta.46 @trigger.dev/integration-kit@3.0.0-beta.46 @trigger.dev/linear@3.0.0-beta.46 @trigger.dev/nestjs@3.0.0-beta.46 @trigger.dev/nextjs@3.0.0-beta.46 @trigger.dev/openai@3.0.0-beta.46 @trigger.dev/otlp-importer@3.0.0-beta.46 @trigger.dev/plain@3.0.0-beta.46 @trigger.dev/remix@3.0.0-beta.46 @trigger.dev/replicate@3.0.0-beta.46 @trigger.dev/resend@3.0.0-beta.46 @trigger.dev/sdk@3.0.0-beta.46 @trigger.dev/sendgrid@3.0.0-beta.46 @trigger.dev/shopify@3.0.0-beta.46 @trigger.dev/slack@3.0.0-beta.46 @trigger.dev/supabase@3.0.0-beta.46 @trigger.dev/testing@3.0.0-beta.46 @trigger.dev/typeform@3.0.0-beta.46 @trigger.dev/yalt@3.0.0-beta.46 trigger.dev@3.0.0-beta.46 @trigger.dev/sveltekit@3.0.0-beta.46 @trigger.dev/core-backend@3.0.0-beta.46 @trigger.dev/stripe@3.0.0-beta.46 @trigger.dev/react@3.0.0-beta.46 @trigger.dev/cli@3.0.0-beta.46 2024-07-04 14:09:46 +01:00
github-actions[bot] ad68a3cc05 chore: Update version for release (beta) (#1199)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-07-04 14:07:42 +01:00
nicktrn be58638904 Documentation edits made through Mintlify web editor 2024-07-04 13:34:30 +01:00
James Ritchie 9f1d008fa4 Show a Unlock staging panel on the env var page 2024-07-04 13:23:49 +01:00
nicktrn 8f43aecacc Handle redis errors more gracefully 2024-07-04 11:43:11 +01:00
James Ritchie c66c72f501 Swapped billing icon for credit card 2024-07-04 09:13:02 +01:00
nicktrn 6fd7560d5c Add core timers export 2024-07-03 19:14:06 +01:00