Commit Graph

98 Commits

Author SHA1 Message Date
abelanger5 d63b66a837 feat: concurrency groups (#135)
* first pass at moving controllers around

* feat: concurrency limits for strategy CANCEL_IN_PROGRESS

* fix: linting

* chore: bump python sdk version
2024-01-30 00:00:28 -05:00
g 9841aa52d7 hotfix: public scope 2024-01-29 17:07:51 -05:00
g 3cde35be60 hotfix: publish to npm 2024-01-29 17:00:10 -05:00
Gabe Ruttner fd7821c6c5 Chore: PR Template (#132)
* Create pull_request_template.md

Proposed template for standardizing PRs

https://axolo.co/blog/p/part-3-github-pull-request-template

* Update pull_request_template.md
2024-01-28 07:04:17 -07:00
abelanger5 40760e0951 chore(python-sdk): improved thread cancellation handling, docs, and custom sleep method (#134)
* feat: timeout on python steps

* chore(python-sdk): improved thread handling and docs

* docs: default timeout
2024-01-27 22:14:48 -05:00
g ea820ab66d hotfix: rename 2024-01-27 10:48:10 -07:00
g 32768a49c5 hotfix: valid package name 2024-01-27 10:45:12 -07:00
g bc0746e6f5 hotfix: package name 2024-01-27 10:44:02 -07:00
g 32f25c54b6 hotfix: remove package scope 2024-01-27 10:42:57 -07:00
g 102230c959 hotfix: publish registry 2024-01-27 10:16:14 -07:00
g 945d700e51 hotfix: semver 2024-01-27 10:13:50 -07:00
g ed5597ed13 hotfix: node registry 2024-01-27 10:12:11 -07:00
g 428a16c402 hotfix: publish permissions 2024-01-27 10:09:13 -07:00
g 61044cfc2b hotfix: repository for npm publish 2024-01-27 10:05:11 -07:00
Gabe Ruttner cd3f7d83ed feat: typescript client (#110)
* (wip) python SDK

* feat: python client, initial version finished

* initial typescript client

* linting and protoc generation

* generated protobuf data shapes

* remove accidental package

* add jest, initial config loader

* add test:watch

* configuration loader

* better error handling

* ts paths

* fix jest: module name mapper

* initial client

* chore rename tests

* chore move client to clients

* class method use this

* stubs

* change protoc generate strategy

* wip push

* fix: tsconfig

* chore: swap for nice-grpc

* feat: event client

* feat: dispatcher client

* chore: barrel files

* wip: action-listener

* fix: actions generator yields local actions

* Merge branch 'main' into typescript-client

* feat: semver

* fix: rename

* revert: python auto-prettier changes

* feat: admin client

* feat: worker

* refactor: rename Client to HatchetClient

* feat: load ssl certs

* wip: example

* fix: credential handling

* fix: tests for clients with optional credentials

* feat: examples

* feat: functional client

* fix: move examples

* cleanup: simple tasks

* cleanup: rm dead code

* fix: example includes parent dependency

* feat: docs

* fix: step types

* fix: dag example

* feat: logging

* fix: docs building

* fix: logging tests

* fix: address review for docs

* ops: github workflow

* fix: typo

* cleanup: rm todo

* feat: attempt to finish tasks before exit

* cleanup

* fix: worker start retires

* Update typescript-sdk-tests.yml

* fix: actions

* chore: rename directory

* fix: test logging

* fix: docs for input param

* feat: publish package!

* fix: action name

* fix: manual release

* fix: update protoc to latest

* feat: replace auto versioning with put

* cleanup: unused imports

* feat: add token and tls options

* feat: token auth

* fix: typo

* fix: test focus

* Update frontend/docs/pages/typescript-sdk/setup.mdx

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

* fix: rm unused tenantId

* fix: remove input from step context

---------

Co-authored-by: Alexander Belanger <belanger@sas.upenn.edu>
2024-01-27 09:56:49 -07:00
Gabe Ruttner 6401b56611 chore: rename sdk for consistency (#131) 2024-01-26 19:46:17 -07:00
abelanger5 14a971bfd7 feat: improve versioning to use checksums (#129)
* feat: improve versioning to use checksums

* fix: remove json ignore for scheduled triggers

* update migration with random strings for checksum
v0.7.0
2024-01-26 20:47:15 -05: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
abelanger5 13315cdd9e fix: graceful shutdown order (#121) 2024-01-22 22:04:15 -05:00
abelanger5 1ea620ace1 fix(python-sdk): handle exceptions from steps (#120) 2024-01-22 21:41:50 -05:00
abelanger5 192b196c6e update poetry publish (#119) 2024-01-22 19:54:07 -05:00
abelanger5 cfa4b5c8f4 fix: python sdk graceful shutdown and retry errors (#118)
* fix: python sdk graceful shutdown and retry errors

* chore: address changes from review
2024-01-22 19:52:02 -05:00
Luca Steeb cb4072efae chore(taskfile): install deps on generate (#113) 2024-01-22 12:45:56 +07:00
Luca Steeb 8b379ee9d1 feat(events): add workflow filter (#114)
* feat(events): add workflow filter

* cast to uuid

---------

Co-authored-by: Alexander Belanger <belanger@sas.upenn.edu>
v0.6.0
2024-01-21 22:33:58 -05:00
abelanger5 74f47f75f2 feat: add team member management and invites (#117)
* feat: google sso

* chore: update prompt text

* fix: compiling and lint errors

* chore: regenerate sqlc

* feat: add team member management

* chore: remove debug line

* chore: lint and test errors

* bump protoc in ci

* chore: fix lint errors

* chore: sqlc generation
2024-01-21 22:21:29 -05:00
Luca Steeb c8f87599c7 chore: ignore or fix linter errors (#116)
* chore: ignore or fix linter errors

* chore: wrap up lint errors

* chore: sqlc generation

---------

Co-authored-by: Alexander Belanger <belanger@sas.upenn.edu>
2024-01-21 22:01:20 -05:00
abelanger5 d51a3d34f3 feat: google sso (#112)
* feat: google sso

* chore: update prompt text

* fix: compiling and lint errors

* chore: regenerate sqlc

* chore: address PR comments
2024-01-21 20:06:00 -05:00
Luca Steeb 3071e3c65e refactor: run golangci-lint --fix (#115) 2024-01-21 20:03:12 +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
v0.5.0-alpha.0
2024-01-20 09:18:25 -05:00
abelanger5 52fde1e704 feat: dag-style execution (#108)
* feat: dag-style execution

* docs: update to reflect new context

* ensure no cycles

* remove example cycle

* linting

* lint and small fixes

* update deferred rollback

* last rollback handling

* unset max issues

* fix requeue edge case
2024-01-16 11:31:24 -05:00
Luca Steeb 0ad77d50cb chore(lint): run golangci-lint --fix (#105) 2024-01-16 01:34:07 +07:00
Luca Steeb 8fc58865be ci(golangci): add golangci-lint (#43)
Co-authored-by: abelanger5 <belanger@sas.upenn.edu>
2024-01-13 01:08:35 +07:00
Luca Steeb cd2a2c80ac ci(build/frontend): adapt pnpm install (#96) 2024-01-12 13:00:32 +07:00
abelanger5 752d5b0ab7 feat: support passing inputs to scheduled workflows (#104)
* fix: usage of RegisterAction

* make registered actions callable

* chore: update yaml example

* docs: register action documented

* feat: support input to scheduled workflows

* add worker

* add client

* docs: add input to schedule workflow

* chore: generate with updated protoc

* chore: sqlc generate
2024-01-12 00:27:34 -05:00
abelanger5 1f7baacb94 Fix usage of RegisterAction and update docs (#103)
* fix: usage of RegisterAction

* make registered actions callable

* chore: update yaml example

* docs: register action documented
2024-01-11 18:42:20 -05:00
Luca Steeb 6d8c7ab073 feat(test): introduce basic e2e tests (#97) 2024-01-11 13:36:15 -05:00
abelanger5 4d03592aec chore: telemetry improvements (#101)
* fix: simple example

* chore: telemetry improvements

- Adds opentelemetry integration for the engine
- Adds standard logger with json and more readable output formats

* remove env from nodemon config files
2024-01-11 13:09:06 -05:00
Luca Steeb 330360736a ci(test): fail on diff after generate (#98) 2024-01-11 00:39:55 +07:00
Luca Steeb e4bbd3ce73 chore(versions): pin protoc to v25 (#100) 2024-01-11 00:29:27 +07:00
Luca Steeb 792991c1fd chore(internal): sync generated files (#99) 2024-01-11 00:14:56 +07:00
abelanger5 7011416cb7 fix: simple example (#95) 2024-01-10 11:05:54 -05:00
abelanger5 ac0c4e934a fix: rabbitmq concurrent processing (#92) v0.4.0-alpha.1 2024-01-09 21:15:19 -05:00
abelanger5 078e235ade fix: reconnecting workers should get new dispatcher id, ticker active bug (#91) v0.4.0-alpha.0 2024-01-08 15:52:45 -05:00
abelanger5 fe76c724d1 feat: add ticker reassignment to engine (#86) 2024-01-08 14:11:30 -05:00
abelanger5 62445dc37f feat: support one-time scheduled workflows (#84)
* feat: support one-time scheduled workflows

* refactor: move schedule out of workflow trigger def

* docs: add scheduling workflows section

* docs: update creating workflow

* only cancel schedules that are in the future
2024-01-08 10:03:32 -05:00
abelanger5 7d1cf5400f feat: add middleware to worker and services (#82)
* feat: add middleware support

* docs: add middleware to docs

* chore: remove commented code

* address review comments
v0.3.0-alpha.9
2024-01-05 08:35:19 -05:00
abelanger5 edc646c351 Update README.md 2024-01-04 08:48:12 -05:00
abelanger5 65c165caf6 fix: slack example and rendering bug (#79) v0.3.0-alpha.8 2024-01-04 08:28:49 -05:00
abelanger5 ff30027ae7 feat: update go-sdk workflow syntax to make it less verbose (#78)
* feat: update go-sdk workflow syntax to make it less verbose

* docs: make triggers and definitions more clear
v0.3.0-alpha.7
2024-01-03 17:14:12 -05:00
abelanger5 772821d704 docs: update readme with docs badge (#77)
* docs: update readme with more features

* docs: add badge for docs
2024-01-03 16:27:17 -05:00