Commit Graph

6310 Commits

Author SHA1 Message Date
Eric Allam 934dbc4409 WIP claude code SDK test project 2025-06-26 14:57:52 +01:00
Eric Allam c1d71c1df4 Increase otel attribute limits and make them configurable 2025-06-26 14:57:52 +01:00
Eric Allam 260fa7f3ee remove change from process-keep-alive 2025-06-26 14:57:52 +01:00
Eric Allam 802b8a2c68 address some nick comments in the review 2025-06-26 13:54:35 +01:00
Eric Allam 7c70800811 increase run engine test timeouts 2025-06-25 16:08:41 +01:00
Eric Allam 352b0463f2 Fix timeline span events tests 2025-06-25 15:55:48 +01:00
Eric Allam dac8c8ee25 Fix broken webapp test 2025-06-25 15:55:40 +01:00
Eric Allam 847109f65d Fix taskSlug extraction 2025-06-24 15:09:10 +01:00
Eric Allam 91d3edc7a3 Remvoe the sometimes incorrect import file name 2025-06-24 15:09:10 +01:00
Eric Allam 4d0557c98e Don't reset task lifecycle hooks between executions 2025-06-24 15:09:10 +01:00
Eric Allam ab976828ef Better handle snapshot changes with the new persistent task run process,
Also don’t re-import the task file if the task is already in the resourceCatalog
2025-06-24 15:09:10 +01:00
Eric Allam 4d01ecbdb2 Always set the cold/warm variant on attempt spans, even in dev 2025-06-24 15:09:10 +01:00
Eric Allam b1d487b98b Only bootstrap on the cold start execution, and record how many executions in the attempt span 2025-06-24 15:09:10 +01:00
Eric Allam cb3453341a Don't delete env vars with falsy values 2025-06-24 15:09:10 +01:00
Eric Allam 15de3fabe0 Better reset in the prod usage manager 2025-06-24 15:09:10 +01:00
Eric Allam 013ce19212 Ensure the usage interval is cleared when resetting 2025-06-24 15:09:10 +01:00
Eric Allam 9b2edb9b63 Make sure maxExecutionsPerProcess is a positive integer 2025-06-24 15:09:10 +01:00
Eric Allam 25beabec3e Make sure to clear existing metadata flush timer when resetting 2025-06-24 15:09:10 +01:00
Eric Allam eb9ba7275f Properly reset listener arrays by setting length to 0 2025-06-24 15:09:10 +01:00
Eric Allam 8b8d8b3701 TRIGGER -> TRIGGERDOTDEV 2025-06-24 15:09:10 +01:00
Eric Allam 44f96cad8a Handle immediate retries better 2025-06-24 15:09:10 +01:00
Eric Allam 25773cfcd6 TaskRunProcessProvider cleanup is async 2025-06-24 15:09:10 +01:00
Eric Allam 89cc550220 Handle dev process pool shutdown errors 2025-06-24 15:09:10 +01:00
Eric Allam 0185cf3275 Use hostname instead of host 2025-06-24 15:09:10 +01:00
Eric Allam 6c70e1bef7 Add changeset 2025-06-24 15:09:10 +01:00
Eric Allam 5093245d15 couple of tweaks for testing stuff 2025-06-24 15:09:10 +01:00
Eric Allam 8c217b9858 handle env vars that have been removed between executions 2025-06-24 15:09:10 +01:00
Eric Allam fc2b923820 Make refreshing a task run process work correctly 2025-06-24 15:09:10 +01:00
Eric Allam ce558e6132 Reset deployed run worker and also get the warm start stuff to work properly 2025-06-24 15:09:10 +01:00
Eric Allam 3bd478eee2 Super-warm starts in deployed tasks proof 2025-06-24 15:09:10 +01:00
Eric Allam b1cd5e3c9f WIP deployed processKeepAlive 2025-06-24 15:09:10 +01:00
Eric Allam f0bad3fe2d scope the pool by background version, allow configuring pool params in dev/prod 2025-06-24 15:09:10 +01:00
Eric Allam bbeb056718 Fixed metrics, reusing a process counts as a warm start 2025-06-24 15:09:10 +01:00
Eric Allam f3a4000b4a Split resource and span attributes 2025-06-24 15:09:10 +01:00
Eric Allam 145928d703 Reset execution environment between runs 2025-06-24 15:09:10 +01:00
Eric Allam e1b36e7d85 Initial dev process keep alive. moved resource attributes to span attributes because resource attributes are global and immutable 2025-06-24 15:09:10 +01:00
Eric Allam aaf40c3be3 Fix "Duplicate path found during parsing JSON object" clickhouse error (#2193) 2025-06-24 14:34:32 +01:00
James Ritchie 35dedee1eb Update number of allowed tags (#2187) 2025-06-24 10:38:59 +01:00
Eric Allam 485f71c8d4 Improve schedule engine performance (#2191)
* Improve schedule engine performance

* Convert an info log to a debug log
2025-06-23 16:55:18 +01:00
nicktrn ec2175fec8 Some docs tweaks (#2190)
* add v4 tag to playwright extension

* add self-hosting architecture section

* add v4-beta tag warning
2025-06-23 10:25:07 +01:00
Eric Allam fb9abe5289 fix: Incorrect/missing logs on new schedule engine runs (#2185)
* Fix incorrect logs on new schedule engine triggered taskss

Also added the ability to recover schedules in the schedule engine via an Admin API endpoint in the new schedule engine

* Fixed schedule recovery failing test
2025-06-19 15:37:50 +01:00
Eric Allam f2db1b8aa5 Create dedicated alerts worker (#2184)
* Add a new alerts worker that just handle alerts

* fallback to graphile worker when a tx is required
2025-06-19 11:54:49 +01:00
nicktrn 3c93783e8b remove nodetype label requirement (#2182) 2025-06-18 11:34:35 +01:00
nicktrn 55f41a2168 Ensure webapp container does not fetch pnpm at runtime (#2181)
* install pnpm during build

* install pnpm for node user as well
2025-06-18 11:31:36 +01:00
Matt Aitken 4ca6506655 Delay reschedule fix (v3 & v4) (#2180)
* Fix for v3 rescheduling bug…

* v4 rescheduling working
2025-06-17 18:22:15 +01:00
Matt Aitken 9f9e74b0b6 Fix hydration error (#2179)
* Remove unused hook

* The Impersonation button was causing DOM hydration issues
2025-06-17 11:17:17 +01:00
Eric Allam ea6f66bdfc Improved schedule engine (#2174) 2025-06-17 06:48:05 +01:00
Eric Allam a42c9acf44 v4: Improved run locking (#2173) 2025-06-17 06:45:59 +01:00
nicktrn f7f8bc28c5 Docker self-hosting improvements (#2177)
* shallow clone

* fix image tag locking example

* electric should use db url env var

* add htpasswd note

* use local driver with log rotation by default

* make worker urls more easily configurable

* configure dev otel endpoint via .env

* increase min recommended worker specs

* move worker url section
2025-06-16 22:22:02 +01:00
Matt Aitken 5f6fd8e235 Tasks page didn't include Delayed runs (#2176)
* Delayed runs weren’t shown in the Tasks page mini graph

* The Tasks page Queued count didn’t include Delayed runs (since ClickHouse switchover)
2025-06-16 14:14:09 +01:00