Commit Graph

261 Commits

Author SHA1 Message Date
github-actions[bot]
af0f04b3f1 chore: regenerate examples (#3203)
Co-authored-by: GitHub Action <action@github.com>
2026-03-09 13:35:49 +02:00
dependabot[bot]
b0c99b2028 chore(deps): bump hatchet-sdk in /examples/python/quickstart (#3212)
Bumps hatchet-sdk from 1.28.0 to 1.28.1.

---
updated-dependencies:
- dependency-name: hatchet-sdk
  dependency-version: 1.28.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>
2026-03-09 04:29:21 +00:00
Gabe Ruttner
2a98243cd4 chore: update eslint and other packages (#3202)
* fix: eslint for local dev

* chore: eslint v8 -> 10

* fix: flyby bug

* chore: remove many anys

* chore: update dependencies

* chore: lint
2026-03-08 13:11:51 -07:00
github-actions[bot]
061787fb48 chore: regenerate examples (#3189)
Co-authored-by: GitHub Action <action@github.com>
2026-03-06 12:59:43 -05:00
github-actions[bot]
b5107b052c chore: regenerate examples (#3184)
Co-authored-by: GitHub Action <action@github.com>
2026-03-06 09:59:21 -05:00
Mohammed Nafees
00b53529bd Add missing Go SDK examples for worker affinity and manual slot release (#3179)
* add missing Go SDK examples for affinity and manual slot release

* fix gen
2026-03-06 01:51:27 +01:00
dependabot[bot]
318575f4cf chore(deps): bump hatchet-sdk in /examples/python/quickstart (#3171)
Bumps hatchet-sdk from 1.27.2 to 1.28.0.

---
updated-dependencies:
- dependency-name: hatchet-sdk
  dependency-version: 1.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>
2026-03-05 04:25:04 +00:00
github-actions[bot]
a78ec7bb06 chore: regenerate examples (#3163)
Co-authored-by: GitHub Action <action@github.com>
2026-03-04 17:47:47 -05:00
Gabe Ruttner
5babd09679 docs: chunky overhaul (#3129)
* improve overall docs structure and things
2026-03-04 14:33:15 -08:00
matt
6c29e48204 Feat: Dynamic worker label assign (#3137)
* feat: initial wiring work on desired labels

* feat: initial wiring

* chore: gen python

* fix: use the whole desired label thing instead

* fix: more wiring, improve types

* fix: sql type

* fix: len check

* chore: gen python

* fix: initial plural label work

* fix: store the labels properly on the task

* fix: skip cache on override

* fix: bug

* fix: scoping bug whoops

* chore: lint

* fix: send labels back over the api correctly

* feat: python test

* fix: lint

* fix: comment

* fix: override

* fix: namespaces, ugh

* fix: no need for error here

* chore: version

* feat: ruby, go, ts

* feat: versions

* fix: appease the rubocop

* chore: lint

* chore: bundle install

* fix: tests

* chore: lint

* chore: lint more

* fix: ts test

* fix: rb

* chore: gen

* chore: reset gemfile

* chore: reset changelog

* fix: pgroup

* fix: tests, part i

* Revert "chore: reset changelog"

This reverts commit b63bf7d3e5.

* Revert "chore: reset gemfile"

This reverts commit bb848bb6f0.

* fix: go -> golang mapping hack

* fix: go enums

* fix: appease the cop

* fix: namespace

* chore: gen
2026-03-04 11:03:58 -05:00
dependabot[bot]
d46c873e2e chore(deps): bump hatchet-sdk in /examples/python/quickstart (#3133)
Bumps hatchet-sdk from 1.26.2 to 1.27.2.

---
updated-dependencies:
- dependency-name: hatchet-sdk
  dependency-version: 1.27.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>
2026-03-02 04:30:47 +00:00
Gabe Ruttner
5a79618824 chore: deprecate ts v0 (#2960)
* rip ts v0: keep only TypeScript SDK changes

Cherry-pick TypeScript changes from rip--ts-v0 onto main,
discarding all non-TS changes (Go, Python, proto, SQL, etc.)

Made-with: Cursor

* merge: main into branch

* chore: rm redundant examples

* fix: tests

* fix: tests

* tests: speed em up

* tests: unskip

* tests: add missing p1s

* version: bump to 1.14.0

* chore: generate

* fix: release version

* chore: generate

* chore: rm legacy examples

* tests: timeouts...

* chore: remove unused config

* refactor: minimize dependency on legacy client

* refactor: rename V1Worker to InternalWorker and update references

* chore: lint

* tests: one big worker

* chore: lint

* chore: generate and test fixture tweaks

* tests: debug logs

* tests: stable order

* fix: abortable sleep

* tests: log artifacts on CI failure

* tmp: tmate

* chore: lint

* test: remove tmate

* chore: generate

* tmate

* tmate alwasy

* fix: log level

* fix: casing

* chore: remove tmate

* chore: consistent naming

* fix: test

* test: skip flaky test

* fix: casing

* chore: gen

* chore: lint

* revert: dependency version changes
2026-03-01 16:06:56 -08:00
Gabe Ruttner
8796d0ab7d chore: update dependencies for dependabot alerts (#3119)
* chore: update dependencies for dependabot alerts

* chore: bump main deps instead

* release: bump versions

* chore: bump gem

* chore: update hatchet-sdk to version 0.1.1 in Gemfile.lock
2026-02-28 06:48:15 -08:00
dependabot[bot]
13503f3dae chore(deps): bump hatchet-sdk in /examples/python/quickstart (#3118)
Bumps hatchet-sdk from 1.26.0 to 1.26.2.

---
updated-dependencies:
- dependency-name: hatchet-sdk
  dependency-version: 1.26.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>
2026-02-27 04:24:41 +00:00
Mohammed Nafees
ef2c01a499 Add ctx.WasSkipped helper to the Go SDK (#3094)
* introduce ctx.WasSkipped just like Py SDK

* fix lint and example
2026-02-26 17:56:45 +01:00
dependabot[bot]
204cc36103 chore(deps): bump hatchet-sdk in /examples/python/quickstart (#3109)
Bumps hatchet-sdk from 1.25.2 to 1.26.0.

---
updated-dependencies:
- dependency-name: hatchet-sdk
  dependency-version: 1.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>
2026-02-26 04:24:16 +00:00
github-actions[bot]
c5afa138c1 chore: regenerate examples (#3098)
Co-authored-by: GitHub Action <action@github.com>
2026-02-25 08:55:23 -05:00
github-actions[bot]
47f34f2587 chore: regenerate examples (#3084)
Co-authored-by: GitHub Action <action@github.com>
2026-02-23 14:48:09 +01:00
Gabe Ruttner
de68e1375a Feat: typescript middleware (#3066)
* feat: typed middleware

* feat: chaining

* feat: typed global input

* feat: typed global output

* feat: inferred types from middleware

* feat: with chaining

* docs: initial pass

* feat: implicit chaining

* fix: implicit spread

* docs: separate examples

* refactor: rename middleware hooks from `pre`/`post` to `before`/`after` for consistency

* fix: search

* chore: lint

* fix: tests

* Update frontend/docs/pages/home/middleware.mdx

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

* release: 1.13.0

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-23 04:16:00 -08:00
dependabot[bot]
9c13ce9e36 chore(deps): bump hatchet-sdk in /examples/python/quickstart (#3063)
Bumps hatchet-sdk from 1.25.0 to 1.25.2.

---
updated-dependencies:
- dependency-name: hatchet-sdk
  dependency-version: 1.25.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>
2026-02-20 04:24:35 +00:00
matt
0cce1cfc04 Revert: Cancellation token Python changes (#3061)
* revert: cancellation token changes

* fix: changelog

* fix: add note on yank
2026-02-19 12:41:43 -05:00
dependabot[bot]
e13721b24a chore(deps): bump hatchet-sdk in /examples/python/quickstart (#3051)
Bumps hatchet-sdk from 1.24.0 to 1.25.0.

---
updated-dependencies:
- dependency-name: hatchet-sdk
  dependency-version: 1.25.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>
2026-02-18 04:24:41 +00:00
github-actions[bot]
6f41c80fca chore: regenerate examples (#3043)
Co-authored-by: GitHub Action <action@github.com>
2026-02-17 15:25:45 -05:00
Gabe Ruttner
0a3ad9e3f7 Feat improved py cancellation (#2965)
* lint

* lint

* fix lockfile

* py test

* improved cancellation signaling

* feedback

* exit early

* cleanup

* cleanup

* rm unused

* chore: lint py

* Chore: Fix Python linters, regenerate (#2966)

* chore: regenerate python

* chore: bump and pin linter versions

* chore: run the linters

* fix: replace deprecated `grpc-stubs` with `types-grpcio`

* chore: add some fixmes

* chore: fix grpc version

* fix: patched file import order

* lint

* revert: go whitespace

* chore: feedback round i

* chore: feedback ii

* chore: feedback

* chore: lint

* release: 1.25.0

* revert: worker to main

---------

Co-authored-by: matt <mrkaye97@gmail.com>
2026-02-17 07:16:59 -08:00
Gabe Ruttner
2fdc47a6af feat: multiple slot types (#2927)
* feat: adds support for multiple slot types, primarily motivated by durable slots

---------

Co-authored-by: mrkaye97 <mrkaye97@gmail.com>
2026-02-17 05:43:47 -08:00
Mohammed Nafees
eefbcdc532 Return event ID after successful webhook trigger (#3039)
* return webhook event ID on successful receive

* fix pytest

* err handling for json unmarshal

* if clause
2026-02-16 18:36:51 +01:00
dependabot[bot]
36038fa610 chore(deps): bump hatchet-sdk in /examples/python/quickstart (#3038)
Bumps hatchet-sdk from 1.23.3 to 1.24.0.

---
updated-dependencies:
- dependency-name: hatchet-sdk
  dependency-version: 1.24.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>
2026-02-16 04:32:37 +00:00
Gabe Ruttner
7875d78057 Feat: Official Ruby SDK (#3004)
* feat: initial ruby sdk

* fix: run listener

* fix: scope

* feat: rest feature clients

* fix: bugs

* fix: concurrent register

* fix: tests and ergonomics

* docs: all of them

* chore: lint

* feat: add RBS

* feat: add GitHub Actions workflow for Ruby SDK with linting, testing, and publishing steps

* chore: lint

* refactor: simplify load path setup for Hatchet REST client and remove symlink creation

* fix: cert path

* fix: test

* fix: blocking

* fix: ensure Hatchet client is only initialized once across examples

* fix: tests

* remove: unused example

* fix: bubble up errors

* test: skip flaky for now

* remove: lifespans

* fix: durable context bugs

* fix: bulk replay

* fix: tests

* cleanup: generate tooling

* fix: integration test

* chore: lint

* release: 0.1.0

* chore: remove python comments

* refactor: remove OpenTelemetry configuration and related unused options

* fix: default no healthcheck

* chore: lockfile

* feat: register as ruby

* chore: lint

* chore: update py/ts apis to include ruby

* chore: docs pass

* chore: lint

* chore: generate

* chore: cleanup

* chore: generate examples

* tests: add e2e tests

* tests: cache examples dependencies

* fix: namespace

* fix: namespace

* fix: namespaces

* chore:lint

* fix: improve cancellation workflow polling logic and add error handling

* revert: py/ts versions
2026-02-15 14:32:15 -08:00
Jishnu
9e0182ec77 feat: add python and typescript webhook client (#2959)
* feat: add python webhook client

* refactor: python webhook client, webhook tests

* add: ts webhook client, example

* remove unwanted assert

* refactor: webhook update eventkey optional

* fix lint

* bump version

* fix: webhooks.create args, webhook example

* fix: infer auth_type from auth payload python

* fix: infer auth type from payload ts

* remove auth type magic strings
2026-02-13 14:04:08 -05:00
github-actions[bot]
c922830c77 chore: regenerate examples (#3018)
Co-authored-by: GitHub Action <action@github.com>
2026-02-13 11:24:46 -05:00
dependabot[bot]
bdb965fa8f chore(deps): bump hatchet-sdk in /examples/python/quickstart (#3016)
Bumps hatchet-sdk from 1.23.2 to 1.23.3.

---
updated-dependencies:
- dependency-name: hatchet-sdk
  dependency-version: 1.23.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>
2026-02-13 04:24:26 +00:00
github-actions[bot]
ccbc700b35 chore: regenerate examples (#3014)
Co-authored-by: GitHub Action <action@github.com>
2026-02-12 18:08:52 -05:00
Greg Furman
d0bb7f9baf chore(go): Format and lint Go examples (#3009) 2026-02-12 18:02:16 -05:00
dependabot[bot]
0ed9cc1ab9 chore(deps): bump hatchet-sdk in /examples/python/quickstart (#3002)
Bumps hatchet-sdk from 1.23.1 to 1.23.2.

---
updated-dependencies:
- dependency-name: hatchet-sdk
  dependency-version: 1.23.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>
2026-02-12 04:25:15 +00:00
dependabot[bot]
8c361120d5 chore(deps): bump hatchet-sdk in /examples/python/quickstart (#2993)
Bumps hatchet-sdk from 1.23.0 to 1.23.1.

---
updated-dependencies:
- dependency-name: hatchet-sdk
  dependency-version: 1.23.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>
2026-02-11 04:24:28 +00:00
github-actions[bot]
ad5d3cffcc chore: regenerate examples (#2987)
Co-authored-by: GitHub Action <action@github.com>
2026-02-10 20:19:51 -05:00
Greg Furman
80dc9786fd chore: run go-fmt (#2984) 2026-02-10 17:34:36 -05:00
dependabot[bot]
5a0e330600 chore(deps): bump hatchet-sdk in /examples/python/quickstart (#2961)
Bumps hatchet-sdk from 1.22.15 to 1.23.0.

---
updated-dependencies:
- dependency-name: hatchet-sdk
  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>
2026-02-06 04:25:05 +00:00
Gabe Ruttner
4054d170d8 chore: proto naming conventions (#2913)
* fix: add type override in sqlc.yaml

* chore: gen sqlc

* chore: big find and replace

* chore: more

* fix: clean up bunch of outdated `.Valid` refs

* refactor: remove `sqlchelpers.uuidFromStr()` in favor of `uuid.MustParse()`

* refactor: remove uuidToStr

* fix: lint

* fix: use pointers for null uuids

* chore: clean up more null pointers

* chore: clean up a bunch more

* fix: couple more

* fix: some types on the api

* fix: incorrectly non-null param

* fix: more nullable params

* fix: more refs

* refactor: start replacing tenant id strings with uuids

* refactor: more tenant id uuid casting

* refactor: fix a bunch more

* refactor: more

* refactor: more

* refactor: is that all of them?!

* fix: panic

* fix: rm scans

* fix: unwind some broken things

* chore: tests

* fix: rebase issues

* fix: more tests

* fix: nil checks

* Refactor: Make all UUIDs into `uuid.UUID` (#2897)

* refactor: remove a bunch more string uuids

* refactor: pointers and lists

* refactor: fix all the refs

* refactor: fix a few more

* fix: config loader

* fix: revert some changes

* fix: tests

* fix: test

* chore: proto

* fix: durable listener

* fix: some more string types

* fix: python health worker sleep

* fix: remove a bunch of `MustParse`s from the various gRPC servers

* fix: rm more uuid.MustParse calls

* fix: rm mustparse from api

* fix: test

* fix: merge issues

* fix: handle a bunch more uses of `MustParse` everywhere

* fix: nil id for worker label

* fix: more casting in the oss

* fix: more id parsing

* fix: stringify jwt opt

* fix: couple more bugs in untyped calls

* fix: more types

* fix: broken test

* refactor: implement `GetKeyUuid`

* cleanup

* gen

* missed name

* slot naming consistency

* snake_case

* lint

* regenerate python

* typescript sdk

* deprecated getters

* lint

* fix tests

* version bumps

* chore: regen sqlc

* chore: replace pgtype.UUID again

* fix: bunch more type errors

* no compat

* fix: remove isort

* note

* Update sdks/python/CHANGELOG.md

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

* feedback

* fix: no isort in ci

* tui

* ts lint

* lint

* weird undefined

* fix test

* last changes

* lint

* fix: ts child spawning

* consistent naming

* map fields

---------

Co-authored-by: mrkaye97 <mrkaye97@gmail.com>
2026-02-05 10:35:13 -08:00
github-actions[bot]
d4867568ff chore: regenerate examples (#2939)
Co-authored-by: GitHub Action <action@github.com>
2026-02-04 12:46:26 -05:00
dependabot[bot]
84acf2c88c chore(deps): bump hatchet-sdk in /examples/python/quickstart (#2932)
Bumps hatchet-sdk from 1.22.14 to 1.22.15.

---
updated-dependencies:
- dependency-name: hatchet-sdk
  dependency-version: 1.22.15
  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>
2026-02-04 04:24:43 +00:00
dependabot[bot]
80f17f609a chore(deps): bump hatchet-sdk in /examples/python/quickstart (#2905)
Bumps hatchet-sdk from 1.22.12 to 1.22.14.

---
updated-dependencies:
- dependency-name: hatchet-sdk
  dependency-version: 1.22.14
  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>
2026-02-02 04:33:56 +00:00
dependabot[bot]
e3e271f9be chore(deps): bump hatchet-sdk in /examples/python/quickstart (#2891)
Bumps hatchet-sdk from 1.22.11 to 1.22.12.

---
updated-dependencies:
- dependency-name: hatchet-sdk
  dependency-version: 1.22.12
  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>
2026-01-30 04:24:30 +00:00
github-actions[bot]
df9c176f27 chore: regenerate examples (#2884)
Co-authored-by: GitHub Action <action@github.com>
2026-01-29 11:39:21 -05:00
dependabot[bot]
db724c331f chore(deps): bump hatchet-sdk in /examples/python/quickstart (#2871)
Bumps hatchet-sdk from 1.22.10 to 1.22.11.

---
updated-dependencies:
- dependency-name: hatchet-sdk
  dependency-version: 1.22.11
  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>
2026-01-28 04:24:38 +00:00
dependabot[bot]
a520fb6ec5 chore(deps): bump hatchet-sdk in /examples/python/quickstart (#2859)
Bumps hatchet-sdk from 1.22.8 to 1.22.10.

---
updated-dependencies:
- dependency-name: hatchet-sdk
  dependency-version: 1.22.10
  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>
2026-01-27 04:22:53 +00:00
Jishnu
de1ffedf1e Fix: Invalid OTel exporter in python example, add schedule_workflow unwrap (#2852)
* fix: invalid oltp exporter in python example

* fix: add unwrap for schedule workflow

* Revert "fix: add unwrap for schedule workflow"

This reverts commit e7da2dbd1c.

* add unwrap for schedule workflow

* chore: update ts version, edit py otel doc example

* chore: update python sdk version, changelog, add TS changelog

* fix: lint
2026-01-26 13:39:19 -05:00
matt
2837573b6c [Go] Feat: Webhooks feature client for the Go SDK (#2792)
* feat: webhooks feature client

* feat: add webhook client

* feat: add v1 webhook client

* feat: example

* fix: webhook client impl

* fix: example + error handling + other client

* fix: missing webhook resources

* chore: gen
2026-01-23 11:04:34 -05:00
dependabot[bot]
8c40496304 chore(deps): bump hatchet-sdk in /examples/python/quickstart (#2841)
Bumps hatchet-sdk from 1.22.7 to 1.22.8.

---
updated-dependencies:
- dependency-name: hatchet-sdk
  dependency-version: 1.22.8
  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>
2026-01-22 04:24:54 +00:00
Gabe Ruttner
622e2d9db9 updates (#2827) 2026-01-21 09:32:21 -08:00