Commit Graph

3098 Commits

Author SHA1 Message Date
nicktrn b017af4e6d checkpoint readiness and cancel signals 2024-03-22 08:41:31 +00:00
nicktrn cbc84e2011 measure basic checkpoint perf 2024-03-21 18:36:12 +00:00
nicktrn e2b10f42a0 improve wait accuracy 2024-03-21 16:10:22 +00:00
nicktrn 9fc62f7f10 switch to run id for container names 2024-03-21 14:56:23 +00:00
nicktrn 5180aacd4a atomic post-completion checkpoints 2024-03-21 14:14:46 +00:00
nicktrn 001bd97b63 remove init container from create 2024-03-21 11:21:37 +00:00
nicktrn 5017a8a808 don't restart restored containers 2024-03-21 11:20:34 +00:00
nicktrn d5b1bcac58 add missing restore label 2024-03-21 10:34:10 +00:00
nicktrn 0f6ea0b262 replace dapi with taskinfo 2024-03-21 10:07:12 +00:00
nicktrn e0507a9598 pass in coordinator host via volume 2024-03-20 21:56:44 +00:00
nicktrn 27ad6574c3 disable post start lifecycle hook 2024-03-20 19:18:46 +00:00
nicktrn a4209dac25 Merge branch 'main' into v3/infra-updates 2024-03-20 17:30:44 +00:00
nicktrn b091347614 append shortcode to restore names 2024-03-20 15:15:51 +00:00
nicktrn f21c94c0ce update restore pull secret name 2024-03-20 15:13:03 +00:00
nicktrn 18bd7f4623 exit process after checkpointing 2024-03-20 14:38:21 +00:00
Eric Allam 737ff9928c When cancelling a run in the UI make sure the task run status is cancelled not interrupted 2024-03-20 13:22:50 +00:00
nicktrn 961fb3219e Merge branch 'main' into v3/infra-updates 2024-03-20 13:20:51 +00:00
nicktrn 8fda3d7b36 structured logs for socket connections 2024-03-20 13:17:41 +00:00
Eric Allam fc4b95d69e A bunch of deployment fixes (#960)
- Time out deployments to prevent never-ending building/deploying
- Use the CURRENT worker deployment when determining which version to execute
- Fix some of the deployment error handling logic
2024-03-20 13:15:48 +00:00
James Ritchie 6c546936f3 Improved v3 feedback button (#959)
* Removed feedback button from PageHeader

* Show a different feedback button in the side menu for v3 projects

* Fixed issue with button wrapping on smaller width browser
2024-03-20 12:16:20 +00:00
nicktrn c734db3951 log options on error 2024-03-20 10:05:03 +00:00
nicktrn 8ca21c1dd4 delete checkpoint archive after successful push 2024-03-20 10:00:15 +00:00
nicktrn fdcb06a173 ensure valid registry login 2024-03-20 09:54:54 +00:00
nicktrn 6c0f8436ce update coordinator image 2024-03-19 22:24:32 +00:00
James Ritchie 08e4fc002f V3 UI improvements (#958)
* Adding a v3 feedback button top-right

* Changed paused to frozen for attempts

* Reordered and renamed run statuses

* Dropdown status menu shows tool tips on hover

* Added a new DP feedback button in the header

* Created a more useful feedback sheet

* Added loading bar animation to storybook

* Switch the integration page to point at the “feature” help instead of “integration” which has been removed

---------

Co-authored-by: Matt Aitken <matt@mattaitken.com>
2024-03-19 20:36:04 +00:00
nicktrn a320f17bc4 Merge branch 'main' into v3/infra-updates 2024-03-19 19:22:27 +00:00
nicktrn 5ff738a18c checkpointing fixes 2024-03-19 19:21:12 +00:00
nicktrn d39aca8820 add missing run id on create 2024-03-19 15:45:42 +00:00
Matt Aitken 2e56af9742 Tasks page live-reloads with new tasks (#957)
* DevPubSub: use the schema that’s already been defined

* Publish a message to projectPubSub when a new DEV worker is created

* Live reloading of the tasks table (for dev tasks)

* Live notifications for deployed workers as well as local workers
2024-03-19 15:42:57 +00:00
Eric Allam dc5eb68a0b Fix typecheck errors because of resolveJsonModule 2024-03-19 15:33:09 +00:00
nicktrn 8f3bbc4c64 remove resource limits for now 2024-03-19 15:28:27 +00:00
nicktrn 561efe7bff rename type assertion 2024-03-19 15:14:41 +00:00
Eric Allam 41e1ac9e0b v3: nanosecond precision task events and immediate mode for dev events (#956)
* Store startTime in nanoseconds since epoch, ensure logs using nanosecond precision for their timestamp (so they are not out of order)

* export task events immediately in dev
2024-03-19 15:06:47 +00:00
nicktrn b862724e6a fix error type assertion 2024-03-19 15:02:22 +00:00
nicktrn dc11de0714 shorten index container names 2024-03-19 13:54:44 +00:00
nicktrn ed7342bf49 rethrow k8s errors after logging 2024-03-19 13:49:42 +00:00
Matt Aitken c5aaabdb4e The run timeline updates on the client if there's no new data (#955)
* Use “@v3” instead of “@latest” for the npx commands for v3

* Split the Timeline into a component so it can live refresh without re-rendering everything

* Timeline now live refreshes on the client every 500ms when run is executing

* The timeline bars now animate their position/width when it changes

* Export some more types from TreeView
2024-03-19 12:13:48 +00:00
Eric Allam 86c24afb44 Support json traces and logs in the otel endpoints (#954) 2024-03-19 10:59:50 +00:00
nicktrn d1da2b5b2b Merge branch 'main' into v3/infra-updates 2024-03-19 09:20:54 +00:00
nicktrn b585d1f2c5 v3: checkpoint restore events (#951)
* add checkpoint restore events

* fix retries.enabledInDev

---------

Co-authored-by: Eric Allam <eric@trigger.dev>
2024-03-19 09:02:56 +00:00
Eric Allam ba0ffacb15 Set the OTEL_EXPORTER_OTLP_ENDPOINT env var on dev workers 2024-03-18 20:16:25 +00:00
nicktrn 9945980ab0 update kubernetes provider and fix builds again 2024-03-18 18:45:00 +00:00
Matt Aitken 9304c447be Test, output and canceling improvements (#952)
* The vertical lines in the run tree view are now brighter

* Blank state when you click a task with no runs

* Canceling from the runs table

* Fix for styles coming through incorrectly to properties

* Fix for the OTEL output column having a $output prefix if it’s an object
2024-03-18 17:27:52 +00:00
Eric Allam ebec14093d Add healthcheck endpoint outside of remix if remix routes are disabled 2024-03-18 17:19:56 +00:00
nicktrn ce9c5d22fe fix provider build and dev 2024-03-18 16:01:18 +00:00
Eric Allam 67cac97b26 Add DEPLOY_REGISTRY_HOST to allow configuring the deploy registry via the server 2024-03-18 15:56:28 +00:00
nicktrn 0871efe103 fix tsconfig paths 2024-03-18 15:34:25 +00:00
Eric Allam 479d355b7b Setting DASHBOARD_AND_API_DISABLED=true will now disable the remix routes 2024-03-18 14:59:21 +00:00
nicktrn 593b66bfed add checkpoint restore events 2024-03-18 14:57:09 +00:00
Matt Aitken cae3298564 Cancel run confirmation modal (#949)
* Tasks get the SHOW_ACTIONS property

* Override properties with the passed in ones in eventRepository

* Link from deployments to environment variables page, no need to link to docs

* “Show parent items” keeps the selected item selected

* LinkButton can accept onMouseDown, onMouseEnter and onMouseLeave

* “Show parent items” keeps any items focused and has a keyboard shortcut

* Action bar with focus button

* Canceling is working

* Nicer layout and button loading and disabled state

* US english spelling “Cancelling” -> “Canceling”

* Added a confirm modal to canceling

* Copy tweaks

* Fix for bad import

---------

Co-authored-by: Eric Allam <eric@trigger.dev>
2024-03-18 12:22:06 +00:00