Matt Kaye
37482a354b
Feat: Events in the OLAP Repo ( #1707 )
...
* Revert "Revert "Feat: Events in the OLAP Repo (#1633 )" (#1706 )"
This reverts commit bf29269a27 .
* Feat: Events Frontend (#1678 )
* feat: add events tables
* fix: tweak PK
* feat: migration
* feat: gen models
* fix: add external id col + index
* fix: uuid pk
* fix: types
* chore: gen
* feat: add index
* Feat: Write events into OLAP tables (#1634 )
* feat: query for event creation
* feat: olap impl
* feat: wire up the olap event write
* feat: goroutine?
* feat: start wiring up inserts to triggers
* fix: no `RETURNING`
* fix: hack
* fix: inner join
* feat: attempt 2
* fix: return errors
* chore: lint
* fix: diff
* feat: add new partitions
* fix: eof
* fix: write external ids into table
* chore: gen
* fix: wiring
* fix: event deduping
* fix: insert in bulk
* fix: bug
* refactor: return type of trigger
* fix: unnest ids
* fix: unnest tenant ids
* fix: run ids in bulk insert
* feat: two bulk inserts, one tx
* fix: cruft
* fix: bug
* Update pkg/repository/v1/olap.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* fix: rework to avoid n^2 loop
* fix: transaction timeout
* fix: lint
* fix: use error
* fix: rm penultimate version
* fix: rm penultimate test part ii
* Feat: CEL-based filtering of events (#1676 )
* feat: add optional expression to workflow trigger event ref
* feat: proto field for expression
* feat: write and parse the expression
* feat: wire up through put workflow ver request
* feat: query
* fix: naming
* fix: cleanup
* fix: rebase
* Update pkg/repository/v1/trigger.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* fix: skip workflow on cel eval failure
* fix: zero value
* fix: cel evaluator
* fix: usage
* fix: naming + type
* fix: rm event filter from v0 defn
* feat: tests + fix typing
* fix: usage
* fix: construct input
* feat: always write events
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* fix: select existing partitions
* feat: add prio to push event request
* feat: priority from pushed events
* fix: missed a spot
* fix: write events even if they're not tied to any workflows
* fix: revert cel event filtering
* fix: couple more
* fix: simplify
* feat: initial API work
* chore: gen ts
* feat: fe skeleton
* feat: wiring up skeleton data
* feat: hook
* fix: bugs
* fix: lint on gen
* fix: couple more
* feat: wire up counts
* feat: initial events cols + styling
* feat: layout
* feat: styling
* fix: cleanup
* feat: use external ids on the FE
* fix: separate openapi spec for new events route
* fix: required param
* fix: update queries and api
* feat: event detail
* fix: page
* fix: rebase
* tweak: table
* feat: add events page to sidebar
* feat: modify queries to allow fetching by triggering event
* feat: add triggering event id to api
* chore: lint
* feat: wire up events api
* fix: rm log
* fix: gen
* feat: wire up status counts
* fix: rm time series
* fix: rm state
* fix: lint
* fix: eof
* chore: lint
* feat: wire up filters
* fix: lint
* chore: api gen
* feat: add events tables
* fix: tweak PK
* feat: migration
* feat: gen models
* fix: add external id col + index
* fix: uuid pk
* fix: types
* chore: gen
* feat: add index
* Feat: Write events into OLAP tables (#1634 )
* feat: query for event creation
* feat: olap impl
* feat: wire up the olap event write
* feat: goroutine?
* feat: start wiring up inserts to triggers
* fix: no `RETURNING`
* fix: hack
* fix: inner join
* feat: attempt 2
* fix: return errors
* chore: lint
* fix: diff
* feat: add new partitions
* fix: eof
* fix: write external ids into table
* chore: gen
* fix: wiring
* fix: event deduping
* fix: insert in bulk
* fix: bug
* refactor: return type of trigger
* fix: unnest ids
* fix: unnest tenant ids
* fix: run ids in bulk insert
* feat: two bulk inserts, one tx
* fix: cruft
* fix: bug
* Update pkg/repository/v1/olap.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* fix: rework to avoid n^2 loop
* fix: transaction timeout
* fix: lint
* fix: use error
* fix: rm penultimate version
* fix: rm penultimate test part ii
* Feat: CEL-based filtering of events (#1676 )
* feat: add optional expression to workflow trigger event ref
* feat: proto field for expression
* feat: write and parse the expression
* feat: wire up through put workflow ver request
* feat: query
* fix: naming
* fix: cleanup
* fix: rebase
* Update pkg/repository/v1/trigger.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* fix: skip workflow on cel eval failure
* fix: zero value
* fix: cel evaluator
* fix: usage
* fix: naming + type
* fix: rm event filter from v0 defn
* feat: tests + fix typing
* fix: usage
* fix: construct input
* feat: always write events
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* fix: select existing partitions
* feat: add prio to push event request
* feat: priority from pushed events
* fix: missed a spot
* fix: write events even if they're not tied to any workflows
* fix: revert cel event filtering
* fix: couple more
* fix: simplify
* fix: gen api
* fix: gen
* fix: more merge issues
* chore: gen
* fix: lockfile
* fix: merge issues
* chore: gen again
* fix: rm unused fields from openapi spec
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* fix: migration ver
* fix: insert trigger, event types
* fix: bunch o refs
* fix: migration
* fix: queries
* fix: finish wiring up inserts
* fix: misc bugs
* fix: fe filtering
* chore: lint
* fix: formatting, gen
* fix: current_date
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-05-13 14:11:12 -04:00
Matt Kaye
bf29269a27
Revert "Feat: Events in the OLAP Repo ( #1633 )" ( #1706 )
...
This reverts commit d6c491badf .
2025-05-12 17:17:26 -04:00
Matt Kaye
d6c491badf
Feat: Events in the OLAP Repo ( #1633 )
...
* feat: add events tables
* fix: tweak PK
* feat: migration
* feat: gen models
* fix: add external id col + index
* fix: uuid pk
* fix: types
* chore: gen
* feat: add index
* Feat: Write events into OLAP tables (#1634 )
* feat: query for event creation
* feat: olap impl
* feat: wire up the olap event write
* feat: goroutine?
* feat: start wiring up inserts to triggers
* fix: no `RETURNING`
* fix: hack
* fix: inner join
* feat: attempt 2
* fix: return errors
* chore: lint
* fix: diff
* feat: add new partitions
* fix: eof
* fix: write external ids into table
* chore: gen
* fix: wiring
* fix: event deduping
* fix: insert in bulk
* fix: bug
* refactor: return type of trigger
* fix: unnest ids
* fix: unnest tenant ids
* fix: run ids in bulk insert
* feat: two bulk inserts, one tx
* fix: cruft
* fix: bug
* Update pkg/repository/v1/olap.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* fix: rework to avoid n^2 loop
* fix: transaction timeout
* fix: lint
* fix: use error
* fix: rm penultimate version
* fix: rm penultimate test part ii
* Feat: CEL-based filtering of events (#1676 )
* feat: add optional expression to workflow trigger event ref
* feat: proto field for expression
* feat: write and parse the expression
* feat: wire up through put workflow ver request
* feat: query
* fix: naming
* fix: cleanup
* fix: rebase
* Update pkg/repository/v1/trigger.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* fix: skip workflow on cel eval failure
* fix: zero value
* fix: cel evaluator
* fix: usage
* fix: naming + type
* fix: rm event filter from v0 defn
* feat: tests + fix typing
* fix: usage
* fix: construct input
* feat: always write events
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* fix: select existing partitions
* feat: add prio to push event request
* feat: priority from pushed events
* fix: missed a spot
* fix: write events even if they're not tied to any workflows
* fix: revert cel event filtering
* fix: couple more
* fix: simplify
* fix: gen api
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-05-12 16:17:29 -04:00
Gabe Ruttner
00510869d2
Fix: more UI bugs -- focus on run detail view ( #1703 )
...
* wip improved signatures
* gen
* api tokens page
* codeblock
* no bg on button
* alerter empty state
* layout consistency, sidebar fixes
* sidebar tool tips
* layout improvements
* spacing
* not active top level settings
* no analytics opt out oss
* layout consistency
* pagination consistency
* only show chat if enabled
* refresh list
* fundamental responsive fixes
* navbar close on interaction
* update
* lint
* fix browser navigation
* lint
* layout
* clean console
* simplified refetch
* finally bash breadcrumbs hopefully
* lint
* no sync
* build
* invalidate
* add workflow run id to task timing
* fix parent breadcrumb
* add fallback runid
* waterfall fixes
* lint
* revert
* optional workflow run id
* remove unused prop
* lint
* fix build
* fix: dont render trigger unless needed
* variable size sheet
* minor tweaks
* global sidebar
* sheet scrolling
* header consistency
* expose classname
* selection state
* revert layout
* tmp pulse indicator
* fix: minimap
* clear breadcrumbs on exit
* error data might not be json
* interactive dag
* expand row on click
* bug fixes
* add retry counts to task summary
* wip
* feat: retry count and improved logger
* task pre
* update example
* gen
* add retry count to task event
* sheet with attempt state
* wip with attempt payloads
* event log navigation
* wip dag sidebar
* rm debug lines
* fix
* fix 404
* fix: latest default
* optimizations
* fix dag nav
* layout
* lint
* fix
* address reveiw
* use shad button
* add fixme
* review
* lint
* fix panic
2025-05-12 10:49:52 -07:00
Gabe Ruttner
3831fa3ede
feat(ts): improved custom logger ( #1652 )
...
* wip improved signatures
* feat: retry count and improved logger
* task pre
* update example
2025-05-12 09:49:18 -07:00
abelanger5
5c5c1aa5a1
feat: more features in the load testing harness ( #1691 )
...
* fix: make stripped payload size configurable
* feat: more load test features
* Update cmd/hatchet-loadtest/do.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* fix: try to fix load tests
* increase timeout, update goleak ignores
* fix: data race in scheduler with snapshot input
* fix: logger improvements
* add one more goleak ignore
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-05-07 21:39:30 -04:00
Gabe Ruttner
d56da1aa4c
fix: UI bugs ( #1690 )
...
* gen
* api tokens page
* codeblock
* no bg on button
* alerter empty state
* layout consistency, sidebar fixes
* sidebar tool tips
* layout improvements
* spacing
* not active top level settings
* no analytics opt out oss
* layout consistency
* pagination consistency
* only show chat if enabled
* refresh list
* fundamental responsive fixes
* navbar close on interaction
* update
* lint
* fix browser navigation
* lint
* layout
* clean console
* simplified refetch
* finally bash breadcrumbs hopefully
* lint
* no sync
* build
* invalidate
* add workflow run id to task timing
* fix parent breadcrumb
* add fallback runid
* waterfall fixes
* lint
* revert
* optional workflow run id
* remove unused prop
* lint
* fix build
2025-05-07 12:53:32 -07:00
Gabe Ruttner
09f8bd6118
feat--frontend-overhaul ( #1537 )
...
* reintegration
* fix: relative routes
* dynamic routes
* up/downgrade ui
* memoize
* fix breadcrumbs
* cleanup
* titles
* title format
* additional meta
* cli upgrade
* button
* lint
* Update frontend/app/src/next/components/runs/run-id.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* build errors
* unbind on return
* lint
* Fe overhaul run form (#1547 )
* simple trigger
* populated
* feat:trigger modal
* clear
* Update frontend/app/src/next/hooks/use-runs.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Fe overhaul details (#1552 )
* simple trigger
* populated
* feat:trigger modal
* clear
* Update frontend/app/src/next/hooks/use-runs.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* wip activity log
* merged logs
* wip
* wip
* search box
* fudge sort
* wip improved worker sheet
* wip
* chore: improve error on dispatcher (#1538 )
* fix: empty billing context (#1553 )
* fix: empty
* precommit
* hotfix: priority nil pointer (#1555 )
* hotfix: priority on schedule workflow (#1556 )
* hotfix: priority on schedule workflow
* fix: build
* build
* lint
* build
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: abelanger5 <belanger@sas.upenn.edu >
* Fe overhaul burndown 1 (#1563 )
* chore: improve error on dispatcher (#1538 )
* fix: empty billing context (#1553 )
* fix: empty
* precommit
* hotfix: priority nil pointer (#1555 )
* hotfix: priority on schedule workflow (#1556 )
* hotfix: priority on schedule workflow
* fix: build
* Hotfix: Handle EOF Properly (#1557 )
* fix: handle EOF properly
* chore: version
* fix: debug logs
* fix: rm eof type
* hotfix: priority on cron workflow for v0 (#1558 )
* fix: one more possible null deref (#1560 )
* Hatchet Python Blog Post (#1526 )
* feat: initial pass at first parts of blog post
* feat: initial mkdocs setup
* feat: first pass at embedding mkdocs
* fix: config
* debug: paths
* fix: unwind docs hack
* feat: start working on mkdocs theme
* fix: paths
* feat: wrap up post
* fix: proof
* fix: doc links
* fix: rm docs
* fix: lint
* fix: lint
* fix: typos + tweak
* fix: tweaks
* fix: typo
* fix: cleanup
* fix: go signature and docs (#1561 )
* fix: go signature and docs
* Update examples/v1/workflows/concurrency-rr.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* feat: toggle doc sheet
* docs: concurrency cleanup (#1562 )
* feat: storage adapter
* docs--worker-config-options (#1535 )
* docs--worker-config-options
* Update frontend/docs/pages/home/workers.mdx
Co-authored-by: abelanger5 <belanger@sas.upenn.edu >
* Update worker-configuration-options.mdx
* lint
---------
Co-authored-by: abelanger5 <belanger@sas.upenn.edu >
---------
Co-authored-by: abelanger5 <belanger@sas.upenn.edu >
Co-authored-by: Matt Kaye <mrkaye97@gmail.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* fix: bit of spacing
* single generated api
* feat: initial styling pass on runs views (#1586 )
* Feat: Workflows pages (#1577 )
* feat: simple workflows list page
* feat: refactor + add route for individual workflow
* feat: start wiring up workflow detail page
---------
Co-authored-by: Gabe Ruttner <gabriel.ruttner@gmail.com >
* fix: tsc
* fix: compiler
* fe overhaul runs bash (#1599 )
* wip sidebar
* wip: navigation
* fix nits
* tweaks
* clear filter button
* filter on click
* always scroll y
* wip time filters
* state changes
* wip
* wip
* functional, no style
* fix default
* wip
* queue metrics
* multi-select
* padding
* counts
* fix always num
* actions
* fix maxheight
* wip
* spacing
* fix: tenant state
* fix: tenant
* lint
* github page
* tenant alerting
* ingestors
* fix: tenant state
* build errrors
* empty state alerter
* dropdown only on mobile
* billing and limits
* fix form
* fix form
* wip
* wip
* env vars
* wip
* what a component
* wip
* fix inf render
* cleanup
* persistent tabs
* wip
* common actions
* deploy modal
* update
* delete
* you're a wizard harry
* Feat: Subrows in Runs View (#1595 )
* fix: type
* feat: start wiring up subrows
* fix: tsc
* fix: hook order
* fix: hack for tsc
* fix: add some margin
* fix: empty state
* fix: empty state centering
* fix: task detail links
* fix: handle error, tweak child run styling
* fix: lint
* fix: edge case
* all mw config
* wip
* fix breadcrumb hook
* fixes
* upgrade surfaces
---------
Co-authored-by: Matt Kaye <mrkaye97@gmail.com >
* bring back error toast
* toast improvements
* lint
* fix: cloud only surface
* cloud surface
* fix breadcrumbs
* feat: config view on workflow run page (#1607 )
* feat: config
* fix: rm schedule timeout
* Feat: Rework runs sidebar (#1612 )
* feat: rq devtools
* fix: badge hover
* feat: improve sidebar
* refactor: hook
* fix: input undefined
* feat: waterfall diagram and cleanup runs view (#1606 )
* merge
* merge
* fix merge issue
* rm debug lines
* case on count
* fix: display names
* colors and handle on click
---------
Co-authored-by: mrkaye97 <mrkaye97@gmail.com >
* fix: remove a ton of dead code (#1618 )
* fix: remove n+1 query (#1619 )
* Fe overhaul managed compute and onboarding (#1614 )
* fix tab state on state changes
* fix collapsed children
* setup
* layout
* layout
* move feature
* wip
* chore(deps): bump k8s.io/client-go from 0.32.3 to 0.33.0 (#1608 )
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go ) from 0.32.3 to 0.33.0.
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/kubernetes/client-go/compare/v0.32.3...v0.33.0 )
---
updated-dependencies:
- dependency-name: k8s.io/client-go
dependency-version: 0.33.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* wip
* universal install
* initial migration guide
* fakefake tokens
* fake secret
* fixes
* lint
* lint
* lint
* tidy
* chore: expose clean docs on top level
* drop reo
* wip
* static
* functional
* bump go 1.23 -> 1.24
* fix: whitespace lint
* bump golangci-lint version
* wip
* try to set up go before pre commit runs
* lint
* names
* lint
* fix: session store
* wip
* normalized snips
* fix links
* blog: mergent migration (#1611 )
* universal install
* initial migration guide
* fakefake tokens
* fake secret
* fixes
* lint
* lint
* lint
* tidy
* bump go 1.23 -> 1.24
* fix: whitespace lint
* bump golangci-lint version
* try to set up go before pre commit runs
* lint
* names
* lint
* fix: session store
* fix links
---------
Co-authored-by: Alexander Belanger <alexander@hatchet.run >
* reusable state
* fix: rm unimplemented pages for now (#1615 )
* feature dir
* fixes (#1616 )
* with public auth
* completed typescript flow
* go blocks
* wip
* layout
* wip
* feat: read replica support and docs (#1617 )
* feat: read replica support and docs
* fix: load logic
* wip
* wip
* remove provider
* migrate to static
* fix block
* lint
* fix: loadtest
* add task for linting
* cleanup
* fix meta sync
* clean examples with highlights
* get snips into app
* sync
* remove fake highlights
* always gen before build
* ignore generated
* ignore
* ignore generated
* cleanup
* always start the dev server
* examples dependabot
* app examples built off sdk examples
* auto sync on main changes
* sync the quickstarts with updating dependencies
* examples and quickstart dependabots
* only examples
* functional onboarding
* fix worker detail page
* fix detail page
* lint
* init
* tested structure copy
* prepend
* ❓ to >, ‼️ to !!
* normalize
* separate example source
* multi source
* with index
* wip
* clean generation
* migrated
* cleanup
* should build
* sync before build
* fix steps
* inline
* mkdirs
* revert build
* gen docs
* static
* rm
* update examples
* lint
* fix: ts
* fix remove lines on match
* fix: client
* add snips
* dont lint examples
* fix source
* dont test examples
* exclude quickstart
* lint
* dont break examples
* cleanup
* cleanup
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexander Belanger <alexander@hatchet.run >
Co-authored-by: Matt Kaye <mrkaye97@gmail.com >
Co-authored-by: abelanger5 <belanger@sas.upenn.edu >
* Merge main
* lint
* fix
* Update api-server-setup.mdx
* cleanup
* github state
* review and build
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: abelanger5 <belanger@sas.upenn.edu >
Co-authored-by: Matt Kaye <mrkaye97@gmail.com >
Co-authored-by: Alexander Belanger <alexander@hatchet.run >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-05 08:17:29 -07:00
abelanger5
ffbeafc204
revert: add back testing harness ( #1659 )
...
* re-add new testing harness
* add healthcheck port and pick random grpc port to listen on
* feat: parallel load tests and faster tests
* make parallelism = 5
* fix: lint
* add linter to pre
* fix: add back rampup fixes
* reduce matrix on PR, add matrix to pre-release step
* make load tests less likely to block
* make limit strategy group round robin
* uncomment lines
2025-05-01 15:22:30 -04:00
Matt Kaye
799b5d0dcf
Feat: Add cron filters to the API ( #1641 )
...
* feat: add params to api
* feat: wire up API to accept params
* fix: queries, gen python
* chore: python version
* feat: gen ts
* chore: ver
* chore: lint
* [Python]: Feat: Workflow runs API wrapper, slightly improved typing, cruft (#1636 )
* feat: add runs list wrapper around API
* chore: version
* feat: add to standalone
* chore: docs
* fix: clean up workflow registration
* fix: add additional opts to trigger opts
* fix: warning
* fix: defaults
* fix: docs
* docs: fix cron docs
* fix: gen
2025-04-30 16:41:33 -04:00
Gabe Ruttner
ccfc0c8d60
feat: fe overhaul api changes ( #1639 )
...
* api changes
* generate
* pkg
* backmerge main
* revert to main
* revert main
2025-04-30 08:09:34 -07:00
abelanger5
1dcb50c170
hotfix: priority on schedule workflow ( #1556 )
...
* hotfix: priority on schedule workflow
* fix: build
2025-04-15 13:10:40 -04:00
abelanger5
c6abd6b9d2
feat: multiple workflow concurrency keys ( #1511 )
...
* feat: multiple workflow concurrency keys
* [Python]: Allow multiple workflow-level concurrency keys (#1512 )
* chore: generate
* feat: multi concurrency
* chore: version
* feat: example + test
* fix: expand tests
* Feat ts multiple wf concurrency (#1522 )
* feat: multiple concurrency
* release: 1.2.0
* fix: merge
* fix: concurrency defn
* fix: ts multiple concurrency backwards compat (#1531 )
* fix
* gen
* chore: lint
---------
Co-authored-by: mrkaye97 <mrkaye97@gmail.com >
---------
Co-authored-by: Gabe Ruttner <gabriel.ruttner@gmail.com >
* chore: ver
* chore: gen
* chore: versions
* fix: manually rename migration
* fix: patch ver
---------
Co-authored-by: mrkaye97 <mrkaye97@gmail.com >
Co-authored-by: Gabe Ruttner <gabriel.ruttner@gmail.com >
2025-04-14 17:29:17 -04:00
Matt Kaye
80137736af
Feat: Priority ( #1513 )
...
* feat: initial work wiring up priorities
* fix: add default to default prio in the db
* feat: wire priority through api on wf creation
* feat: extend python test
* feat: priority for scheduled workflows
* feat: wire priority through python api
* feat: more wiring priority through the api
* feat: I think it works?
* feat: e2e test for priority
* it works!
* feat: expand tests for default priorities
* feat: e2e scheduling test
* fix: skip broken test for now
* fix: lint
* feat: add priority columns to cron and schedule ref tables
* feat: update inserts to include prio
* feat: wire up more apis
* feat: more wiring
* feat: wire up more rest api fields
* chore: cruft
* fix: more wiring
* fix: lint
* chore: gen + wire up priorities
* fix: retries
* fix: try changing fixture scope
* chore: bump version again
* feat: send priority with action payload
* fix: generate script
* Feat priority ts (#1518 )
* feat: initial work wiring up priorities
* fix: add default to default prio in the db
* feat: wire priority through api on wf creation
* feat: extend python test
* feat: priority for scheduled workflows
* feat: wire priority through python api
* feat: more wiring priority through the api
* feat: I think it works?
* feat: e2e test for priority
* it works!
* feat: expand tests for default priorities
* feat: e2e scheduling test
* chore: minor version for priority
* fix: skip broken test for now
* fix: lint
* feat: add priority columns to cron and schedule ref tables
* feat: update inserts to include prio
* feat: wire up more apis
* feat: more wiring
* feat: wire up more rest api fields
* chore: cruft
* fix: more wiring
* fix: lint
* chore: gen + wire up priorities
* fix: increase timeout
* fix: retries
* fix: try changing fixture scope
* chore: generate
* fix: set schedule priority
* feat: priority
* fix: move priority to wf
* release: 1.2.0
* rm log
* fix: import
* fix: add priority to step
---------
Co-authored-by: mrkaye97 <mrkaye97@gmail.com >
* fix: add dummy runs to priority test to prevent race conditions
* fix: non-breaking field
* fix: gen
* feat: initial pass at docs
* feat: priority in go sdk
* feat: initial work on go example
* fix: doc examples
* fix: proofread
* chore: version
* feat: go sdk
* fix: lint
* fix: declarations and add back RunAsChild
* fix: child workflows
* fix: namespace
* fix: faster child workflows
* fix: sticky
* add back run as child
---------
Co-authored-by: Gabe Ruttner <gabriel.ruttner@gmail.com >
Co-authored-by: Alexander Belanger <alexander@hatchet.run >
2025-04-14 16:22:00 -04:00
abelanger5
6813ab1c75
fix: streaming order improvements, go sdk stability ( #1536 )
...
* fix: streaming order improvements, go sdk stability
* fix: improve replay query
2025-04-11 13:02:47 -04:00
Matt Kaye
7781200123
Hotfix: Pydantic validation of actionId ( #1525 )
...
* fix: pydantic validation of action
* chore: version
2025-04-10 12:25:39 -04:00
Matt Kaye
771b733e10
Feat: Add Parent Task External ID to workflow run details, Fix input type marshalling to null ( #1505 )
...
* feat: add parent task external id to api for workflow run
* feat: wire up parent ids
* feat: custom go type for non-null json
* feat: gen
* feat: send action ids back over the api
* fix: lint
2025-04-07 23:40:13 -04:00
abelanger5
d8bb9e8b68
feat: add HATCHET_CLIENT_SERVER_URL to client config ( #1506 )
2025-04-07 23:39:39 -04:00
abelanger5
d4e489996c
fix: v1 edge cases on concurrency, go SDK, parent outputs ( #1497 )
...
* fix: v1 edge cases on concurrency, go SDK, parent outputs
* fix: overflow on queue metrics
* revert changes to DAG
* fix: remove prefix on error for Result method
* cleanup schema, fix migrations
* fix panic edge case
2025-04-07 08:19:13 -04:00
abelanger5
b6d077f96d
feat: show concurrency queue counts in the UI ( #1495 )
...
* feat: show concurrency queue counts in the UI
* fix: parent concurrency queues
2025-04-04 12:22:14 -04:00
abelanger5
4a58842c74
fix: don't prepend to error ( #1482 )
2025-04-03 11:11:46 -04:00
Gabe Ruttner
339f505612
Docs: run and wait, child run in run and wait, run no wait, bulk ( #1472 )
...
* run and wait
* run no wait
* bulk
* release: 1.1.1
* lint
* lint?
* lint
* lint?
* discord link
* separate examples
* lint
* prettier
* move new examples
* lint
* python...
* fix: python examples
* rm toolchain
---------
Co-authored-by: mrkaye97 <mrkaye97@gmail.com >
2025-04-02 12:20:19 -07:00
Matt Kaye
58d54703b2
Feat: Non-Retryable Exceptions ( #1456 )
...
* feat: add boolean flag to proto
* feat: initial wiring up priorities and non-retryables
* fix: query
* fix: cruft comment
* fix: rm priority changes
* feat: python side
* feat: tests for non-retrying workflows
* feat: expand tests
* chore: generate ts
* feat: add name prop to wf
* feat(go-sdk): non retryable error
* feat: start implementing ts
* cleanup: simplify to raising a specific error
* fix: simplify ts
* feat: ts examples
* feat: ver
* feat: docs
* fix: tests + linters
---------
Co-authored-by: Alexander Belanger <alexander@hatchet.run >
2025-04-01 15:34:43 -04:00
abelanger5
404eb97771
fix(go-sdk): clean up worker create signature ( #1434 )
...
* clean up worker create signature
* put together Go migration guide
* add more go docs
2025-03-27 17:48:49 -07:00
Gabe Ruttner
496db1aa58
Feat: go and ts cleanup ( #1431 )
...
* feat: durable event listener
* feat: improved typing and single task
* add back durable
* conditions example
* on failure
* fix
* cleanup
* fix order
* feat: expose event client
* consistent contexts
* feat: on success consistency
* runs.creat
* release: 1.0.2
* revert
* examples and cleanup
* rm
* fix
* fix: sig
* fixes
* add on fail
* xxx
* types
---------
Co-authored-by: Alexander Belanger <alexander@hatchet.run >
2025-03-27 16:16:23 -07:00
abelanger5
c71ae728ed
feat(go-sdk): v1 durable event listener, task factory, DAG triggers ( #1427 )
...
* feat: durable event listener
* Feat go task wrapper (#1429 )
* feat: improved typing and single task
* add back durable
* conditions example
* on failure
* fix
* cleanup
* fix order
* add durable event
* rewrite durable event wkflow
* fix conditions and move shared listener
* Update pkg/client/durable_listener.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Gabe Ruttner <gabriel.ruttner@gmail.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-03-27 15:21:30 -07:00
Matt Kaye
5062bf1e3e
V1 SDKs and Docs ( #1361 )
...
New SDKs and docs for the v1 release.
2025-03-25 15:45:07 -07:00
abelanger5
c54bf9266c
feat(v1): tenant limits ( #1388 )
...
* feat(v1): tenant limits
* fix: migration
* fix: kill metered cache
2025-03-23 19:03:55 -07:00
abelanger5
00c4bbff09
feat(v1): new gRPC API endpoints ( #1367 )
...
* wip: api contracts
* feat: implement put workflow version endpoint
* add support for match existing data, get scaffolding in place for additional triggers
* create additional matches
* feat: durable sleep, user event matching
* update protos
* fix: working poc of user events, durable sleep
* add migration
* fix: migration column
* feat: durable event listener
* fix: skip overrides
* fix: input -> output
2025-03-23 18:58:20 -07:00
abelanger5
1f2096313d
feat: v1 engine ( #1318 )
2025-03-11 14:57:13 -04:00
Gabe Ruttner
46c4b367b1
fix: propagate retry ( #1258 )
2025-02-10 10:40:24 -08:00
Gabe Ruttner
5cda236e5d
fix: addl meta unmarshal deep obj ( #1245 )
...
* fix: addl meta unmarshal
* fix: ci
* fix: ci
* fix: ci
2025-02-04 10:59:36 -08:00
Gabe Ruttner
0e91542d87
wip: backoff state ( #1225 )
...
* wip: backoff state
* fix: retry state and step run start condition
* fix: missing key
* fix: gen
* chore: squash migration
* chore: rm todos
* ops: upgrade proto
2025-01-28 19:16:12 +00:00
Gabe Ruttner
13024c09bd
Feat canceled state ( #1228 )
...
* feat: add cancel state to event list
* ops: db conns
* feat: add cancelled status to wfr
* feat: mark cancelled workflow runs
2025-01-28 10:31:04 -08:00
abelanger5
769fed7d97
feat(go-sdk): adds preset labels on workers for autoscaling ( #1195 )
...
* feat(go-sdk): adds preset labels on workers for autoscaling
* fix: env var consistency
---------
Co-authored-by: gabriel ruttner <gabriel.ruttner@gmail.com >
2025-01-28 14:58:41 +00:00
Matt Kaye
0f1cbd98ca
Fix: Change which exceptions retry ( #1194 )
...
* fix: change retryable exceptions
* fix: add back resource exhausted
2025-01-22 14:54:32 -05:00
Sean Reilly
9e961ac196
Feature add version info ( #1154 )
...
* adding a /version endpoint for the engine and a /api/v1/version endpoint for the API
* make the security optional so we don't get redirected for having auth
* lint
* upgrade protoc to the latest available version on brew
* use useQuery and clean up html
2025-01-06 10:50:04 -08:00
abelanger5
a237f90450
fix: circuit breaker for dispatcher reassignment ( #1144 )
2024-12-20 16:00:23 -05:00
abelanger5
e12e700980
feat: CANCEL_NEWEST strategy and make cancel in progress more reliable ( #1127 )
2024-12-18 01:40:14 +00:00
Sean Reilly
cbc2526c0b
add a monitoring probe ( #1108 )
...
* add a monitoring probe
---------
Co-authored-by: Sean Reilly <sean@hatchet.run >
2024-12-17 15:55:50 -05:00
abelanger5
94d14336aa
feat(go-sdk): blocking worker ( #1106 )
2024-12-12 20:42:13 -05:00
abelanger5
6a0d8c762d
feat: shared meta ( #1102 )
2024-12-12 20:42:01 -05:00
abelanger5
3d616c42b1
feat(go-sdk): expose user data ( #1107 )
2024-12-12 20:41:37 -05:00
Sean Reilly
279f68c3a4
add pagination for workflows ( #1109 )
...
* add some more detail to the list worklflow API endpoint and add pagination and a search function to the frontend that searches the workflow names
* switch
* remove the column filter stuff
* cleanup
* lint and clean up query
* fix linter warning
---------
Co-authored-by: Sean Reilly <sean@hatchet.run >
2024-12-12 19:33:43 +00:00
abelanger5
b0c6c7cd46
feat(go-sdk): cron and schedules API, minor fixes ( #1083 )
...
* feat(go-sdk): cron and schedules API, minor fixes
* try to improve code block and docs
* revert pre-commit
* fix: generate
* fix: put overflow in right place
* remove branch specs
2024-12-04 21:18:05 +00:00
abelanger5
f821379997
fix: remove deprecated swagger-cli ( #1080 )
...
* fix: remove deprecated swagger-cli
* fix: use node:18-alpine
2024-12-03 16:01:46 +00:00
Gabe Ruttner
23201665a6
Feat: dynamic crons fixes ( #1073 )
2024-11-26 10:47:30 -05:00
Gabe Ruttner
574eb0b67e
feat: dynamic crons ( #1000 )
...
* wip: stub schedule page
* wip: stub list
* fix: 2025 bug...
* feat: wip cron list
* feat: addl meta
* feat: expose metadata column
* feat: sort and created at
* cron to recurring
* scheduled: with statuses
* fix: links
* feat: expose schedule ids
* feat: delete run
* fix: remove search
* feat: filterable scheduled
* fix: remove broken features
* chore: lint
* rm metadata for now
* chore: lint
* chore: recurring to cron job
* fix: review comments
* fix: populator
* wip cron changes
* fix: ids are helpful
* fix: populator
* wip
* wip: create crons, stub scheduled
* wip: create schedule
* wip add trigger buttons to all the pages
* wip: reusable trigger form
* fix: hash
* fixes: cron bugs
* fixes: cron sort
* fix: out of order migrations
* fix: add internalRetryCount
* feat: api things survive version transitions
* feat: table things
* feat: delete disabled for non api
* feat: prevent delete non api
* feat: filters
* require cron name for api
* default name
* fix: migrations
* frontend improvements and migrations
* fix: pagination
---------
Co-authored-by: Alexander Belanger <alexander@hatchet.run >
2024-11-21 16:18:24 -05:00
Sean Reilly
31e425a858
lets make retry configurable and do not retry for unavailable because the retry is slower than regular heartbeat ( #1046 )
...
Co-authored-by: Sean Reilly <sean@hatchet.run >
2024-11-21 13:39:31 -05:00
abelanger5
197bdd1f88
feat: exponential backoff ( #1062 )
...
* initial migration
* feat: exp backoff, fix linting
* fix utc issue and cleanup
2024-11-21 13:39:02 -05:00