Commit Graph

1339 Commits

Author SHA1 Message Date
Gabe Ruttner 4ac3603ff5 fix: multiplex (#1650) 2025-04-30 09:01:37 -07:00
abelanger5 a2e04d34b4 fix: initialize otel in api runner (#1648)
Co-authored-by: mrkaye97 <mrkaye97@gmail.com>
v0.61.7
2025-04-30 11:38:19 -04:00
Eng Zer Jun 4d00ab958d chore(deps): replace golang.org/x/exp/rand with math/rand/v2 (#1445)
golang.org/x/exp/rand has been deprecated and scheduled to be deleted.

Reference: golang/exp@f9890c6
Reference: https://go.dev/doc/go1.22#math_rand_v2

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
Co-authored-by: abelanger5 <belanger@sas.upenn.edu>
2025-04-30 11:23:31 -04:00
Gabe Ruttner ccfc0c8d60 feat: fe overhaul api changes (#1639)
* api changes

* generate

* pkg

* backmerge main

* revert to main

* revert main
2025-04-30 08:09:34 -07:00
abelanger5 d047813fd8 fix: randomize concurrency loop (#1644) v0.61.6 2025-04-30 07:38:34 -04:00
Matt Kaye 0ba5ef257c Hotfix: Check if scheduled is nil before accessing tenant (#1645)
* fix: check for scheduled is nil

* fix: try copilot idea
2025-04-30 07:37:54 -04:00
dependabot[bot] ffd5faa691 chore(deps): bump google.golang.org/api from 0.230.0 to 0.231.0 (#1646)
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.230.0 to 0.231.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.230.0...v0.231.0)

---
updated-dependencies:
- dependency-name: google.golang.org/api
  dependency-version: 0.231.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-04-30 04:53:16 +00:00
Matt Kaye 91c019fa1f Fix: Slow query (#1643)
* fix: slow query

* feat: instrument controller

* fix: ctx naming
v0.61.5
2025-04-29 14:31:37 -04:00
abelanger5 2c1f1f4808 test: improve Go testing harness (#1631)
* test: improves testing harness for engine

* update CI test

* fix: race condition in test

* make tests more stable

* cleanup pub and sub buffers

* fix: goleak on rampup test

* feat: matrix tests for engine
2025-04-29 10:55:16 -04:00
Gabe Ruttner 496a8d51af fix: nil check (#1638) v0.61.4 2025-04-29 09:59:27 -04:00
abelanger5 e6d35e0737 fix(go-sdk): actionId casing (#1637) 2025-04-29 09:58:44 -04:00
Gabe Ruttner db36bb11b1 hotfix bundle post-install (#1632) 2025-04-29 03:28:12 -07:00
Matt Kaye 19fc908f0c Debug: Add some tracing to OLAP workflow run list (#1630)
* feat: add spans for workflow run list

* feat: add more spans
v0.61.3
2025-04-28 12:41:29 -04:00
Gabe Ruttner 7c3f6c5a59 Fix v1 admin (#1566)
* wip

* fixes

* revert

* fix: examples

* fix type test

* pnpm

* examples

* fix test again...

* fix bg compat

* bg compatibility

* fixes

* fix typing

* minor version 1.4.0-alpha.1

* use correct client

* address review

* export context

* release 1.4.0

* warning

* fix warning
2025-04-28 08:56:12 -07:00
Matt Kaye bea5d94215 Fix: On-Success Bug (#1626)
* fix: on success task

* chore: version

* fix: error message

* fix: docstring

* fix: docs
2025-04-26 10:06:13 -04:00
abelanger5 f91dcb029d fix: cancel if behavior (#1625)
* fix: cancel if behavior

* add more cancellation or groups

* one last try
v0.61.2
2025-04-25 22:52:26 -04:00
Matt Kaye 1eeb8e915d Fix: Queue blocking on many concurrency keys + failures (#1622)
* fix: move around case ordering

* feat: move worker fixture around

* fix: clean up fixtures

* feat: expand test, try to repro

* debug: more minimal repro

* fix: bug bashing

* fix: factor out concurrency queries into overwrite

* feat: improve test

* fix: improve test

* fix: lint

* feat: migration for trigger

* Fix: Retry + Cancel Bugs (#1620)

* fix: send original retry count to cancel

* fix: key threads, contexts, and tasks on retry count

* fix: store the key on the action and use it everywhere

* refactor: signature consistency

* fix: instrumentor types

* chore: version

* feat: comment

* fix: thank you mypy

* fix: simplify callback

* fix: ts implementation

* chore: lint

* fix: rework how retries are passed

* Fix: Add Retries to Log Pushes (#1594)

* fix: retry log pushes

* chore: version
v0.61.1
2025-04-25 21:49:30 -04:00
abelanger5 5084934b40 fix: critical deadlock bug in scheduler (#1621) 2025-04-25 21:28:15 -04:00
Matt Kaye d647e8e9d8 fix: add redirects from old paths (#1624) 2025-04-25 16:04:18 -04:00
abelanger5 d702d5e824 feat: read replica support and docs (#1617)
* feat: read replica support and docs

* fix: load logic
v0.61.0
2025-04-24 20:42:56 -04:00
Gabe Ruttner 068781fd41 fixes (#1616) 2025-04-24 17:05:34 -04:00
Matt Kaye 62e2d0a992 fix: rm unimplemented pages for now (#1615) 2025-04-24 16:35:11 -04:00
Gabe Ruttner 5655f23e07 blog: mergent migration (#1611)
* universal install

* initial migration guide

* fakefake tokens

* fake secret

* fixes

* lint

* lint

* lint

* tidy

* bump go 1.23 -> 1.24

* fix: whitespace lint

* bump golangci-lint version

* try to set up go before pre commit runs

* lint

* names

* lint

* fix: session store

* fix links

---------

Co-authored-by: Alexander Belanger <alexander@hatchet.run>
2025-04-24 12:09:09 -07:00
dependabot[bot] 48d10015fe chore(deps): bump k8s.io/client-go from 0.32.3 to 0.33.0 (#1608)
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go) from 0.32.3 to 0.33.0.
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kubernetes/client-go/compare/v0.32.3...v0.33.0)

---
updated-dependencies:
- dependency-name: k8s.io/client-go
  dependency-version: 0.33.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-04-24 04:35:53 +00:00
abelanger5 dacf48180b feat: sampling (#1592)
* feat: sampling

* Update internal/services/controllers/v1/olap/controller.go

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

* docs: sampling

* sampling -> trace sampling

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-04-23 17:28:58 -04:00
Matt Kaye 2df1b32932 fix: add ToPB implementation for parent condition (#1601) v0.60.5 2025-04-23 15:05:04 -04:00
Matt Kaye 9e858e323b Fix: Remove Cron Validation from TS SDK (#1600)
* fix: rm cron regex

* chore: version
2025-04-23 07:51:19 -07:00
dependabot[bot] 8377d156f1 chore(deps): bump google.golang.org/api from 0.229.0 to 0.230.0 (#1597)
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.229.0 to 0.230.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.229.0...v0.230.0)

---
updated-dependencies:
- dependency-name: google.golang.org/api
  dependency-version: 0.230.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-04-23 05:09:27 +00:00
dependabot[bot] f6997f9891 chore(deps): bump github.com/google/cel-go from 0.24.1 to 0.25.0 (#1596)
Bumps [github.com/google/cel-go](https://github.com/google/cel-go) from 0.24.1 to 0.25.0.
- [Release notes](https://github.com/google/cel-go/releases)
- [Commits](https://github.com/google/cel-go/compare/v0.24.1...v0.25.0)

---
updated-dependencies:
- dependency-name: github.com/google/cel-go
  dependency-version: 0.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>
2025-04-23 05:09:04 +00:00
Ymir 230c7ae2ea typo: run-no-wait.mdx (#1590)
Fixed a typo in the documentation.
2025-04-22 09:22:31 -04:00
abelanger5 2b790b96e2 fix: additional metadata for event-triggered workflows, some API fixes (#1589)
* fix: metadata for event trigger

* fix: workflow versions and timestamps in api

* fix: truncate step nodes with max width
v0.60.4
2025-04-22 09:15:34 -04:00
abelanger5 25de61fc82 feat: new region, prettier on cloud API (#1588)
* feat: new region, prettier on cloud API

* add to frontend
v0.60.3
2025-04-21 12:08:24 -04:00
Gabe Ruttner 5f6265b85a fix: editing (#1587) 2025-04-21 12:03:17 -04:00
Gabe Ruttner 28bc541d85 Feat: improved mc secrets (#1585)
* make encryption service public

* generate

* generate

* with update

* revert

* fix: type
v0.60.2
2025-04-21 10:43:27 -04:00
dependabot[bot] 0e17a83cfe chore(deps): bump google.golang.org/grpc from 1.71.1 to 1.72.0 (#1584)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.71.1 to 1.72.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.71.1...v1.72.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-version: 1.72.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-04-21 05:31:32 +00:00
dependabot[bot] b5538277f5 chore(deps): bump github.com/posthog/posthog-go from 1.4.7 to 1.4.10 (#1583)
Bumps [github.com/posthog/posthog-go](https://github.com/posthog/posthog-go) from 1.4.7 to 1.4.10.
- [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.4.7...v1.4.10)

---
updated-dependencies:
- dependency-name: github.com/posthog/posthog-go
  dependency-version: 1.4.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>
2025-04-21 05:28:47 +00:00
Matt Kaye c8f56e0872 Feat: Python SDK Documentation, Part I (#1567)
* feat: initial mkdocs setup

* chore: lock

* fix: config + start getting docs working

* fix: remove lots more redundant :type docs, update config more

* feat: split up clients

* feat: add pydoclint

* fix: rm defaults from docstrings

* fix: pydoclint errors

* feat: run pydoclint in ci

* fix: lint on 3.13

* debug: try explicit config path

* fix: ignore venv

* feat: index, styling

* fix: rm footer

* fix: more style tweaks

* feat: generated docs

* fix: refactor a bit

* fix: regen

* Revert "fix: regen"

This reverts commit 7f66adc77840ad96d0eafe55c8dd467f71eb50fb.

* feat: improve prompting

* feat: add docs, modify theme config to enable toc for docs

* fix: lint

* fix: lint

* feat: regenerate

* feat: bs4 for html parsing

* feat: preview correctly

* fix: exclude site subdir from all the linters

* refactor: break up script into components

* feat: remove a bunch more stuff from the html

* feat: prettier, enable toc

* fix: enable tocs in more places + sort properly

* fix: code blocks, ordering

* fix: ordering

* feat: finish up feature clients

* fix: rm unused deps

* fix: routing + property tags + sidebar

* fix: hatchet client + formatting

* fix: allow selecting single set of files

* fix: lint

* rm: cruft

* fix: naming

* fix: runs client attrs

* fix: rm cruft page

* feat: internal linking + top level description

* [Python]: Fixing some more issues (#1573)

* fix: pass priority through from the task

* fix: improve eof handling slightly

* chore: version

* fix: improve eof handling

* fix: send prio from durable

* fix: naming

* cleanup: use a variable

* chore: version

* feat: comment explaining page depth thing

* chore: bump ver

* feat: standalone docs

* fix: prompting + heading levels
2025-04-18 15:34:07 -04:00
Matt Kaye 8de5cea480 Fix: Duration conversion to Go duration strings (#1578)
* fix: bug in timeouts

* chore: ver

* fix: `total_seconds`

* fix: linter
2025-04-18 14:18:56 -04:00
abelanger5 7e1b43bf4a fix: v1 event push on REST API, namespace (#1575)
* fix: v1 event push on REST API, namespace

* fix(go-sdk): duration timeouts should be cast to seconds
v0.60.1
2025-04-18 13:22:00 -04:00
Gabe Ruttner 4e42beecc6 fix: serial-registration (#1574)
* fix: serial-registration

* fix case

* release ver
2025-04-18 07:54:22 -07:00
Gabe Ruttner 0ec8f830b9 optimization: tenant metrics queries (#1571)
* exhaustive indexes

* fix migrations

* remove statemtn

* lint

* prune

* fix: indexes

* concurrent

* concurrent

* revert

* lint
v0.60.0
2025-04-18 10:46:37 -04:00
Gabe Ruttner 3cbbc9b9f1 fix: concurrent workflow version on put (#1570)
* fix: lock previous version before list

* patch migration

* transactional

* lint

* fix nil case
2025-04-18 10:38:12 -04:00
Matt Kaye 9cc60e9736 feat: fix cron validation using library (#1565)
Co-authored-by: abelanger5 <belanger@sas.upenn.edu>
2025-04-18 10:36:44 -04:00
Gabe Ruttner 9d2b3abcf8 fix: key (#1572) 2025-04-18 10:36:31 -04:00
abelanger5 9aead7ab68 feat: global prometheus metrics (#1568)
* feat: global prometheus metrics

* configure prom with env vars, clean up metrics

* add histogram and docs

* update port
2025-04-17 15:11:38 -04:00
Matt Kaye ee0f6ad97d Debug: Priority Tests (#1548)
* debug: prio tests

* debug: try running against staging

* Revert "debug: try running against staging"

This reverts commit de7fcc922b731f2c10497eabd746f90971cdfa5b.

* fix: turn down concurrency run number
2025-04-17 13:55:40 -04:00
Gabe Ruttner 4dac71d234 docs--worker-config-options (#1535)
* docs--worker-config-options

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

Co-authored-by: abelanger5 <belanger@sas.upenn.edu>

* Update worker-configuration-options.mdx

* lint

---------

Co-authored-by: abelanger5 <belanger@sas.upenn.edu>
2025-04-16 05:02:08 -07:00
abelanger5 9761d770ca docs: concurrency cleanup (#1562) 2025-04-15 18:01:38 -04:00
abelanger5 ef6668a8c3 fix: go signature and docs (#1561)
* fix: go signature and docs

* Update examples/v1/workflows/concurrency-rr.go

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-04-15 17:31:48 -04:00
Matt Kaye 0823ae3316 Hatchet Python Blog Post (#1526)
* feat: initial pass at first parts of blog post

* feat: initial mkdocs setup

* feat: first pass at embedding mkdocs

* fix: config

* debug: paths

* fix: unwind docs hack

* feat: start working on mkdocs theme

* fix: paths

* feat: wrap up post

* fix: proof

* fix: doc links

* fix: rm docs

* fix: lint

* fix: lint

* fix: typos + tweak

* fix: tweaks

* fix: typo

* fix: cleanup
2025-04-15 17:21:31 -04:00