Commit Graph

306 Commits

Author SHA1 Message Date
Jishnu c77bfa9274 feat: add logs client for TS SDK (#3237)
* feat: add logs client for typescript

* docs: add ts logs docs

* fix: lint

* bump: version, changelog

* fix: lint
2026-03-11 17:30:04 -04:00
Mohammed Nafees ab6cae4420 Test PgBouncer against our code-level partitioning logic (#3178)
* test partition drops with pgbouncer

* dedicated DDLPool to bypass pgbouncer

* fix generate

* add env var

* min env var

* update documentation

* no go mod redundancy
2026-03-10 12:24:07 +01:00
Julius Park 6c1bd9a074 Fix broken docs links (#3217)
* initial commit

* idk why those files got updated

* the gh action for checking links isn't viable :/

* try again

* fix child-spawning

* fix more

* fix some more

* fix lint

* remove gh workflow for now
2026-03-09 16:25:31 -04:00
Julius Park 56a5f26bde Fix TUI docs video urls (#3195) 2026-03-06 16:28:11 -05:00
Julius Park 517ebdbe4a Update documentation for cron change (#3194)
* initial commit

* run prettier

* change to office hours link

* fix lint :/
2026-03-06 15:56:23 -05:00
Gabe Ruttner 642828df63 chore: remove duped pages and hide cookbooks (#3193) 2026-03-06 12:49:49 -08: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
matt 2137108300 fix: add index page (#3176) 2026-03-05 18:32:54 -05:00
Jishnu 09b6001fc8 docs: python webhooks docs, update current docs (#3159) 2026-03-05 18:19:12 -05:00
Gabe Ruttner 5babd09679 docs: chunky overhaul (#3129)
* improve overall docs structure and things
2026-03-04 14:33:15 -08:00
Jishnu 508edde607 feat: automatic doc generator for TS SDK (#3047)
* add: typedoc config

* refactor: typeconfig, name feature client modules

* add: custom hatchet md plugin, feature client docs

* docs: filters client

* docs: add worker, workflows defintions

* fix: client and context docs, update typedoc

* fix: lint, add runnables doc

* add: additional md formatter methods, module docs

* add: geneated mdx, core generate and format logic

* refactor: new function changes

* fix: lint, lockfile

* fix: lint, strip generics in classes for docs

* refactor: use single line comments for deprecated

* fix: markdown escaping by typedoc

* docs: regenerate docs with new changes

* docs: refactor methods on alphabetical order

* refactor: non method headers to normal text

* docs: regenerate docs with 3 type depth
2026-03-03 12:07:41 -05:00
Erol f3a7e824fe fix: update relative links in home docs to fix sidebar (#3135) 2026-03-03 11:02:32 -05:00
Mohammed Nafees f3ec9597a6 Add env vars for max conn lifetime and idle time for pgx (#3096)
* add env vars for max conn lifetime and idele time for pgx

* add doc
2026-02-24 21:54:09 +01:00
Gabe Ruttner a4d02e3924 docs: experimental flag (#3082) 2026-02-23 04:29:05 -08: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
Gabe Ruttner dd48ee136a feat(agents): add new agent instruction tools (#3059) 2026-02-21 08:49:28 -08: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
Mohammed Nafees 1361047d11 Add upgrading and downgrading guide to self-hosting docs (#3044)
* new instance upgrade downgrade doc

* fix vercel build

* PR comments

* fix services

* no best practices section
2026-02-19 15:41:56 +01: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
Gabe Ruttner 94066fab98 Feat--llm-readable-docs (#3030)
* feat: generate flat files

* feat: init mcp

* feat: enhance tab labels with themed icons and add new logos for programming languages

* feat: install in onboarding flows

* structural cleanup

* chore: remove desktop and add buttons

* feat: posthog instrumentation

* fix: responsive buttons

* nit: raw

* feat: minisearch

* feat: wip improved search

* feat: update MCP installation documentation and links

* chore: lint

* chore: cleanup comment

* fix: docstring

* fix: improve search highlighting and scrolling behavior

* chore: lint

* chore: review

* feat: add safeBase64Encode function and update origin handling in theme.config.tsx

* chore: feedback

* feat: ruby logo

* chore: lint
2026-02-16 03:07:45 -08: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
Greg Furman 77b7e5bdca chore(docs): Improve CONTRIBUTING.md, update docs, & cleanup Taskfile (#2972) 2026-02-12 18:13:10 -05:00
Jishnu ed43cae0a2 feat: Extend webhook support for scope_expression and payload (#2874)
* add: scope_expression and payload columns for v1_webhook

* refactor: insert or update sql cmds for v1_webhook

* feat: update api clients, openapi schema for new webhook body

* refactor: receiver and transformer for v1 webhook

* add: python sdk changes

* feat: ts sdk changes

* feat: add FE for webhook new params

* fix: scope expression empty payload

* add: support for scope and payload for go client

* fix: lint

* fix: error message UI on webhook

* fix: lint

* fix: migraiton conflict, build failure

* fix: error handling

* update docs, add tests

* fix: lint, test file name
2026-02-04 12:44:52 -05:00
Greg Furman fa0dbde84e add: email alert support via SMTP (#2868)
* add: email alert support via SMTP

* add: subject lines

* add: go build tags

* add: SMTP server guide

* feat: include rendering in tests, fix race with mock server, and register subject templates to tmpl registry

* split up SMTP and postmark config

* refactor: Remove generic methods from EmailService

* fix: make postmark the default email provider

* fix: frontend lint
2026-01-31 20:05:52 -05:00
Mohammed Nafees f3fbefa1f5 Add doc about autoscaling workers (#2864)
* add doc for autoscaling workers

* oldest also in running stats
2026-01-27 22:26:37 +01:00
Gabe Ruttner a894f5e82c feat: python health check improvements (#2826)
* improvements

* version bump

* lint

* docs

* Update sdks/python/hatchet_sdk/worker/action_listener_process.py

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

* Update sdks/python/hatchet_sdk/worker/action_listener_process.py

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

* Update sdks/python/hatchet_sdk/worker/action_listener_process.py

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

* nits

* rm deadcode

* enum

* no getattr

* timedelta

* lint

* continuous lag

* stuck starting unhealthy

* [Python] Chore: Remove Poetry scripts from the Python package (#2825)

* fix: remove poetry scripts

* chore: version

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: matt <mrkaye97@gmail.com>
2026-01-21 10:42:53 -08:00
Mohammed Nafees 6eba6fa91f Billing changes (#2643)
* make changes for billing

* progress around redesign

* meter callback

* modify limits

* upcoming subscription

* fix lint

* fix payment methods

* fix build

* PR comments

* address PR comments

* update cloud contracts

* fix migration name

* fix json serialization error

* loader and fixed for managed compute

* PR comments

* upgrade Go version

* fix migration name

* fix CI

* fix lint CI

* golangci-lint fix

* dedicated subscription
2026-01-19 12:15:11 +01:00
abelanger5 447dbe151e docs: make docs more cli-centric (#2810) 2026-01-17 16:06:02 -05:00
Mohammed Nafees a0233964db New onboarding flow (#2757)
Updates the onboarding flow to make it CLI-based.
2026-01-16 10:09:44 -05:00
abelanger5 5dd5430f57 feat(cli): update quickstarts with package manager support, e2e tests for quickstarts (#2801)
- Adds options for Python and Typescript package manager support - uv, pip, poetry, npm, pnpm, yarn, and bun. Also adds e2e tests to ensure that all of these quickstarts successfully can start a worker.
- Replaces the scripts with triggers in the CLI
- Adds the hatchet trigger command
2026-01-16 10:08:26 -05:00
abelanger5 c1f8353770 small fixes/improvements to CLI logic (#2793)
* small fixes/improvements to CLI logic

* fix: quickstart should just show error if dir already exists

* add profile tests
2026-01-15 09:36:50 -05:00
abelanger5 fd94823688 docs: cli docs, install script updates (#2784)
* docs: cli docs, install script updates

* lint

* fix cli issues from user interview
2026-01-14 14:37:10 -05:00
abelanger5 0da03ef68d chore: redirect blog to new blog site (#2751) 2026-01-05 13:28:21 -05:00
abelanger5 150cdafb10 docs: add link to durable execution blog post (#2752) 2026-01-05 13:28:03 -05:00
abelanger5 f24c34ccfb chore: clean up buffer config and remove package (#2748)
* chore: clean up config options

* update docs
2026-01-02 11:42:29 -05:00
matt c681cd8f62 chore: dummy changes to re-publish (#2718)
* chore: gen docs

* dummy: whitespace
2025-12-26 11:57:38 -05:00
matt b65c6de53f Feat: Hatchet Metrics Monitoring, I (#2699)
* Revert "Revert "Feat: Hatchet Metrics Monitoring, I (#2480)" (#2698)"

This reverts commit b87150767a.

* go mod tidy

---------

Co-authored-by: Mohammed Nafees <hello@mnafees.me>
2025-12-23 20:14:14 +01:00
Gabe Ruttner 51464917f7 Feat: bulk management schedules (#2687)
* fix: filter + pagination state handling hack

* fix: use location.pathname

* update to go 1.25

* fix: add version to sdk-go.yml

* schedule run bulk actions

* lint

* typescript

* python

* lint

* docs

* lint docs

* lint

* feedback

* fix lint

* rm unused chunk

* rm statues

* i dont understand python linting sometimes

---------

Co-authored-by: mrkaye97 <mrkaye97@gmail.com>
Co-authored-by: Alexander Belanger <alexander@hatchet.run>
2025-12-23 07:44:12 -08:00
matt b87150767a Revert "Feat: Hatchet Metrics Monitoring, I (#2480)" (#2698)
This reverts commit fdc075ec6f.
2025-12-22 16:26:14 -05:00
matt fdc075ec6f Feat: Hatchet Metrics Monitoring, I (#2480)
* feat: queries + task methods for oldest running task and oldest task

* feat: worker slot and sdk metrics

* feat: wal metrics

* repository stub

* feat: add meter provider thingy

* pg queries

* fix: add task

* feat: repo methods for worker metrics

* feat: active workers query, fix where clauses

* fix: aliasing

* fix: sql, cleanup

* chore: cast

* feat: olap queries

* feat: olap queries

* feat: finish wiring up olap status update metrics

* chore: lint

* chore: lint

* fix: dupes, other code review comments

* send metrics to OTel collector

* last autovac

* flag

* logging updates

* address PR comments

---------

Co-authored-by: gabriel ruttner <gabriel.ruttner@gmail.com>
Co-authored-by: Mohammed Nafees <hello@mnafees.me>
2025-12-23 01:04:02 +05:30
Mohammed Nafees 4d6e612b8c improve prom metrics setup guide (#2686) 2025-12-19 21:13:22 +05:30
Mohammed Nafees 5f7b149b5b Add guide for downgrading versions (#2588)
* add downgrading guide and migrate cmd

* cleanup
2025-12-08 12:18:01 +01:00
abelanger5 d071a1c36b fix: prevent large worker gRPC stream backlogs (#2597)
* fix: prevent large worker backlogs

* add config value

* add doc for troubleshooting
2025-12-03 17:15:43 -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
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 a3a608bf54 Fix: Doc Linters (#2577)
* fix: prettier path

* chore: lint
2025-11-28 11:52:39 -05:00
matt f14e999a76 Fix: TS & Py versions for log pagination (#2505)
* chore: gen ts

* chore: python

* fix: change default

* chore: regen docs
2025-11-08 10:46:44 +01:00
Mohammed Nafees 17dc738ae3 update setup for new Go SDK (#2500) 2025-11-06 21:17:14 +01:00
matt 7fe9806f5d Feat: Configurable OLAP status update size limits (#2499)
* feat: configurable status updates

* fix: config

* fix: wiring

* feat: export limits from olap

* fix: param drilling
2025-11-06 13:37:40 -05:00