Commit Graph

2084 Commits

Author SHA1 Message Date
matt
35d1cff963 refactor: simplify external store signature (#2616) v0.73.86 2025-12-08 14:53:52 -05:00
Sid Premkumar
958448a5a3 Fix slack challenge + interactive webhook (#2612)
* Fix slack challage

* ensure we continue if its not a challange

* fix

* update doc string

* PR feedback + lint

* more debug logs

* more logging

* more logging

* clean

* revert challange stuff + update error message

* Update log + error message

* More warn + unsanitized returns
v0.73.85
2025-12-08 11:37:00 -05:00
Sid Premkumar
7651cdd58e Update Expression Page + Slack Webhook Onboarding (#2614)
* better slack webhook onboarding

* lint

* lint again

* lint again

* lint again?

* chore: lint

* fix

* Pr feedback

* lint

* lint

---------

Co-authored-by: mrkaye97 <mrkaye97@gmail.com>
2025-12-08 11:11:16 -05:00
matt
bede3efe0d Feat: Process all old partitions in a loop (#2613)
* feat: process old partitions in a loop

* fix: param

* fix: query return

* feat: add spans

* fix: naming
v0.73.84
2025-12-08 11:00:24 -05:00
matt
cebf3a6fa7 [Python] Fix: Raise on un-serializable task output (#2562)
* fix: raise on illegal output

* chore: version, changelog
2025-12-08 09:49:20 -05:00
Mohammed Nafees
5f7b149b5b Add guide for downgrading versions (#2588)
* add downgrading guide and migrate cmd

* cleanup
v0.73.83
2025-12-08 12:18:01 +01:00
github-actions[bot]
44b3619bd8 chore: regenerate examples (#2615)
Co-authored-by: GitHub Action <action@github.com>
2025-12-07 16:39:40 -05:00
Jishnu
7ab13d3b46 feat: add logs client for go sdk, logs client go example (#2550)
* feat: add logs client for go sdk, logs client go example

* add: comment-based markup for go sdk log example

---------

Co-authored-by: matt <mrkaye97@gmail.com>
2025-12-07 16:38:01 -05:00
matt
34090a71f2 fix: add validation (#2610) v0.73.82 2025-12-05 14:30:05 -05:00
Andrei Gaspar
64488d2318 fix: Skip relative URLs when checking cross domain links (#2608) 2025-12-05 14:16:56 -05:00
matt
7e48ac7d02 Fix: Leasing for payload job (#2609)
* refactor: acquire a lease instead of an advisory lock

* refactor: partition dates

* fix: single query to acquire / extend

* fix: explicit alias

* fix: unwind

* fix: hwere clause

* fix: handle no rows

* fix: lease bug

* fix: rm debug

* fix: comment for clarity

* fix: syntax that doesn't actually matter

* fix: error
v0.73.81
2025-12-05 13:55:59 -05:00
matt
18940869ae Feat: Job for payload cutovers to external (#2586)
* feat: initial payload cutover job

* refactor: fix a couple things

* feat: start wiring up writes

* feat: only run job if external store is enabled

* fix: add some notes, add loop

* feat: function for reading out payloads

* fix: date handling, logging

* feat: remove wal and immediate offloads

* feat: advisory lock

* feat: partition swap logic

* fix: rm debug

* fix: add todo

* fix: sql cleanup

* fix: sql cleanup, ii

* chore: nuke a bunch of WAL stuff

* chore: more wal

* feat: trigger for crud opts

* feat: drop trigger + function in swapover

* feat: move autovac to later

* feat: use unlogged table initially

* feat: update migration

* fix: drop trigger

* fix: use insert + on conflict

* fix: types

* refactor: clean up a bit

* fix: panic

* fix: detach partition before dropping

* feat: configurable batch size

* feat: offset tracking in the db

* feat: explicitly lock

* fix: down migration

* fix: bug

* fix: offset handling

* fix: try explicit ordering of the insert

* fix: lock location

* fix: do less stuff after locking

* fix: ordering

* fix: dont drop and recreate if temp table exists

* fix: explicitly track completed status

* fix: table name

* fix: dont use unlogged table

* fix: rm todos

* chore: lint

* feat: configurable delay

* fix: use date as pk instead of varchar

* fix: daily job

* fix: hack check constraint to speed up partition attach

* fix: syntax

* fix: syntax

* fix: drop constraint after attaching

* fix: syntax

* fix: drop triggers properly

* fix: factor out insert logic

* refactor: factor out loop logic

* refactor: factor out job preparation work

* fix: ordering

* fix: run the job more often

* fix: use `WithSingletonMode`

* fix: singleton mode sig

* fix: env var cleanup

* fix: overwrite sig

* fix: re-enable immediate offloads with a flag

* fix: order, offload at logic

* feat: add count query to compare

* fix: row-level triggers, partition time bug

* fix: rm todo

* fix: for true

* fix: handle lock not acquired

* fix: handle error

* fix: comment
v0.73.80
2025-12-05 10:54:26 -05:00
Sid Premkumar
8be9d21ec2 Fix double toast on sidebar (#2607) 2025-12-05 10:13:27 -05:00
dependabot[bot]
ca2c8e151e chore(deps): bump hatchet-sdk in /examples/python/quickstart (#2603)
Bumps hatchet-sdk from 1.21.3 to 1.21.4.

---
updated-dependencies:
- dependency-name: hatchet-sdk
  dependency-version: 1.21.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-12-05 04:17:31 +00:00
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