Commit Graph

1703 Commits

Author SHA1 Message Date
matt
36924936fa Feat: Webhook fixes / improvements (#2131)
* feat: webhook update

* feat: add headers to cel env

* fix: header casing

* feat: wire up edits

* fix: updates

* fix: finish wiring up updates

* fix: handle save on enter

* fix: lint

* feat: add slack and discord

* feat: initial slack setup

* fix: get slack working

* fix: rm discord for now

* fix: lint

* chore: gen

* fix: explicit save button

* feat: add link to CEL docs

* feat: add callout for reaching out to support

* feat: docs

* refactor: challenge

* fix: naming

* fix: return

* fix: resp codes

* fix: webhooks beta flag

* fix: rm discord

* fix: docs
2025-08-14 10:46:57 -05:00
dependabot[bot]
80ea9bdb4b chore(deps): bump github.com/getsentry/sentry-go from 0.35.0 to 0.35.1 (#2135)
Bumps [github.com/getsentry/sentry-go](https://github.com/getsentry/sentry-go) from 0.35.0 to 0.35.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.35.0...v0.35.1)

---
updated-dependencies:
- dependency-name: github.com/getsentry/sentry-go
  dependency-version: 0.35.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-08-14 04:12:58 +00:00
dependabot[bot]
c9c740f6c0 chore(deps): bump k8s.io/client-go from 0.33.3 to 0.33.4 (#2132)
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go) from 0.33.3 to 0.33.4.
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kubernetes/client-go/compare/v0.33.3...v0.33.4)

---
updated-dependencies:
- dependency-name: k8s.io/client-go
  dependency-version: 0.33.4
  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-08-14 04:12:35 +00:00
Mohammed Nafees
fb3f5ef6c6 bump ts sdk version (#2129) 2025-08-13 15:28:43 +02:00
Mohammed Nafees
1ff21c6746 [hotfix] Better messaging around tenant prometheus metrics empty state (#2124)
* better messaging around prom metrics

* fix var

* better handling
2025-08-13 10:49:58 +02:00
dependabot[bot]
9cefed3104 chore(deps): bump hatchet-sdk in /examples/python/quickstart (#2126)
Bumps hatchet-sdk from 1.0.0a1 to 1.17.0.

---
updated-dependencies:
- dependency-name: hatchet-sdk
  dependency-version: 1.17.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-08-13 05:51:38 +00:00
dependabot[bot]
dc5ba0d60a chore(deps): bump google.golang.org/api from 0.246.0 to 0.247.0 (#2125)
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.246.0 to 0.247.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.246.0...v0.247.0)

---
updated-dependencies:
- dependency-name: google.golang.org/api
  dependency-version: 0.247.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-08-13 04:44:47 +00:00
Mohammed Nafees
3dcc92cbc5 upgrade axios (#2119) 2025-08-12 20:46:31 +02:00
Mohammed Nafees
51a037d493 Workflow combobox search functionality (#2118)
* add pagination support for trigger workflow dropdown

* fix lint

* message fix

* no pagination but search

* no need for useless allocation

* PR comments
2025-08-12 20:43:30 +02:00
dependabot[bot]
abb102ba85 chore(deps): bump actions/checkout from 3 to 5 (#2120)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-12 14:14:11 -04:00
matt
d85f6a042f fix: add back sync docs script (#2123) 2025-08-12 14:13:25 -04:00
matt
815a94e25c chore: regen snippets (#2122) 2025-08-12 11:29:45 -04:00
matt
1eb1634093 Chore: Remove /next/ dir on the FE, Part I (#2083)
* feat: nuke the next dir

* fix: clean up some refs
2025-08-12 10:51:55 -04:00
dependabot[bot]
9d145fc631 chore(deps): bump hatchet-sdk in /examples/python/quickstart (#2121)
Bumps hatchet-sdk from 1.0.0a1 to 1.17.0.

---
updated-dependencies:
- dependency-name: hatchet-sdk
  dependency-version: 1.17.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-08-12 14:33:42 +00:00
matt
ed65e41ff2 Fix: Optimize DAG timing query for Prom (#2102)
* feat: improve dag duration query

* fix: naming

* fix: wiring

* feat: add trace

* fix: add timeouts

* fix: inserted at

* fix: correctness tweak

* fix: try upgrading pino
v0.70.6
2025-08-12 08:01:00 -04:00
Mohammed Nafees
d504d51f13 add k8s pod info to traces (#2109) 2025-08-12 07:57:47 -04:00
matt
d2b60917ee Fix: Waterfall panic + query simplification (#2116)
* fix: simplify query a bunch

* fix: simplify more

* fix: simplify a whole bunch more

* fix: wire up

* fix: query

* fix: the actual bug
2025-08-12 07:56:13 -04:00
abelanger5
508c18342d fix: don't wait for grpc stream send on rabbitmq loop (#2115)
* fix: don't wait for grpc stream send on rabbitmq loop

* fix: ctx cancel
2025-08-12 07:54:45 -04:00
matt
d81f7db5e2 Fix: TS CI (#2117)
* fix: ts ci

* chore: gen
2025-08-12 07:54:03 -04:00
matt
c8d5144ed4 [Python] Feat: Dependency Injection, Improved error handling (#2067)
* feat: first pass at dependency injection

* feat: add DI example + tests

* feat: finish up tests

* feat: docs

* chore: gen

* chore: lint

* chore: changelog + ver

* fix: split up paragraphs

* refactor: improve impl

* chore: gen

* feat: inject input + ctx into deps

* chore: gen

* [Python] Feat: More use of `logger.exception` (#2069)

* feat: add more instances of `logger.exception`

* chore: ver

* chore: changelog

* fix: one more error log

* chore: gen

* chore: gen

* chore: lint

* fix: improve shutdown

* chore: changelog

* unwind: exit handler

* feat: task run error

* feat: improve error serde with more context

* chore: changelog

* fix: changelog

* chore: gen

* fix: rm celpy + lark dep, casing issues

* chore: changelog

* fix: respect log levels over the API

* fix: changelog

* refactor: rename log forwarder

* fix: circular import
2025-08-11 23:10:44 -04:00
Mohammed Nafees
8a0e88ac48 [HAT-432] Enforce task priorities to be between 1 and 3 (#2110)
* user provided priorities can only be 1,2,3

* sanitize

* check for retry counts

* update partition functions to include constraints

* do SQL migration afterwards

* revert sql changes
2025-08-11 21:50:34 +02:00
dependabot[bot]
03e819e139 chore(deps): bump hatchet-sdk in /examples/python/quickstart (#2107)
Bumps hatchet-sdk from 1.0.0a1 to 1.16.5.

---
updated-dependencies:
- dependency-name: hatchet-sdk
  dependency-version: 1.16.5
  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-08-08 04:35:56 +00:00
dependabot[bot]
67add7f339 chore(deps): bump golang.org/x/crypto from 0.40.0 to 0.41.0 (#2105)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.40.0 to 0.41.0.
- [Commits](https://github.com/golang/crypto/compare/v0.40.0...v0.41.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-version: 0.41.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-08-08 04:13:33 +00:00
dependabot[bot]
4d3a8a425e chore(deps): bump google.golang.org/protobuf from 1.36.6 to 1.36.7 (#2106)
Bumps google.golang.org/protobuf from 1.36.6 to 1.36.7.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-version: 1.36.7
  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-08-08 04:11:41 +00:00
dependabot[bot]
743283102f chore(deps): bump golang.org/x/text from 0.27.0 to 0.28.0 (#2104)
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.27.0 to 0.28.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.27.0...v0.28.0)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-version: 0.28.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-08-08 04:11:29 +00:00
dependabot[bot]
d503caf97a chore(deps): bump github.com/posthog/posthog-go from 1.6.1 to 1.6.3 (#2103)
Bumps [github.com/posthog/posthog-go](https://github.com/posthog/posthog-go) from 1.6.1 to 1.6.3.
- [Release notes](https://github.com/posthog/posthog-go/releases)
- [Changelog](https://github.com/PostHog/posthog-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/posthog/posthog-go/compare/v1.6.1...v1.6.3)

---
updated-dependencies:
- dependency-name: github.com/posthog/posthog-go
  dependency-version: 1.6.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-08-08 04:11:23 +00:00
matt
4d654f34ec Debug: Fail task tracing (#2101)
* feat: add some span attributes to see how big the batches are

* fix: span naming

* fix: naming

* fix: issues + lint
v0.70.5
2025-08-07 12:05:28 -04:00
dependabot[bot]
286933799e chore(deps): bump google.golang.org/api from 0.245.0 to 0.246.0 (#2100)
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.245.0 to 0.246.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.245.0...v0.246.0)

---
updated-dependencies:
- dependency-name: google.golang.org/api
  dependency-version: 0.246.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-08-07 05:02:34 +00:00
dependabot[bot]
b003fc74d3 chore(deps): bump hatchet-sdk in /examples/python/quickstart (#2099)
Bumps hatchet-sdk from 1.16.4 to 1.16.5.

---
updated-dependencies:
- dependency-name: hatchet-sdk
  dependency-version: 1.16.5
  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-08-07 04:30:22 +00:00
matt
285f1728d5 Fix: Call PopulateTaskRunData sequentially (#2097)
* fix: call task data lookup query sequentially

* fix: error fmt

* feat: add more span attrs

* fix: end + ctx handling

* fix: int type

* fix: handle dupes, factor out into helper

* fix: naming

* fix: unwind naming change

* fix: naming
v0.70.4
2025-08-06 18:40:02 -04:00
Sunny Rochiramani
797c043e6c Fix: Update prometheus-client version to >=0.21.1 (#2098)
* Update prometheus-client version to >=0.21.1 (instead of being pinned to v0.21.1)

This MR relaxes the version constraint of prometheus-client from ^0.21.1 to >=0.22. The reason for this change is that the previous constraint was too strict and caused dependency conflicts in Poetry when used alongside other packages that require a newer version. Since prometheus-client>=0.22 is backward compatible, this update is safe and avoids unnecessary version resolution issues.

* Update pyproject.toml

Update patch version as per PR comments.
2025-08-06 18:13:05 -04:00
Mohammed Nafees
34074affd8 Add contextual data for trigger via events (#2092)
* add contextual data for trigger via events

* fix corrId

* string needed
2025-08-06 16:52:06 -04:00
Sam Wolk
15576254ab Add wsl note for python (#2093)
* add wsl note for python

* lint
2025-08-06 16:30:46 -04:00
matt
b233e6a5cb Fix: Improve performance of UpdateTasksToAssigned (#2094)
* fix: prune partitions, join on full PK

* fix: subquery

* fix: check validity
v0.70.3
2025-08-06 15:04:00 -04:00
Mohammed Nafees
889210da7c add telemetry to task status repo methods (#2091) 2025-08-06 13:34:59 -04:00
Gabe Ruttner
c6fd39b4e0 fix: ProcessTaskTimeouts limit and timeout (#2087)
* limit and timeout

* right query

* configurable

* limit

* env vars
v0.70.2
2025-08-06 08:42:07 -04:00
Mohammed Nafees
89e6d00a8f Add telemetry around task statuses in controller (#2090)
* add telemetry around task statuses in controller

* fixes

* more fixes
2025-08-06 08:41:54 -04:00
dependabot[bot]
67e8e89f95 chore(deps): bump google.golang.org/api from 0.244.0 to 0.245.0 (#2088)
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.244.0 to 0.245.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.244.0...v0.245.0)

---
updated-dependencies:
- dependency-name: google.golang.org/api
  dependency-version: 0.245.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-08-06 04:46:22 +00:00
matt
9ad051cd8f fix: doc location (#2082) v0.70.1 2025-08-04 19:42:54 -04:00
matt
1776648382 Fix: Webhook copy improvements (#2081)
* fix: webhook empty state

* feat: improve copy

* fix: one more copy fix

* fix: colors and icons
2025-08-04 16:11:42 -04:00
abelanger5
28304e39c0 Merge pull request #2065 from hatchet-dev/v0.70.0
v0.70.0
v0.70.0
2025-08-04 13:06:00 -04:00
Mohammed Nafees
0b646316f1 Add GRPC callback interceptor and correlation IDs to respective API and GRPC handlers (#2073)
* chore(deps): bump hatchet-sdk in /examples/python/quickstart (#2070)

Bumps hatchet-sdk from 1.16.3 to 1.16.4.

---
updated-dependencies:
- dependency-name: hatchet-sdk
  dependency-version: 1.16.4
  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>

* chore(deps): bump google.golang.org/api from 0.243.0 to 0.244.0 (#2071)

Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.243.0 to 0.244.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.243.0...v0.244.0)

---
updated-dependencies:
- dependency-name: google.golang.org/api
  dependency-version: 0.244.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>

* add grpc callback interceptor

* add correlation id to more endpoints

* fix string interpolation payment methods (#2072)

* hotfix: empty scope in OLAP replication (#2068)

* fix lint

* update comment

* feat: activity detection (#2055)

* feat: activity detection

* address comments

* chore(deps): bump github.com/prometheus/client_golang (#2074)

Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.22.0 to 1.23.0.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/v1.23.0/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.22.0...v1.23.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
  dependency-version: 1.23.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 github.com/getsentry/sentry-go from 0.34.1 to 0.35.0 (#2075)

Bumps [github.com/getsentry/sentry-go](https://github.com/getsentry/sentry-go) from 0.34.1 to 0.35.0.
- [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.1...v0.35.0)

---
updated-dependencies:
- dependency-name: github.com/getsentry/sentry-go
  dependency-version: 0.35.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>

* add resource id and type

* update grpc callback middleware

* fix v0 trigger

* use constants

* fix values

* use constants

* use string declared method

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: matt <mrkaye97@gmail.com>
Co-authored-by: Gabe Ruttner <gabriel.ruttner@gmail.com>
2025-08-04 12:29:01 -04:00
mrkaye97
16aaafafc1 Merge branch 'main' into v0.70.0 2025-08-04 12:23:12 -04:00
matt
13b2e1d26c Fix: Propagate priority through to DAG subtasks (#2078)
* feat: add priority column to v1_match

* feat: wire up writes

* fix: more wiring

* fix: migration name
2025-08-04 12:22:28 -04:00
matt
c44c70bd0c Debug: Add debug logs around put log method (#2079)
* feat: add logger to ingestor

* debug: add a bunch of debug logs

* fix: add prefix for grep

* fix:  copilot

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* fix: panic

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-04 11:19:07 -04:00
dependabot[bot]
e84106864e chore(deps): bump github.com/getsentry/sentry-go from 0.34.1 to 0.35.0 (#2075)
Bumps [github.com/getsentry/sentry-go](https://github.com/getsentry/sentry-go) from 0.34.1 to 0.35.0.
- [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.1...v0.35.0)

---
updated-dependencies:
- dependency-name: github.com/getsentry/sentry-go
  dependency-version: 0.35.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-08-01 05:07:18 +00:00
dependabot[bot]
b83f5fade7 chore(deps): bump github.com/prometheus/client_golang (#2074)
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.22.0 to 1.23.0.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/v1.23.0/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.22.0...v1.23.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
  dependency-version: 1.23.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-08-01 05:07:07 +00:00
matt
8480228d79 Fix: Allow bypassing partitioning for events lookup table (#2054)
* fix: allow olap events lt to not be partitioned manually

* chore: gen

* chore: gen
2025-07-31 18:18:49 -04:00
Mohammed Nafees
cc1331c59f Use PostgreSQL advisory lock to create task table partitions instead of depending on internal tenant (#1991)
* use pg advisory lock for task table partition

* fix lint

* use a separate transaction for advisory lock

* fix lint

* use PrepareTx

* short circuit return fast if partitions already exist

---------

Co-authored-by: mrkaye97 <mrkaye97@gmail.com>
2025-07-31 18:18:15 -04:00
Gabe Ruttner
0ddd6a2852 feat: activity detection (#2055)
* feat: activity detection

* address comments
2025-07-31 07:54:15 -07:00