Commit Graph

2070 Commits

Author SHA1 Message Date
matt
6efdba02e8 [Python]: Hotfix: Pydantic serialization error from failing to encode bytes (#2602)
* hotfix: handle pydantic serialization errors

* chore: changelog

* fix(python-sdk): Fix RateLimit validation incorrectly rejects valid CEL expression strings (#2536)

* fix(python-sdk): Fix RateLimit validation incorrectly rejects valid CEL expression strings

* fix(python-sdk): Update RateLimit validation to use union type for limit instead of tuple syntax

* chore(python-sdk): update changelog and bump the patch version to 1.21.4

---------

Co-authored-by: mrkaye97 <mrkaye97@gmail.com>

---------

Co-authored-by: miyelani-inc <139712015+miyelani-inc@users.noreply.github.com>
v0.73.79
2025-12-04 14:22:49 -05:00
abelanger5
9dabe7d902 feat: dlq for dispatcher queues (#2600)
* feat: dlq for dispatcher queues

* reduce dispatcher message ttl to 20 seconds

* rename dispatcher queue for clarity

* add error logs when dead lettering

* address comment
2025-12-04 14:19:01 -05:00
Mohammed Nafees
cf18b31218 Initialize concurrency keys slice for replayed tasks (#2549)
* make sure concurrency keys for replayed tasks are initialized as expected

* no need for useless allocs

* revert change for insertTasks

* panic catch

* uncomment fix
2025-12-04 22:29:30 +05:30
dependabot[bot]
9bbd743614 chore(deps): bump github.com/spf13/cobra from 1.10.1 to 1.10.2 (#2599)
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.10.1 to 1.10.2.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](https://github.com/spf13/cobra/compare/v1.10.1...v1.10.2)

---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
  dependency-version: 1.10.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-12-04 04:09:40 +00:00
abelanger5
d071a1c36b fix: prevent large worker gRPC stream backlogs (#2597)
* fix: prevent large worker backlogs

* add config value

* add doc for troubleshooting
v0.73.78
2025-12-03 17:15:43 -05:00
Andrei Gaspar
2dfdd9dd0c fix: Don't trigger posthog Pageview on query param changes (#2598) 2025-12-03 13:00:48 -05:00
dependabot[bot]
d46c5cd96b chore(deps): bump google.golang.org/api from 0.256.0 to 0.257.0 (#2596)
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.256.0 to 0.257.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.256.0...v0.257.0)

---
updated-dependencies:
- dependency-name: google.golang.org/api
  dependency-version: 0.257.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-12-03 04:10:05 +00:00
abelanger5
63b0d7c411 update local rabbitmq to 4.x (#2593) v0.73.77 2025-12-02 13:05:46 -05:00
abelanger5
3cbda9120a fix: load shed on slow worker backlogs (#2595) 2025-12-02 13:05:33 -05:00
Andrei Gaspar
36afeece02 Cross-Domain Tracking and Analytics Refactoring (#2587)
* feat: Implement cross-domain tracking (docs -> app)

* fix: Eslint config path issue

* feat: Implement posthog provider

* Revert "fix: Eslint config path issue"

This reverts commit 2baf56819a.

* feat: Implement wildcard support in analytics cross domain targets
2025-12-02 11:52:15 -05:00
abelanger5
3f5c243325 fix: move check for large payloads to after json.Marshal (#2594) v0.73.76 2025-12-02 11:45:37 -05:00
abelanger5
d906a441d4 fix: ensure that slow worker doesn't interrupt dispatcher, guard large RabbitMQ pubs (#2591)
* ensure that slow worker doesn't interrupt dispatcher

* fix: large payload pub issues

* add comments

* fix: review comments
v0.73.75
2025-12-02 09:54:54 -05:00
Gabe Ruttner
1e2a587b21 fix: GetLatestWorkflowVersionForWorkflows (#2590)
* fix query

* gen
2025-12-02 05:14:08 -08:00
Andrei Gaspar
00fda4c377 Setup PostHog and Integrate with Cookie Banner Component (#2557)
* feat: Setup posthog and integrate with cookie banner component

* refactor: Improved error handling
2025-11-28 15:22:35 -05:00
matt
beea49ad30 Feat: Add sent to worker event in the dispatcher (#2584)
* feat: event for sent to worker

* fix: simplify a bit

* fix: don't pub on err
v0.73.74
2025-11-28 12:58:21 -05:00
Andrei Gaspar
f032d0b89e Fix Dev Setup for Linux Environment Compatibility (#2556)
* fix: Fstring syntax error in snippet generation

* fix: Use bash explicitly for shell scripts in Taskfile

* fix: Add missing rabbit mq env variables to Taskfile
2025-11-28 11:59:38 -05:00
matt
a3a608bf54 Fix: Doc Linters (#2577)
* fix: prettier path

* chore: lint
2025-11-28 11:52:39 -05:00
dependabot[bot]
f2b921d4c6 chore(deps): bump github.com/getsentry/sentry-go from 0.39.0 to 0.40.0 (#2583)
Bumps [github.com/getsentry/sentry-go](https://github.com/getsentry/sentry-go) from 0.39.0 to 0.40.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.39.0...v0.40.0)

---
updated-dependencies:
- dependency-name: github.com/getsentry/sentry-go
  dependency-version: 0.40.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-11-28 04:10:35 +00:00
dependabot[bot]
2825ab251b chore(deps): bump hatchet-sdk in /examples/python/quickstart (#2579)
Bumps hatchet-sdk from 1.21.2 to 1.21.3.

---
updated-dependencies:
- dependency-name: hatchet-sdk
  dependency-version: 1.21.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-11-27 04:19:26 +00:00
dependabot[bot]
0d16995b58 chore(deps): bump github.com/go-co-op/gocron/v2 from 2.18.1 to 2.18.2 (#2578)
Bumps [github.com/go-co-op/gocron/v2](https://github.com/go-co-op/gocron) from 2.18.1 to 2.18.2.
- [Release notes](https://github.com/go-co-op/gocron/releases)
- [Commits](https://github.com/go-co-op/gocron/compare/v2.18.1...v2.18.2)

---
updated-dependencies:
- dependency-name: github.com/go-co-op/gocron/v2
  dependency-version: 2.18.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-11-27 04:10:48 +00:00
Sid Premkumar
709dd89a18 Add gzip compression (#2539)
* Add gzip compression init

* revert

* Feat: Initial cross-domain identify setup (#2533)

* feat: initial setup

* fix: factor out

* chore: lint

* fix: xss vuln

* feat: set up properly

* fix: lint

* fix: key

* fix: keys, cleanup

* Fix: use sessionStorage instead of localStorage (#2541)

* chore(deps): bump golang.org/x/crypto from 0.44.0 to 0.45.0 (#2545)

Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.44.0 to 0.45.0.
- [Commits](https://github.com/golang/crypto/compare/v0.44.0...v0.45.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-version: 0.45.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/osv-scanner-action/.github/workflows/osv-scanner-reusable-pr.yml (#2547)

Bumps [google/osv-scanner-action/.github/workflows/osv-scanner-reusable-pr.yml](https://github.com/google/osv-scanner-action) from 2.2.4 to 2.3.0.
- [Release notes](https://github.com/google/osv-scanner-action/releases)
- [Commits](https://github.com/google/osv-scanner-action/compare/v2.2.4...v2.3.0)

---
updated-dependencies:
- dependency-name: google/osv-scanner-action/.github/workflows/osv-scanner-reusable-pr.yml
  dependency-version: 2.3.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>

* [Go SDK] Resubscribe and get a new listener stream when gRPC connections fail (#2544)

* fix listener cache issue to resubscribe when erroring out

* worker retry message clarification (#2543)

* add another retry layer and add comments

* fix loop logic

* make listener channel retry

* Compression test utils, and add log to indicate its enabled

* clean + fix

* more fallbacks

* common pgxpool afterconnect method (#2553)

* remove

* lint

* lint

* add cpu monitor during test

* fix background monitor and lint

* Make envvar to disable compression

* cleanup monitoring

* PR Feedback

* Update paths in compression tests + bump package versions

* path issue on test script

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: matt <mrkaye97@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mohammed Nafees <hello@mnafees.me>
v0.73.73
2025-11-26 17:14:38 -05:00
matt
be9c7df026 Fix: Noisy Payload Error (#2561)
* fix: noisy error

* fix: only error if the task is completed but has no payload
2025-11-26 17:04:37 -05:00
Gabe Ruttner
3e5f737ef5 fix: query optimization get latest workflow version (#2576) v0.73.72 2025-11-26 08:56:20 -08:00
matt
9a6d2b5e8f Feat: Add tooltip showing full step name on hover (#2563)
* fix: panic

* fix: add tooltip

* debug: remove parallel

* debug: try running against staging

* fix: revert ci changes
2025-11-25 17:27:24 -05:00
Gabe Ruttner
c920d54519 analyze v1 lookup table (#2568)
Co-authored-by: matt <mrkaye97@gmail.com>
2025-11-25 17:25:40 -05:00
matt
727a8fe470 Fix: OLAP Task Event Dual Write Bug (#2572)
* fix: task events bug

* fix: fallback bug

* fix: simplfiy test
2025-11-25 17:24:56 -05:00
matt
8350cb2205 Revert "optimize UUID sqlchelpers (#2532)" (#2571)
This reverts commit 9a09105e52.
2025-11-25 12:10:34 -05:00
dependabot[bot]
20b3b7734b chore(deps): bump github.com/go-co-op/gocron/v2 from 2.18.0 to 2.18.1 (#2566)
Bumps [github.com/go-co-op/gocron/v2](https://github.com/go-co-op/gocron) from 2.18.0 to 2.18.1.
- [Release notes](https://github.com/go-co-op/gocron/releases)
- [Commits](https://github.com/go-co-op/gocron/compare/v2.18.0...v2.18.1)

---
updated-dependencies:
- dependency-name: github.com/go-co-op/gocron/v2
  dependency-version: 2.18.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-11-25 04:11:52 +00:00
dependabot[bot]
7492b801a9 chore(deps): bump github.com/getsentry/sentry-go from 0.38.0 to 0.39.0 (#2565)
Bumps [github.com/getsentry/sentry-go](https://github.com/getsentry/sentry-go) from 0.38.0 to 0.39.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.38.0...v0.39.0)

---
updated-dependencies:
- dependency-name: github.com/getsentry/sentry-go
  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>
2025-11-25 04:11:40 +00:00
Mohammed Nafees
9a09105e52 optimize UUID sqlchelpers (#2532) 2025-11-24 16:50:21 +01:00
dependabot[bot]
69cfaf5a67 chore(deps): bump github.com/posthog/posthog-go from 1.6.12 to 1.6.13 (#2558)
Bumps [github.com/posthog/posthog-go](https://github.com/posthog/posthog-go) from 1.6.12 to 1.6.13.
- [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.12...v1.6.13)

---
updated-dependencies:
- dependency-name: github.com/posthog/posthog-go
  dependency-version: 1.6.13
  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-11-24 04:18:22 +00:00
Jonathan Ho
de148eb6d8 Fix: Add whitespace-pre to log (#2555)
* Add whitespace-pre to log

* fix: use pre-wrap for log lines to preserve formatting
2025-11-22 19:40:09 -05:00
Gabe Ruttner
c6709bac32 ops: add spans to worker list handler (#2554)
* add spans

* no top level span
2025-11-21 11:24:13 -08:00
Mohammed Nafees
7bb3e1da8d common pgxpool afterconnect method (#2553) v0.73.71 2025-11-21 14:55:04 +01:00
Mohammed Nafees
f66fe63ad0 [Go SDK] Resubscribe and get a new listener stream when gRPC connections fail (#2544)
* fix listener cache issue to resubscribe when erroring out

* worker retry message clarification (#2543)

* add another retry layer and add comments

* fix loop logic

* make listener channel retry
v0.73.70
2025-11-20 19:13:24 +01:00
dependabot[bot]
d3f0cc499e chore(deps): bump google/osv-scanner-action/.github/workflows/osv-scanner-reusable-pr.yml (#2547)
Bumps [google/osv-scanner-action/.github/workflows/osv-scanner-reusable-pr.yml](https://github.com/google/osv-scanner-action) from 2.2.4 to 2.3.0.
- [Release notes](https://github.com/google/osv-scanner-action/releases)
- [Commits](https://github.com/google/osv-scanner-action/compare/v2.2.4...v2.3.0)

---
updated-dependencies:
- dependency-name: google/osv-scanner-action/.github/workflows/osv-scanner-reusable-pr.yml
  dependency-version: 2.3.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-11-20 04:11:10 +00:00
dependabot[bot]
17ea0900f0 chore(deps): bump golang.org/x/crypto from 0.44.0 to 0.45.0 (#2545)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.44.0 to 0.45.0.
- [Commits](https://github.com/golang/crypto/compare/v0.44.0...v0.45.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-version: 0.45.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-11-20 04:10:25 +00:00
matt
d637c731f7 Fix: use sessionStorage instead of localStorage (#2541) v0.73.68 2025-11-18 14:35:48 -05:00
matt
16b9ae4700 Feat: Initial cross-domain identify setup (#2533)
* feat: initial setup

* fix: factor out

* chore: lint

* fix: xss vuln

* feat: set up properly

* fix: lint

* fix: key

* fix: keys, cleanup
v0.73.67
2025-11-18 13:30:37 -05:00
dependabot[bot]
d77c5d8e3e chore(deps): bump google.golang.org/grpc from 1.76.0 to 1.77.0 (#2535)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.76.0 to 1.77.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.76.0...v1.77.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-version: 1.77.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-11-18 04:12:54 +00:00
dependabot[bot]
ab08b4b325 chore(deps): bump github.com/getsentry/sentry-go from 0.37.0 to 0.38.0 (#2534)
Bumps [github.com/getsentry/sentry-go](https://github.com/getsentry/sentry-go) from 0.37.0 to 0.38.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.37.0...v0.38.0)

---
updated-dependencies:
- dependency-name: github.com/getsentry/sentry-go
  dependency-version: 0.38.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-11-18 04:11:49 +00:00
abelanger5
2249ef3b79 fix: small scheduler optimizations (#2426)
* fix: actually increment snapshot count

* add a context with timeout to wrap replenish
2025-11-17 15:45:14 -05:00
matt
62a163d835 Fix: Revert n+1 queries on the list API (#2531)
* feat: revert query

* feat: revert n+1 query

* feat: revert another n+1 query

* fix: payloads
v0.73.66
2025-11-17 10:54:05 -05:00
dependabot[bot]
1af052c280 chore(deps): bump hatchet-sdk in /examples/python/quickstart (#2530)
Bumps hatchet-sdk from 1.21.1 to 1.21.2.

---
updated-dependencies:
- dependency-name: hatchet-sdk
  dependency-version: 1.21.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-11-17 04:18:34 +00:00
matt
13402ef940 Feat: REST API Instrumentation (#2529)
* feat: instrument the api

* fix: fmt

* fix: paths

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-14 13:49:40 -05:00
Mohammed Nafees
8842a2a9cf Case on conflict for v1_statuses_olap entry (#2528)
* case on conflict for v1_statuses_olap

* fix sql
v0.73.65
2025-11-14 17:18:35 +01:00
matt
bef8e916d2 fix: worker fixture (#2527) 2025-11-14 11:18:20 -05:00
Mohammed Nafees
49b11b2548 Fix seq scan in PollCronSchedules query (#2524)
* fix seq scan

* new CTE

* fmt
2025-11-14 17:15:39 +01:00
matt
7588746d0b Hotfix: Log dupes (#2526)
* hotfix: log dupes

* fix: copilot
2025-11-14 11:05:35 -05:00
Mohammed Nafees
3f28a6c45b Fix nil error in handleTaskBulkAssignedTask (#2427)
* continue from loop when bulk retrieve for payload fails

* nil map fix

* revert space
2025-11-14 21:33:42 +05:30