Mohammed Nafees
2ccd434ebf
Add Prometheus metric for reassigned task total ( #1943 )
...
* add reassigned total metric
* lint fix
2025-07-03 10:52:20 +02:00
Mohammed Nafees
144b8dce9e
make sure to default to QUEUED for new task initial state ( #1931 )
2025-07-02 14:45:09 +02:00
abelanger5
3468709a23
fix: correct config pt 2 ( #1938 )
2025-07-01 16:56:13 -04:00
abelanger5
e18b0e8f58
fix: don't print output data in CEL exception ( #1936 )
...
* fix: don't print output data in CEL exception
* add tzdata to lite and loadtest dockerfiles too
2025-07-01 16:16:19 -04:00
Matt Kaye
c805a52e38
Fix: Events query performance improvements ( #1930 )
...
* fix: split up event queries for perf
* fix: refs
* fix: event join
2025-07-01 11:58:15 -04:00
Matt Kaye
23bdbbd8a3
Feat: Tenant-in-path ( #1923 )
...
* chore: gen
* feat: hook for tenant
* feat: add tenanted routes
* fix: no need for v1 prefix
* feat: remove v1 routes
* fix: remove ui version switcher stuff
* fix: more broken redirects
* fix: start using hooks to fetch tenant
* fix: add (commented out) linting rules
* fix: sidebar
* fix: cruft comment
* fix: layout
* fix: collapsibles
* fix: more refs to v1 paths
* fix: more refs to hold hooks
* fix: more refs
* fix: last few
* fix: more redirects
* fix: rm more refs to `useOutletContext`
* fix: rm tenant-as-prop
* fix: small bugs
* fix: revert unintended changes
* fix: couple more
* fix: last few
* fix: last few
* fix: oooone more
* fix: redirects
* fix: add more redirects
* fix: clean up a bunch more redirects
* fix: copy paste
* fix: more redirects
* fix: zero value bug
* hack: don't set query param on v1
* fix: lint
* fix: copy
* fix: copy
* fix: lint
* fix: rm /next redirect
* make default engine version v1
* feat: crons with timezones
* fix: handle case where tenant is in path
* fix: more hard redirects
* fix: delete v0 cancellation test
---------
Co-authored-by: Alexander Belanger <alexander@hatchet.run >
2025-07-01 11:56:54 -04:00
abelanger5
646adda2a8
fix: concurrency timeout from 5s -> 30s ( #1926 )
...
* fix: concurrency timeout from 5s -> 30s
* limits in overwrite file too
2025-07-01 08:05:59 -04:00
abelanger5
0e7cc7e063
add limits to schedule timeout logic ( #1925 )
2025-06-30 17:18:13 -04:00
abelanger5
1abb2a20e7
fix: hatchet-lite connection leakage and improve listen/notify performance ( #1924 )
...
* fix: hatchet-lite connection leakage and improve listen/notify performance
* fix: cancel mq listener
* remove event deps
* skip webhook test for now
2025-06-30 17:13:09 -04:00
abelanger5
b6d5a38c0f
refactor: small updates to how task and dag statuses are handled ( #1922 )
...
* fix: lengths of update rows
* better fix for task and dag updates
2025-06-30 15:43:31 -04:00
abelanger5
66631764b3
fix: olap poll interval config ( #1918 )
2025-06-30 07:32:26 -04:00
Mohammed Nafees
ef498a6235
Introduce tenant Prometheus metrics ( #1875 )
...
* introduce tenant workflow completed metric
* expose tenant prom metrics via handler
* fix workflow and worker id in metrics
* correctly add workflow metrics from workflow controller
* use olap DB to gather information for workflow completion
* fix prom metrics endpoint for tenant
* workflow name from external id
* simplify tenant registry based metrics
* add docs for prometheus metrics
* fix docs lint
* run prettier fix
* WIP metrics work
* use federate prom server URL to proxy metrics
* implement workflow duration histogram metric
* separate prom stack docker compose
* fix duration metrics calls
* move scheduler metrics to prom tenant specific file
* update docs for prom metrics
* fix lint
* use proper indices to query for durations
* reorg tenant metrics
* fix lint for doc
* update docs with promql examples and casing around prom metrics enabled
* update prom server url
* fix lint
* enabled prom metrics for v1 only from controller
2025-06-27 11:46:31 -04:00
Matt Kaye
a45816c6c2
Fix: Streaming + Misc SDK Fixes ( #1903 )
...
* fix: filters contracts + version bumps
* chore: gen
* feat: implement streaming for ts
* fix: v0 sdk side by side
* fix: optional status on semaphore slots
* fix: gen script
* chore: lint + gen
* chore: gen
* fix: fmt
* fix: revert changes
* feat: handle incorrect return types
* fix: worker status not assigned
* fix: improve handling of other types of pydantic models
* fix: handle null output case
* fix: get group key
* fix: info level log for non-retry
* fix: export non retry at top level
* fix: changelog
* chore: gen
* chore: gen
2025-06-26 17:42:34 -04:00
Matt Kaye
e62f7edab3
Fix: Streaming Bugs ( #1913 )
...
* fix: bug with json parsing failing
* fix: hang up on cancel and fail
* fix: pub stream events even if tenant pubs are disabled
* fix: condition
* fix: eq
2025-06-26 16:22:56 -04:00
Matt Kaye
25a98cf372
Feat: Copy workflow config from run pages ( #1901 )
...
* feat: add workflow details to more responses
* send workflow version back with task summary
* feat: add copy to run page
* feat: wire up button on other pages
* fix: copy
2025-06-25 13:26:13 -04:00
Matt Kaye
eb08481483
fix: log error and skip if errors raised by CEL ( #1898 )
2025-06-25 09:45:21 -04:00
Mohammed Nafees
f69f4d68b6
add more debugging around releaseTasks error handling ( #1897 )
2025-06-25 09:44:53 -04:00
Matt Kaye
33d60dfcd2
Fix: Filter list improvements ( #1899 )
...
* fix: uuid validation
* fix: improve filter filtering
* fix: inner join
* fix: bug in workflow cached prop
* chore: bump
* fix: lint
* chore: changelog
* fix: separate filter queries
* feat: improve filter filtering
* fix: queries and the like
2025-06-25 09:44:17 -04:00
Matt Kaye
a887c62809
Fix: Store CreateWorkflowVersionOpts for debugging ( #1890 )
...
* feat: add json column for opts
* feat: wiring
* feat: send config through the api
* feat: FE
* fix: order
* fix: hide sched timeout
* fix: lint
* fix: return mutated opts
* fix: adv section
* fix: remove unnecessary headers
* feat: styling improvements to settings
* feat: styling, pt ii
* feat: styling, pt iii
* fix: cron
2025-06-23 16:56:22 -04:00
Mohammed Nafees
cbc962ea2b
Ensure table partitions exist for tomorrow ( #1880 )
...
* add method to ensure table partitions exist for tomorrow
* fix formatting
* add generated tasks sql go
* proper lint for new sql query
* run pre commit check to fix lint issues
2025-06-20 01:57:32 +05:30
Mohammed Nafees
0fdae7e677
upgrade sqlc version to 1.29 ( #1879 )
2025-06-20 01:31:04 +05:30
Jay Yang
bc61372c6f
fix: Remove explicit public schema reference in WorkflowTriggerEventRef queries ( #1870 )
...
* fix: remove the explicit schema reference
* add go fixture
2025-06-18 07:31:52 -07:00
Matt Kaye
0544ebeae4
Fix: Unique index on filters should include payload ( #1869 )
...
* fix: unique index should include payload
* fix: concurrent drops
* fix: separate migrations, use hash
2025-06-17 16:14:26 -04:00
abelanger5
33d1bf60d6
revert: removing replay logic ( #1864 )
...
* revert: removing input from replay
* add to replayopt as well
* add a comment
2025-06-13 18:28:22 -04:00
Matt Kaye
1f63af1181
Fix: Attempts at improving logging fatigue ( #1857 )
...
* fix: delete invalid crons from the db if they fail to parse
* fix: worker not found
* fix: ignore resource exhausted
* fix: gocron error types
* fix: error
* fix: error handling
2025-06-13 18:28:02 -04:00
Matt Kaye
4348dc99e5
Feat: Events Frontend, Redux ( #1859 )
...
* feat: add params to events api
* feat: add more filters to event query
* fix: count query
* feat: start wiring up events queries
* feat: overwrites for queries
* feat: query for event keys
* feat: wire up event key api
* feat: wire up two queries on fe
* feat: fix more wiring
* feat: display event data
* fix: styling
* feat: sidebar
* fix: types + default viz
* feat: scope filter
* feat: index
* fix: queries
* fix: queries, deduping, popover
* fix: lint
* feat: add filter id col to the event to run table
* feat: add filter id to copy
* feat: wire filter through to the db
* feat: send back triggered run ids over the api
* fix: query
* feat: json obj for triggered runs on the event
* fix: cast trick to rm overwrite
* fix: migration
* fix: rm search
* fix: don't show counts on runs modal
* fix: key
* chore: gen ts
* chore: python
* fix: changelog
2025-06-13 14:16:08 -04:00
Gabe Ruttner
68de72d534
Ops disableable replay ( #1855 )
...
* try lock
* revert
* Update pkg/repository/v1/scheduler_concurrency.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update pkg/repository/v1/scheduler_concurrency.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* both strats
* disable
* remove input
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-06-12 15:25:38 -04:00
abelanger5
b5f430d95c
fix: connection leakage on alerter ( #1854 )
...
* fix: get managed worker views compatible with current
* address PR review comments
* avoid rerenders using new Date
* fix: lint
* update worker view, final fixes
* fix: connection leaks from alerter
2025-06-12 07:46:21 -04:00
Matt Kaye
2591c1a4b0
FE Burndown VII: List View, Onboarding, Misc other stuff ( #1851 )
...
* fix: selection states, part i
* fix: selected task deduplication
* fix: naming
* chore: gen
* chore: cruft
* fix: rm cruft
* fix: time filter width on smaller screens
* fix: add cancel badge
* fix: extend timeout of recenter
* fix: exclude more filters on main view
* fix: metadata tooltip / popover layout shift, excluded filters
* fix: more excluded filters
* fix: improve events tooltips
* fix: shad label
* fix: rm worker details side panel
* fix: activity filters
* fix: error message
* fix: start unbreaking onboarding
* feat: add param for engine version on tenant create
* fix: wire up tenant version
* fix: continue reverting onboarding
* fix: sidebar + link
* fix: linters
* fix: default ver
* fix: engine ver handling
* fix: simplify
* fix: simplify
* fix: pluralize build to avoid being dockerignored
2025-06-11 16:30:40 -04:00
Matt Kaye
92e86dc163
Feat: Next UI improvements, filters improvements, Langfuse docs, tenant getter, workflow status getter ( #1801 )
...
* fix: rm method from docs button
* feat: close side panel on navigate
* feat: migration to fix pk
* fix: create index at the end
* fix: properly compute pagination response for events
* feat: add event count to query
* feat: queries
* wire up since and until queries
* fix: fe
* fix: ordering
* chore: gen
* fix: pesky zero values
* fix: rm react-table side pagination
* fix: bug
* fix: start working on pagination
* fix: refactor a bit
* fix: pagination
* feat: pagination on workflows
* fix: callbacks
* fix: key
* fix: calc
* feat: migration attempt 2
* fix: lint
* chore: gen
* fix: recreate trigger in migration
* fix: test improvement
* fix: lint
* fix: order in schema
* fix: rename indexes in partitions too
* Feat: FE Burndown, Part V (#1814 )
* feat: extend eslint config to make a lot of rules much stricter
* fix: auto-fix a bunch of linting failures
* feat: start fixing a bunch of linting errors
* fix: more
* fix: run knip to remove a bunch of unused stuff
* fix: bunch more errors
* fix: bunch more
* fix: more
* fix: checkout old file
* fix: more
* fix: couple more callbacks
* fix: remaining issues
* fix: tsc
* fix: copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* fix: copilot pushing stuff that doesn't work, as usual
* fix: more ignores
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Feat: Langfuse Integration (#1822 )
* Fix: Internal blocking calls in admin client (#1818 )
* fix: admin client blockages
* chore: ver
* chore: changelog
* Revert "fix: rm langfuse for now"
This reverts commit 493566a307 .
* Revert "fix: rm langfuse trace pic"
This reverts commit fb689f4c50 .
* fix: pre
* chore(deps): bump golang.org/x/crypto from 0.38.0 to 0.39.0 (#1827 )
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.38.0 to 0.39.0.
- [Commits](https://github.com/golang/crypto/compare/v0.38.0...v0.39.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-version: 0.39.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>
* chore(deps): bump google.golang.org/grpc from 1.72.2 to 1.73.0 (#1828 )
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.72.2 to 1.73.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.72.2...v1.73.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-version: 1.73.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>
* chore(deps): bump golang.org/x/text from 0.25.0 to 0.26.0 (#1829 )
Bumps [golang.org/x/text](https://github.com/golang/text ) from 0.25.0 to 0.26.0.
- [Release notes](https://github.com/golang/text/releases )
- [Commits](https://github.com/golang/text/compare/v0.25.0...v0.26.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/text
dependency-version: 0.26.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>
* chore(deps): bump golang.org/x/sync from 0.14.0 to 0.15.0 (#1830 )
Bumps [golang.org/x/sync](https://github.com/golang/sync ) from 0.14.0 to 0.15.0.
- [Commits](https://github.com/golang/sync/compare/v0.14.0...v0.15.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sync
dependency-version: 0.15.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>
* chore(deps): bump golang.org/x/time from 0.11.0 to 0.12.0 (#1831 )
Bumps [golang.org/x/time](https://github.com/golang/time ) from 0.11.0 to 0.12.0.
- [Commits](https://github.com/golang/time/compare/v0.11.0...v0.12.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/time
dependency-version: 0.12.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>
* chore(deps): bump hatchet-sdk in /examples/python/quickstart (#1832 )
Bumps hatchet-sdk from 1.11.0 to 1.11.1.
---
updated-dependencies:
- dependency-name: hatchet-sdk
dependency-version: 1.11.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix: update langfuse docs / examples to agree with their recommendations
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Feat: Filter + Events Improvements (#1806 )
* feat: query for listing filters on a workflow
* feat: first pass at new filtering logic
* feat: event key wildcards
* fix: typo
* fix: write wildcard on event ref insert
* feat: tests for wildcard
* chore: gen
* feat: working wildcards
* fix: test cruft
* fix: tests
* fix: tests
* fix: tests
* feat: improve wildcard handling
* fix: missed a payload include spot
* feat: extend tests more
* feat: extend test more
* fix: flakiness
* feat: add scope col to events
* feat: write scopes into db with events
* fix: god I hate zero values
* chore: gen, lint, etc.
* fix: try wrapping yield in try / finally for robustness
* fix: typing
* fix: simplify
* fix: migration ver
* Feat: Tenant getter + corresponding SDK warnings (#1809 )
* feat: tenant get endpoint
* feat: impl for tenant
* chore: gen
* feat: Python impl
* feat: scary warning
* chore: lint
* fix: try / except
* feat: ts client
* feat: go
* chore: versions
* Update sdks/python/hatchet_sdk/hatchet.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update sdks/typescript/src/v1/client/client.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* fix: fmt
* fix: description
* fix: review
* fix: changelog
* chore: gen
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Feat: Workflow run status getter on the API (#1808 )
* feat: api for status getter
* feat: api
* feat: sdk
* chore: gen python
* chore: gen ts
* fix: simplify api
* chore: gen
* chore: rm unused python
* chore: vers
* fix: pr feedback
* chore: gen
* chore: gen
* chore: gen
* Feat: Filter Updates (#1840 )
* feat: api
* feat: impl
* fix: patch
* chore: gen
* feat: python
* chore: changelog
* feat: ts
* feat: go
* fix: copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* fix: copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Feat: Declaratively create filters on worker start (#1825 )
* feat: dynamically create filters when workflow is registered
* fix: python utc timestamps everywhere
* refactor: fix up runs list a bit
* refactor: move more methods under shared BaseWorkflow
* feat: register default filters
* fix: docs
* chore: gen, docs
* chore: lint
* fix: v1
* fix: add filter to proto
* feat: implement default filters on put workflow
* feat: fix go impl
* chore: gen py
* feat: wire up Python
* fix: rm cruft
* fix: ts
* fix: bugs
* chore: gen, versions
* feat: changelog
* chore: lock
* fix: go
* fix: rm cruft
* fix: lockfile
* feat: add is_declarative flag to filters
* feat: extend filter insert queries
* feat: bulk upsert filters on workflow version create
* fix: wire up declarative stuff
* fix: mutexing issue
* feat: wire up declarative filters
* feat: naming
* chore: gen
* fix: nullable payloads
* fix: check json validity
* fix: rm on conflict
* fix: query naming + declarative-ness handling
* fix: rm payload from error
* fix: versions and such
* chore: gen
* Feat: Filtering + Events Docs Revamp + SDK Tweaks (#1843 )
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-10 11:48:31 -04:00
abelanger5
a7ce81718d
fix: checksum instability on triggers ( #1836 )
...
* fix: run crons and schedules in singleton mode
* debug: lines for checksum
* include checksum
* fix: correct checksum when using trigger conditions
* remove debug line
2025-06-09 11:55:04 -04:00
abelanger5
8af41e3963
perf: try different query strategy ( #1823 )
2025-06-07 12:23:41 -04:00
abelanger5
59f1fabe5e
set default jitter value to 0 ( #1803 )
2025-06-03 07:24:08 -04:00
Gabe Ruttner
1261509755
configurable task ops jitter ( #1800 )
...
* configurable task ops jitter
* single config, configurable poll
* revert timeout
* fix correct param
2025-06-02 16:02:01 -04:00
Matt Kaye
521c5f430f
Fix: UI Bug Burndown, Part I ( #1774 )
...
* fix: horrific recursive query performance
* feat: start refactoring waterfall a bit
* fix: more waterfall cleanup
* fix: overflow
* fix: recenter button for dag view
* fix: button order
2025-05-27 14:07:07 -04:00
Matt Kaye
8f098360ef
Feat: Tenant-in-path ( #1756 )
...
* feat: put tenant in path everywhere
* fix: no need for a tenant provider
* feat: rm tenant from local storage + query params
* fix: use `tenantId` everywhere we access the id
* fix: couple more
* feat: separate hook for getting just the tenant id
* fix: fix a couple routes
* chore: tons more generated stuff
* fix: login page
* fix: some paths
* fix: onboarding create tenant page
* feat: sent ui version when creating tenant
* fix: new tenant creation on signup
* fix: naming
* feat: redirect to v1 if the tenant has a v1 ui ver
* hack: redirect button if we get stuck
* fix: cruft
* fix: login
* chore: lint
* fix: redirect to signup
* fix: null pointer
* fix: redirects
* fix: redirect to the right place on login
* fix: make `/learn` tenanted
* fix: check tenant exists
* fix: broken lesson styling
* chore: lint
* Feat: Worker Detail (#1765 )
* fix: nuke breadcrumbs
* fix: rip out query param state thing for now
* fix: rm more query state
* fix: eslint warnings
* debug: infinite loop
* fix: infinite loop
* fix: worker detail
* feat: initial work on worker filter
* fix: docs
* fix: rename worker services to pools
* fix: copy
* fix: rename
* fix: bunch more renaming
* fix: tsc
* fix: one more
* fix: more "service" refs
* fix: whoooole bunch more naming
* fix: last few
* fix: id -> name
* fix: list task runs on worker
* fix: filter state updates
* feat: worker detail query
* fix: separate components for the two pages
* fix: tsc
* feat: start sending actions over the API for worker list
* feat: actions view
* fix: styling
* fix: group pools by actions
* fix: ordering
* fix: improve sorting
* fix: copilot
* fix: don't set `replace`
2025-05-23 15:29:27 -04:00
Gabe Ruttner
59edb02a8b
Fix olap txs ( #1763 )
...
* jitter
* times
* configurable olap jitter and interval
* fix--olap-tx
* unlock mu
* err
2025-05-21 13:17:39 -04:00
Gabe Ruttner
d32bb66233
log prefixes ( #1762 )
...
* log prefixes
* include strategy
2025-05-21 11:01:09 -04:00
Gabe Ruttner
1421c826ad
Feat configurable olap jitter ( #1759 )
...
* jitter
* times
* configurable olap jitter and interval
2025-05-21 11:01:00 -04:00
Matt Kaye
3878bc3ca3
Feat: Remove inputs and outputs from workflow run list ( #1720 )
...
* feat: add new route
* feat: thread param through for i/o
* fix: rm inputs
* fix: children
* refactor: cleanup
* fix: rebase
* fix: nil check
* fix: use query param instead
* fix: lint
* fix: lint
* fix: wire param through
* chore: gen yet again
* fix: comma
* chore: gen
2025-05-20 16:45:09 -04:00
Matt Kaye
495fb756b5
Feat: UI Upgrade Flow ( #1750 )
...
* refactor: hook
* feat: add ui version to the tenant
* feat: add ui version to the tenant
* chore: bunch of generated stuff
* feat: return ui ver from db
* revert: flags change
* feat: wire up tenant update
* fix: type
* feat: upgrade / downgrade UI
* chore: tons more generated stuff 😬
* fix: some redirect logic
* fix: copy
* fix: non-required
* chore: gen
* fix: transformers
* fix: rm from v0 tenants
* fix: redirect
2025-05-20 16:28:50 -04:00
Matt Kaye
76ecbcc1fc
Feat: Event filtering docs ( #1753 )
...
* chore: gen yet again
* feat: filters client + docs
* fix: lint
* fix: revert cruft
* fix: trigger
* fix: lint
* fix: gen
* Update frontend/docs/pages/home/run-on-event.mdx
Co-authored-by: abelanger5 <belanger@sas.upenn.edu >
* Update frontend/docs/pages/home/run-on-event.mdx
Co-authored-by: abelanger5 <belanger@sas.upenn.edu >
---------
Co-authored-by: abelanger5 <belanger@sas.upenn.edu >
2025-05-19 18:56:42 -04:00
Matt Kaye
752e6bd5cf
Feat: Add event key to CEL env for filtering ( #1748 )
...
* feat: add event key to env
* chore: generate a bunch of stuff again
* feat: add a test for filtering by event key
* refactor: duped code
* fix: skip flaky test in ci
* Fix: Add filter payloads to context (#1743 )
* feat: add payload to ctx
* chore: ver
* fix: add filter payload to go
* fix: tests + lint
* fix: lint
* fix: naming
2025-05-19 12:52:41 -04:00
Matt Kaye
0061ab1baf
Fix: scheduled client namespacing, attempt 2 ( #1740 )
2025-05-16 17:06:34 -04:00
Matt Kaye
08bd27a869
Feat: Dynamic (Event) Filters ( #1704 )
...
* 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: filters api
* feat: table for storing filters
* feat: migration
* fix: pk ordering
* feat: wiring up initial api
* feat: impl filter list
* feat: wire up inserts of filters
* feat: add resource hint to push event
* feat: multi-select filters
* feat: wire up resource hint on event push
* feat: filtering
* fix: small bug
* fix: rm version id
* fix: query
* fix: panic
* fix: schema
* fix: naming
* fix: rm python changes
* chore: lint
* fix: uuid hint
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* fix: use overwrite for listing filters b/c of nullable arg
* fix: naming
* 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: merge issues
* feat: filter delete endpoint
* fix: overwrite
* fix: delete filter api wiring
* fix: migration patch
* chore: gen
* fix: merge hell
* 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: gen
* fix: migration ver
* chore: lint
* fix: missed a couple
* fix: whitespace
* fix: formatting, gen
* fix: uuid id for filters
* feat: rest api for filters
* fix: tag
* feat: add event id, payload, and metadata to cel env
* fix: rename resource hint to scope
* chore: gen
* fix: same conflict, different day
* feat: send filter payload with input
* fix: lint
* fix: invert filter to "positive" case
* fix: naming
* feat: send payloads back with trigger data
* fix: add case to check if no filters were found
* fix: send additional meta back on bulk push
* fix: cleanup from self review
* fix: more small cleanup
* feat: initial pr feedback
* feat: validation
* fix: populator
* Feat: SDK changes for event filtering (#1677 )
* feat: query for event creation
* 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
* fix: diff
* feat: add new partitions
* fix: write external ids into table
* chore: gen
* fix: wiring
* fix: event deduping
* fix: insert in bulk
* fix: unnest ids
* fix: run ids in bulk insert
* feat: two bulk inserts, one tx
* fix: rework to avoid n^2 loop
* feat: proto field for expression
* fix: rm event filter from v0 defn
* chore: gen python
* Revert "fix: select existing partitions"
This reverts commit fefbdd5122b85c5d807c3dce3aed7d974f01a7d8.
* fix: rebase hell
* feat: prio
* chore: docs
* feat: gen ts
* feat: ts wiring
* feat: go
* fix: prio test bug
* chore: gen
* fix: validation bug
* feat: extend events client
* feat: e2e test
* chore: docs
* fix: test
* fix: unwind event filter
* fix: rm should skip
* chore: gen
* chore: gen
* chore: gen
* feat: resource hints + more e2e tests
* fix: use `cached_property` for id
* fix: raises
* fix: rm print cruft
* feat: wiring + e2e test
* chore: gen
* feat: wire up python sdk
* feat: static payload in test
* fix: use test run id in payload
* fix: longer sleeps
* feat: more tests
* feat: intermediate work
* feat: add validator for filter payload
* fix: rm cruft
* fix: event example
* fix: event example
* fix: e2e tests
* fix: finish cleaning up tests
* fix: __hash__ method
* fix: copilot comments!
* fix: apply namespaces to workflow names in a couple of the feature clients
* fix: handle case where namespace is falsey
* refactor: factor out
* fix: all the other refs to namespaced things
* fix: put `apply_namespace` on the client config
* fix: namespace overrides
* fix: implicitly use function name for hatchet task
* fix: name
* fix: refs
* chore: ver
* fix: durable tests
* feat: add a changelog!
* fix: changelog format
* feat: start wiring up filters in ts
* feat: scopes on event push
* feat: wire up triggering event id filter
* feat: initial ts e2e test work
* fix: run the test
* fix: drive-by bug in AI-gen slop
* fix: test naming
* feat: more test cleanup
* fix: api
* fix: ns override
* fix: test + API
* fix: lint
* fix: cruft
* chore: gen
* fix: dont run in ci?
* fix: wire up Go SDK
* fix: compiler
* fix: examples
* fix: event snippet, I think
* chore: docs
* Revert "fix: examples"
This reverts commit cbf33d6299 .
* Revert "fix: compiler"
This reverts commit 52336abeb2 .
* fix: add push opt funcs for prio and scope
* chore: ver
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-05-16 15:44:28 -04:00
Matt Kaye
9a5e4d7642
Fix: Add workflowId and workflowVersionId to AssignedAction ( #1726 )
...
* feat: send workflow id + version id back on assigned action
* feat: wire up python sdk
* fix: patch ver
* feat: wire ts up
* feat: wire up Go
* fix: lint + tests
* Feat: Cancel from context in TS (#1722 )
---------
Co-authored-by: Gabe Ruttner <gabriel.ruttner@gmail.com >
2025-05-16 11:46:57 -04:00
Matt Kaye
3e7a73a81c
Hotfix: Go SDK scheduled workflows issues ( #1727 )
...
* fix: scheduled workflow namespace + input
* fix: send namespace through to schedules client
* tweak: do nothing with invalid json
* fix: helper
2025-05-16 08:11:33 -04:00
abelanger5
02cf65499c
fix: topological sort should be stable ( #1723 )
2025-05-14 17:31:40 -04:00
Gabe Ruttner
d00112746f
second cast ( #1721 )
2025-05-14 13:35:08 -04:00
Gabe Ruttner
059293d541
non-null ( #1719 )
2025-05-14 11:21:28 -04:00