51 Commits

Author SHA1 Message Date
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
Sid Premkumar
94a1fb4523 Update contributing.md file to reflect recent updates (#2444)
* Update contributing.md file to reflect recent updates

* PR feedback
2025-10-28 10:19:49 -04:00
matt
35b97be825 [Python]: Pytest improvements (#2348)
* feat: try running in parallel in CI

* fix: simplify

* feat: add task

* fix: increase retry delay
2025-09-26 11:47:34 -04:00
matt
57bb24aef1 Fix: Auto-generate docs snippets and examples (#2139)
* fix: gitignore all the generated stuff

* debug: try fixing build

* debug: build error part ii

* debug: move more deps out of dev

* fix: lock

* debug: lockfile

* fix: make dir

* fix: ci

* fix: dir

* debug: sed

* fix: sed

* debug: allow skipping

* Revert "debug: allow skipping"

This reverts commit 88e0ff870d.

* debug: ci

* fix: corepack

* debug: dir

* debug: sed

* debug: path

* fix: rm sync docs for now

* fix: remove more stuff

* fix: rm unused stuff

* fix: rm copy:app

* chore: lint

* fix: rm prettier from boot

* fix: couple missing scripts

* feat: auto-gen examples on push to main

* debug: test on this branch

* fix: install pnpm

* fix: cd

* fix: cmd

* Auto-generate files after merge [skip ci]

* fix: only copy examples

* debug: dummy commit for examples check

* chore: regenerate examples

* fix: naming

* fix: unwind dummy

* fix: only run on main

* fix: pre commit

* fix: naming

* chore: gen, fix task pre

* feat: create pr

* feat: only push examples changes

* fix: don't run from this branch

* fix: regen lockfile

* fix: regen docs lockfile

---------

Co-authored-by: GitHub Action <action@github.com>
2025-08-14 18:17:29 -05:00
Mohammed Nafees
1d5d638081 Add task start-dev-tmux (#1946)
* start-dev-tmux: start-dev with tmux support for clear output per process

* update instructions

* fix lint
2025-07-05 12:08:50 +02:00
Mohammed Nafees
0fdae7e677 upgrade sqlc version to 1.29 (#1879) 2025-06-20 01:31:04 +05:30
abelanger5
ffbeafc204 revert: add back testing harness (#1659)
* re-add new testing harness

* add healthcheck port and pick random grpc port to listen on

* feat: parallel load tests and faster tests

* make parallelism = 5

* fix: lint

* add linter to pre

* fix: add back rampup fixes

* reduce matrix on PR, add matrix to pre-release step

* make load tests less likely to block

* make limit strategy group round robin

* uncomment lines
2025-05-01 15:22:30 -04:00
Gabe Ruttner
8e80faf2d6 Fe overhaul docs (#1640)
* api changes

* doc changes

* move docs

* generated

* generate

* pkg

* backmerge main

* revert to main

* revert main

* race?

* remove go tests
2025-04-30 14:10:09 -07: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
Gabe Ruttner
0ec8f830b9 optimization: tenant metrics queries (#1571)
* exhaustive indexes

* fix migrations

* remove statemtn

* lint

* prune

* fix: indexes

* concurrent

* concurrent

* revert

* lint
2025-04-18 10:46:37 -04:00
Matt Kaye
9baed94441 Fix: Workflow state refetch (#1488)
* fix: add refetch interval to workflow state query

* drive-by: taskfile fix

* fix: task run view
2025-04-03 17:15:02 -04:00
Matt Kaye
5062bf1e3e V1 SDKs and Docs (#1361)
New SDKs and docs for the v1 release.
2025-03-25 15:45:07 -07:00
abelanger5
1f2096313d feat: v1 engine (#1318) 2025-03-11 14:57:13 -04:00
Matt Kaye
3d6d99f19c Fix: Tweaking a couple contributing things (#1178)
* fix: add unspecified deps

* fix: modify dotenv for setup
2025-01-10 14:14:36 -05:00
Sean Reilly
e32f353587 Speed up the delete worker query (#1103)
* add an index on lastHeartbeatAt and don't do highly related actions concurrently



---------

Co-authored-by: Sean Reilly <sean@hatchet.run>
2024-12-12 20:49:22 -05:00
abelanger5
b0c6c7cd46 feat(go-sdk): cron and schedules API, minor fixes (#1083)
* feat(go-sdk): cron and schedules API, minor fixes

* try to improve code block and docs

* revert pre-commit

* fix: generate

* fix: put overflow in right place

* remove branch specs
2024-12-04 21:18:05 +00:00
Gabe Ruttner
574eb0b67e feat: dynamic crons (#1000)
* wip: stub schedule page

* wip: stub list

* fix: 2025 bug...

* feat: wip cron list

* feat: addl meta

* feat: expose metadata column

* feat: sort and created at

* cron to recurring

* scheduled: with statuses

* fix: links

* feat: expose schedule ids

* feat: delete run

* fix: remove search

* feat: filterable scheduled

* fix: remove broken features

* chore: lint

* rm metadata for now

* chore: lint

* chore: recurring to cron job

* fix: review comments

* fix: populator

* wip cron changes

* fix: ids are helpful

* fix: populator

* wip

* wip: create crons, stub scheduled

* wip: create schedule

* wip add trigger buttons to all the pages

* wip: reusable trigger form

* fix: hash

* fixes: cron bugs

* fixes: cron sort

* fix: out of order migrations

* fix: add internalRetryCount

* feat: api things survive version transitions

* feat: table things

* feat: delete disabled for non api

* feat: prevent delete non api

* feat: filters

* require cron name for api

* default name

* fix: migrations

* frontend improvements and migrations

* fix: pagination

---------

Co-authored-by: Alexander Belanger <alexander@hatchet.run>
2024-11-21 16:18:24 -05:00
Sean Reilly
42afe083cf Partition Step Run and Remove Prisma (#982)
* add in the migration for now

* Update step_runs.sql

remove TODO

* change the schema so we don't undo it

* add the migration for step run partition. remove prisma. add a helper task for recreating the db

* do a manual merge of the schema.sql

* add in the serial

* update docs

* PR feedback

* add Identity to all tables that don't have a Bigserial

* do the atlas hash with the new migration

* squash the migrations

---------

Co-authored-by: Sean Reilly <sean@hatchet.run>
2024-11-20 15:20:36 -08:00
Gabe Ruttner
651be542c3 fix: migration state (#800)
* fix: migration state

* almost there...

* fix: hack for constraints

* chore: lint
2024-08-21 17:07:00 +00:00
abelanger5
f36e66cd28 feat: configurable data retention period (#693)
* feat: data retention for tenants

* chore: generate and docs

* chore: lint
2024-07-06 14:31:12 +00:00
Luca Steeb
cc23233730 chore(pre-commit): format prisma file on pre-commit (#674) 2024-07-02 00:17:27 +01:00
abelanger5
f2c6bc1f44 feat: tenant partitioning (#649)
* feat: tenant partitioning

* fix: rebalance inactive partitions, split into separate partitioner

* fix: shutdown partitioner scheduler properly

* update config options

* fix: config options linting
2024-06-26 21:06:51 +00:00
Luca Steeb
0253a65888 chore(migrate): improve migrate task (#620) 2024-06-19 20:41:22 +01:00
abelanger5
7c3ddfca32 feat: api server extensions (#614)
* feat: allow extending the api server

* chore: remove internal packages to pkg

* chore: update db_gen.go

* fix: expose auth

* fix: move logger to pkg

* fix: don't generate gitignore for prisma client

* fix: allow extensions to register their own api spec

* feat: expose pool on server config

* fix: nil pointer exception on empty opts

* fix: run.go file
2024-06-19 09:36:13 -04:00
abelanger5
3b1232cc28 fix: more casing in atlas-apply script (#563) 2024-06-06 14:41:54 -04:00
abelanger5
b0b2e26952 feat: hatchet-lite (#560)
* feat: hatchet-lite mvp

* fix: init shadow db

* fix: install atlas

* fix: correct env

* fix: wait for db ready

* fix: remove name flag

* fix: add hatchet-lite to build
2024-06-06 14:03:53 -04:00
abelanger5
1a8f1d8cab feat: events view for step runs (#479)
* feat: events view for step runs

* chore: regen migration

* chore: address pr review changes
2024-05-09 18:25:23 -04:00
mavenraven
63e601576a Fixes mismatch between dependency name and use. (#444) 2024-05-02 15:51:31 -04:00
Luca Steeb
7fbe89649e fix(testutils): set correct server info (#426) 2024-04-29 15:36:52 +01:00
Luca Steeb
7bb1015c99 chore(python-sdk): extract python sdk into its own repo (#393) 2024-04-22 16:35:53 +01:00
Abhiuday Gupta
c8a79aabf3 chore(format): added pre-commit hooks and formatted files (#294)
Co-authored-by: steebchen <contact@luca-steeb.com>
2024-04-16 22:19:21 +04:00
Luca Steeb
8183dd509a test(rampup): add load ramp up test (#273)
* test(rampup): add load ramp up test

* disable debug logging

* actual implementation

* refactor

* max acceptable schedule

* check for non-executed events

* fixes

* chore: set log level to error in engine tests

---------

Co-authored-by: abelanger5 <belanger@sas.upenn.edu>
2024-03-31 19:14:30 -04:00
Luca Steeb
c2b42508be fix(typescript-sdk): extract typescript sdk into separate repo (#239) 2024-03-08 16:04:38 +07:00
abelanger5
d376b953aa feat: python rest api (#223)
* feat: Adds a generated REST API client and exposes workflow methods for programmatic usage
2024-03-02 20:33:20 -05:00
Luca Steeb
ae4841031b feat(engine): standalone tests and engine teardown (#172) 2024-02-28 00:15:25 +07:00
Gabe Ruttner
4e32c91a5f chore: simplify setup (#185)
* chore: simplify setup

* fix: generate-all
2024-02-22 15:14:57 -05:00
Alexander Belanger
3a76fc31ec docs: github app setup for contributors 2024-02-18 16:40:58 -05:00
abelanger5
3743746657 feat: github app integration (#163)
* feat: github app integration

* chore: proto

* fix: migrate instead of push

* fix: db migrate -> migrate

* fix: migrate again

* remove skip-generate

* add back generate

* setup pnpm
2024-02-13 21:34:16 -05:00
Luca Steeb
b5d1ce0650 chore(taskfile): add lint tasks (#138) 2024-02-01 00:12:10 +07:00
Gabe Ruttner
6401b56611 chore: rename sdk for consistency (#131) 2024-01-26 19:46:17 -07:00
abelanger5
78685d0098 feat(security): multiple encryption options, API tokens, easier setup (#125)
* (wip) encryption

* feat: api tokens

* chore: add api token generation command

* fix: e2e tests

* chore: set timeout for e2e job

* fix: e2e tests, remove client-side certs

* chore: address PR review comments

* fix: token tests

* chore: address review comments and fix tests
2024-01-26 15:38:36 -05:00
Luca Steeb
cb4072efae chore(taskfile): install deps on generate (#113) 2024-01-22 12:45:56 +07:00
abelanger5
0c94f0d933 feat: python client (#109)
* (wip) python SDK

* feat: python client, initial version finished

* fix: add curl to migration dockerfile

* add insecure option for grpc

* create docs and publishing workflow

* delete old hatchet folder
2024-01-20 09:18:25 -05:00
Luca Steeb
f9e5cbf8d5 chore(generate): use go:generate for prisma generation (#44) 2024-01-02 21:07:22 +07:00
Luca Steeb
dcd3388315 chore(dev): do not generate go client on db push (#40) 2023-12-31 20:36:08 +07:00
abelanger5
14ecac8b81 feat: add hatchet-admin command and improve dockerfiles (#18)
* feat: add `hatchet-admin` command and improve dockerfiles

- Also bumps `prisma-client-go` version
2023-12-21 16:38:17 -05:00
abelanger5
41f26b6bc8 chore: add docker builds (#16)
* chore: add docker builds and initial pre-release + release process
2023-12-19 14:42:50 -05:00
Luca Steeb
7ec7843214 chore(contributing): remove hosts instruction, do not start studio (#8) 2023-12-19 23:42:10 +07:00
Luca Steeb
addf42988a chore(contributing): adapt deps, hardcode generator versions (#6) 2023-12-19 22:04:13 +07:00
Luca Steeb
6fef81eb52 chore(contributing): improve onboarding (#3)
- shell scripts logging and fail on error
- use npx --yes instead of manual global install
- run go libs directly instead of installing and running binaries
- add missing brew dependencies
2023-12-18 13:36:48 -05:00