Commit Graph

119 Commits

Author SHA1 Message Date
Gabe Ruttner 511b91a4ec fix: async generator (#155)
* hotfix: add repository for npm publish

* release(py-sdk): bump version

* fix: async generator

* release: bump version

* fix: remove unused logging
2024-02-06 07:17:56 -05:00
Gabe Ruttner 5f06e8cfce feat (py-sdk): python streaming generator (#154)
* hotfix: add repository for npm publish

* release(py-sdk): bump version

* feat: expose generator

* release: bump version
2024-02-05 18:16:23 -05:00
abelanger5 38d93ec1f1 fix: listener json double-quoted (#153) 2024-02-05 17:58:41 -05:00
Gabe Ruttner 9f17b61621 release(py-sdk): bump version 2024-02-05 12:40:40 -05:00
Gabe Ruttner 5ccc5614a9 feat(py-sdk): event streaming and manual triggering (#152)
* hotfix: add repository for npm publish

* chore: generate protos

* feat: trigger workflow

* fix: remove tenant id from schedule workflow

* fix: logging

* feat: run returns workflow_run_id

* feat: listen for run events

* feat: listener calls handler

* chore: address review comment
2024-02-05 12:32:04 -05:00
abelanger5 73adb7791e feat: custom claims for setting grpc/server addr in token (#150) v0.10.1 2024-02-05 00:18:19 -05:00
abelanger5 7bdfa78bd9 docs: fix npx run worker (#149)
* docs: update quickstart

* docs: npx run -> npm run
2024-02-04 21:27:34 -05:00
abelanger5 ce52a448ae docs: update quickstart (#148) 2024-02-04 20:48:35 -05:00
Gabe Ruttner 703c93c10b Docs: Update typescript docs (#147)
* hotfix: add repository for npm publish

* feat: typescript doc fixes

* fix: drop pythonic speak
v0.10.0
2024-02-04 19:07:29 -05:00
Gabe Ruttner 989d74bacd Typescript Concurrency and Streaming (#142)
* hotfix: add repository for npm publish

* fix: out dir location

* wip: concurrency

* cleanup: rm console logs

* fix: worker start pattern

* fix: async examples

* feat: improved logging

* wip: register concurrency opts

* feat(ts-sdk): step run streaming

* fix: publish dist

* fix: publish dist folder as package root

* feat: concurrency action

* feat: abort controller

* fix: better note

* rm: old test

* feat: add worker to index

* release: bump version

* cleanup: rm todo

* release: bump version 0.1.11

---------

Co-authored-by: Alexander Belanger <belanger@sas.upenn.edu>
2024-02-04 18:16:20 -05:00
abelanger5 69833c3625 docs: improvements from feedback (#146) 2024-02-04 17:47:58 -05:00
abelanger5 d97fe63149 docs: specify SDK environment variables and compatibility (#126)
* docs: initial sdk compatability docs

* feat: style and update docs

* fit: ignore logo for redirects
2024-02-03 23:16:03 -05:00
abelanger5 0aa7b782a1 feat: trigger workflows from the dashboard (#145) 2024-02-03 20:42:46 -05:00
abelanger5 da5508b1b5 fix: invariant on playground (#144) v0.9.2 2024-02-03 01:36:57 -05:00
abelanger5 c2ea09f375 feat: step reruns from the dashboard (#143) v0.9.1 2024-02-03 01:26:09 -05:00
abelanger5 82d7995343 feat: manual triggers and give clients a hook into step run events (#141)
* feat: pubsub for clients, more qol stuff

* fix: generate sqlc files

* chore: linting and comments
v0.9.0
2024-02-02 12:52:34 -05:00
abelanger5 aed11c3958 feat: workflow visualization and qol improvements (#140)
* feat: workflow visualization and qol improvements

* fix: npm build
2024-02-02 01:35:05 -05:00
Luca Steeb ab9f8e6c47 fix(cli): log errors via stderr and always exit (#139) 2024-02-01 00:12:22 +07:00
Luca Steeb b5d1ce0650 chore(taskfile): add lint tasks (#138) 2024-02-01 00:12:10 +07:00
Gabe Ruttner d6c14e158c chore: Typescript SDK cleanup (#136)
* hotfix: add repository for npm publish

* cleanup: file organization

* fix: resolve paths, publish dist

* bump version

* fix: resolve paths, rm tests

* fix: README

* fix: tests

* chore: unused path
2024-01-30 05:31:55 -07:00
abelanger5 52ba01bf06 chore: qol improvements (#137) 2024-01-30 00:08:52 -05:00
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