Matt Kaye
2cfb345dcf
Feat: Handle unicode error, fix OTel error capturing ( #1959 )
...
* feat: raise illegal task output error out of the runner if we get a null unicode escape sequence
* feat: add helper for sanitizing outputs
* feat: improve error
* fix: lock index
* feat: use async stream method in example
* chore: ver
* chore: changelog
* fix: turns out we don't need to lock
* fix: return exception for instrumentation
* chore: changelog
* chore: bunch of generated crap
* fix: comment placement
* fix: copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-07-09 14:18:41 -04:00
Matt Kaye
7c84c7f664
Fix: Persist tenant to local storage ( #1965 )
...
* fix: correctly read previous tenant
* fix: modify key
* fix: cleanup
* fix: cleanup
* fix: lint
* remove debug
---------
Co-authored-by: Alexander Belanger <alexander@hatchet.run >
v0.68.4
2025-07-09 13:08:47 -04:00
abelanger5
0fa6afe846
fix: data key in waterfall rows and truncate children ( #1968 )
2025-07-09 12:50:31 -04:00
Mohammed Nafees
58b70c7b98
Add missing filter params to runs list method in TS SDK ( #1967 )
...
* fix params for TS SDK runs list function
* bump TS SDK patch version
2025-07-09 21:00:46 +05:30
dependabot[bot]
a160d35519
chore(deps): bump github.com/getsentry/sentry-go from 0.34.0 to 0.34.1 ( #1964 )
...
Bumps [github.com/getsentry/sentry-go](https://github.com/getsentry/sentry-go ) from 0.34.0 to 0.34.1.
- [Release notes](https://github.com/getsentry/sentry-go/releases )
- [Changelog](https://github.com/getsentry/sentry-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/getsentry/sentry-go/compare/v0.34.0...v0.34.1 )
---
updated-dependencies:
- dependency-name: github.com/getsentry/sentry-go
dependency-version: 0.34.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>
2025-07-08 05:30:49 +00:00
abelanger5
53020696e9
fix(go-sdk): v1 rate limit config ( #1962 )
v0.68.3
2025-07-07 16:41:41 -04:00
abelanger5
75012adf7c
fix: don't render on non-standalone task views ( #1961 )
v0.68.2
2025-07-07 15:38:45 -04:00
Matt Kaye
50e6cb4aab
fix: change alert path to tenanted route ( #1960 )
2025-07-07 15:21:22 -04:00
Mohammed Nafees
33ec5fb7d8
add docs for Go SDK bulk operations ( #1954 )
2025-07-07 13:04:49 +02:00
dependabot[bot]
d6b4044f32
chore(deps): bump github.com/slack-go/slack from 0.17.2 to 0.17.3 ( #1958 )
...
Bumps [github.com/slack-go/slack](https://github.com/slack-go/slack ) from 0.17.2 to 0.17.3.
- [Release notes](https://github.com/slack-go/slack/releases )
- [Changelog](https://github.com/slack-go/slack/blob/master/history.go )
- [Commits](https://github.com/slack-go/slack/compare/v0.17.2...v0.17.3 )
---
updated-dependencies:
- dependency-name: github.com/slack-go/slack
dependency-version: 0.17.3
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>
2025-07-07 05:36:34 +00:00
Mohammed Nafees
1d5d638081
Add task start-dev-tmux ( #1946 )
...
* start-dev-tmux: start-dev with tmux support for clear output per process
* update instructions
* fix lint
2025-07-05 12:08:50 +02:00
abelanger5
cbccadbdf7
fix: use errors.Is instead of equality ( #1953 )
v0.68.1
2025-07-04 16:22:34 -04:00
abelanger5
6e820a120c
feat: waterfall component ( #1952 )
...
* tmp: waterfall component
* feat: waterfall component
* address pr review comments
v0.68.0
2025-07-04 14:47:30 -04:00
Matt Kaye
cff9ffa794
Fix: More flashing metadata popovers ( #1950 )
...
* fix: signature, remove old component, fix scheduled runs flicker
* fix: the rest of them
* fix: lint
2025-07-04 09:29:26 -04:00
dependabot[bot]
58d8813976
chore(deps): bump hatchet-sdk in /examples/python/quickstart ( #1951 )
...
Bumps hatchet-sdk from 1.0.0a1 to 1.14.2.
---
updated-dependencies:
- dependency-name: hatchet-sdk
dependency-version: 1.14.2
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>
2025-07-04 04:28:46 +00:00
Matt Kaye
d8d2e0b4d1
Hotfix: One more broken redirect ( #1949 )
...
* hotfix: tenanted path fix
* fix: actual fix
* fix: padding + spacing
2025-07-03 19:52:01 -04:00
Matt Kaye
3442c11106
Feat: Top-level stream consumer in the SDKs ( #1917 )
...
* feat: add stream sub on top level
* feat: clean up examples
* chore: gen
* feat: move stream onto the runs client in ts
* fix: examples
* chore: gen
* fix: circular import issues
* chore: lint
* feat: first pass at Next app
* fix: pull next out to top level
* fix: all the things
* fix: get it all wired up
* fix: imports
* fix: lint rule
* fix: just use js
* fix: revert tsconfig changes
* fix: check in pages
* fix: hangup event in streaming impl
* chore: gen
* chore: generate again, remove lots of nextjs stuff
* fix: one more ignore
* fix: gen
* fix: ignore
* fix: ugh
* fix: simplify a bunch
* fix: lint
* fix: rm gen cruft
* fix: changelog
* feat: implement list with pagination
* feat: add some tests
* feat: add warnings
* fix: update workflow / task methods
* chore: version
* feat: retries
2025-07-03 18:49:16 -04:00
Matt Kaye
7679732b15
Fix: Skipping conditions with multiple parents ( #1948 )
...
* fix: skipping bug
* fix: move `waits` -> `conditions`
* fix: refs
* chore: ver
* feat: add skipped task to test
* feat: start implementing or groups in wait for
* feat: test of or groups on durable context
* fix: lint
* chore: gen
* fix: lint
* fix: branching hell
2025-07-03 16:50:57 -04:00
Matt Kaye
7af4cfa3ab
hotfix: sheet overflow ( #1947 )
v0.67.8
2025-07-03 11:05:38 -04:00
Matt Kaye
8d467dee5c
Fix: Remove task-runs route + lots of dead code ( #1934 )
...
* fix: unified runs page
* fix: nullish cases
* fix: rm `task-runs` page
* fix: nuke tons of unused code
* fix: un-nuke `/next/`
* Feat: Improve overflow / scroll behavior on table pages (#1937 )
* feat: fix events view overflow
* fix: overflow
* fix: clean up runs view a bit
* fix: task runs table overflow
* fix: workflows view
* fix: worker table
* fix: lint + tsc
* fix: crons view
* fix: scheduled runs view
* fix: lint
* fix: rate limits view
* fix: change pagination options
* feat: first pass at new time range
* Revert "feat: first pass at new time range"
This reverts commit def610a12e .
* fix: remove ring
* fix: rm unused style
* feat: duration fix
* fix: clean up more table styling
* feat: improve metadata view
* fix: tsc
* feat: breadcrumbs
* feat: cleanup
* feat: janky metadata fix
* fix: copy
* fix: task run detail odd scroll behavior
* fix: workflow page
2025-07-03 09:15:39 -04:00
Jean-Baptiste Souvestre
f08c348710
fix(scheduling): negative weigths ranks were not excluded from the candidate workers pool ( #1941 )
...
Co-authored-by: jbsouvestre <jean-baptiste@ubble.ai >
2025-07-03 09:03:12 -04:00
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
dependabot[bot]
3ad8d321fa
chore(deps): bump github.com/go-viper/mapstructure/v2 ( #1945 )
...
Bumps [github.com/go-viper/mapstructure/v2](https://github.com/go-viper/mapstructure ) from 2.2.1 to 2.3.0.
- [Release notes](https://github.com/go-viper/mapstructure/releases )
- [Changelog](https://github.com/go-viper/mapstructure/blob/main/CHANGELOG.md )
- [Commits](https://github.com/go-viper/mapstructure/compare/v2.2.1...v2.3.0 )
---
updated-dependencies:
- dependency-name: github.com/go-viper/mapstructure/v2
dependency-version: 2.3.0
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-03 08:48:56 +00:00
dependabot[bot]
c0864a94e8
chore(deps): bump google.golang.org/api from 0.239.0 to 0.240.0 ( #1944 )
...
---
updated-dependencies:
- dependency-name: google.golang.org/api
dependency-version: 0.240.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>
2025-07-03 04:54:00 +00:00
Mohammed Nafees
23773b85ce
fix typo for cron name ( #1940 )
2025-07-02 19:24:42 +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
dependabot[bot]
f06b8487eb
chore(deps): bump github.com/go-playground/validator/v10 ( #1939 )
...
Bumps [github.com/go-playground/validator/v10](https://github.com/go-playground/validator ) from 10.26.0 to 10.27.0.
- [Release notes](https://github.com/go-playground/validator/releases )
- [Commits](https://github.com/go-playground/validator/compare/v10.26.0...v10.27.0 )
---
updated-dependencies:
- dependency-name: github.com/go-playground/validator/v10
dependency-version: 10.27.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>
2025-07-02 04:28:52 +00:00
abelanger5
3468709a23
fix: correct config pt 2 ( #1938 )
v0.67.7
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
v0.67.6
2025-07-01 16:16:19 -04:00
abelanger5
09c41ab4f4
fix: add tzdata to docker images ( #1935 )
...
* add tzdata
* revert prev
v0.67.5
2025-07-01 14:57:00 -04:00
Mohammed Nafees
a34ba68418
build with embedded tzdata ( #1933 )
v0.67.4
2025-07-01 14:21:02 -04:00
Matt Kaye
c805a52e38
Fix: Events query performance improvements ( #1930 )
...
* fix: split up event queries for perf
* fix: refs
* fix: event join
v0.67.3
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 )
v0.67.2
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 )
v0.67.1
2025-06-30 07:32:26 -04:00
dependabot[bot]
934b4eba8e
chore(deps): bump github.com/slack-go/slack from 0.17.1 to 0.17.2 ( #1921 )
...
Bumps [github.com/slack-go/slack](https://github.com/slack-go/slack ) from 0.17.1 to 0.17.2.
- [Release notes](https://github.com/slack-go/slack/releases )
- [Changelog](https://github.com/slack-go/slack/blob/master/history.go )
- [Commits](https://github.com/slack-go/slack/compare/v0.17.1...v0.17.2 )
---
updated-dependencies:
- dependency-name: github.com/slack-go/slack
dependency-version: 0.17.2
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>
2025-06-30 05:28:41 +00:00
dependabot[bot]
f97d129445
chore(deps): bump github.com/Masterminds/semver/v3 from 3.3.1 to 3.4.0 ( #1920 )
...
Bumps [github.com/Masterminds/semver/v3](https://github.com/Masterminds/semver ) from 3.3.1 to 3.4.0.
- [Release notes](https://github.com/Masterminds/semver/releases )
- [Changelog](https://github.com/Masterminds/semver/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Masterminds/semver/compare/v3.3.1...v3.4.0 )
---
updated-dependencies:
- dependency-name: github.com/Masterminds/semver/v3
dependency-version: 3.4.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>
2025-06-30 05:25:00 +00: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
v0.67.0
2025-06-27 11:46:31 -04:00
Matt Kaye
74e112e44f
fix: shuffle sections around ( #1914 )
2025-06-27 08:41:23 -04:00
dependabot[bot]
a60771cfb8
chore(deps): bump hatchet-sdk in /examples/python/quickstart ( #1915 )
...
Bumps hatchet-sdk from 1.0.0a1 to 1.14.0.
---
updated-dependencies:
- dependency-name: hatchet-sdk
dependency-version: 1.14.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>
2025-06-27 04:26:13 +00: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
1cd12f24f8
Feat: Streaming Docs + Examples ( #1912 )
...
* feat: streaming examples + gen
* feat: more examples
* chore: gen again
* feat: fastapi example
* chore: gen
* feat: callout
* fix: typos
* fix: whoops - how did this work?
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-06-26 17:28:05 -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
b92c1588ba
[Blog]: FastAPI Background Tasks ( #1877 )
...
* feat: add alexander's header to old posts
* feat: first pass at FastAPI blog post
* fix: clean up
* fix: grammar
* chore: lint
* feat: wrap up blog
* fix: pub date
* fix: title
2025-06-26 12:46:28 -04:00
dependabot[bot]
3765d0e10f
chore(deps): bump hatchet-sdk in /examples/python/quickstart ( #1911 )
...
Bumps hatchet-sdk from 1.0.0a1 to 1.13.0.
---
updated-dependencies:
- dependency-name: hatchet-sdk
dependency-version: 1.13.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>
2025-06-26 05:03:16 +00:00
dependabot[bot]
ae2fa16baa
chore(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc ( #1905 )
...
Bumps [go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc](https://github.com/open-telemetry/opentelemetry-go ) from 1.36.0 to 1.37.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases )
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.36.0...v1.37.0 )
---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc
dependency-version: 1.37.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>
2025-06-26 05:00:04 +00:00
dependabot[bot]
06fe1dda98
chore(deps): bump google.golang.org/api from 0.238.0 to 0.239.0 ( #1910 )
...
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.238.0 to 0.239.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases )
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md )
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.238.0...v0.239.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/api
dependency-version: 0.239.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>
2025-06-26 04:58:56 +00:00