Commit Graph

44 Commits

Author SHA1 Message Date
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
28e3a18b82 ci(auto-merge): add auto-merge for dependabot (#321) 2024-04-05 00:13:20 +07:00
abelanger5
77e5d2b77c feat(go-sdk): spawnWorkflow method and get up to speed with other sdks (#297)
* feat(go-sdk): spawnWorkflow method and get up to speed with other sdks

* fix: manual trigger example

* fix: linting errors

* fix: double serialization from go sdk

* fix: spawn workflow logic and procedural example

* test(e2e): add procedural test

* fix: panic in e2e test

* fix: e2e test preparation

* fix: api server url in test.yml

* fix: load test server url

* chore: make num children configurable

* address pr review
2024-03-29 14:07:39 -07:00
Luca Steeb
82cb1c0936 chore(docs): add and run prettier (#284) 2024-03-22 23:04:19 +07:00
abelanger5
092f54c64f refactor: separate api and engine repositories, change ticker logic (#281)
* refactor: separate api and engine repositories, change ticker logic

* fix: nil error blocks

* fix: run migration on load test

* fix: generate db package in load test

* fix: test.yml

* fix: add pnpm to load test

* fix: don't lock CTEs with columns that don't get updated

* fix: update heartbeat for worker every 4 seconds, not 5

* chore: remove dead code

* chore: update python sdk

* chore: add back telemetry attributes
2024-03-21 14:10:34 -04:00
Luca Steeb
d91a8d7bc3 fix: handle inefficient assignments (#263) 2024-03-16 17:09:35 +07: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
713b8c95c6 fix: eliminate remaining race conditions (#220) 2024-03-02 23:47:50 +07:00
Luca Steeb
4631747fe4 test(e2e): set up env programmatically (#218) 2024-03-02 00:38:20 +07:00
Luca Steeb
0e7ad2e052 ci(workflows): run typescript sdk tests on pr only (#215) 2024-03-01 00:55:14 +07: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
16d67b3818 Merge branch 'main' into feat/playground 2024-02-16 12:52:15 -05:00
Luca Steeb
00111d823c test(load): add load tests CLI & e2e tests (#157) 2024-02-16 23:47:34 +07: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
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
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
g
32f25c54b6 hotfix: remove package scope 2024-01-27 10:42:57 -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
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
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
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
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
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
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
6d8c7ab073 feat(test): introduce basic e2e tests (#97) 2024-01-11 13:36:15 -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
f9e5cbf8d5 chore(generate): use go:generate for prisma generation (#44) 2024-01-02 21:07:22 +07:00
abelanger5
5937b9fd98 feat(go-sdk): add ability to create workflows from the Go SDK more easily, quickstart improvements (#30)
* feat: add initial docs site

* feat: allow workflows to be defined from go sdk

* fix release action

* chore: remove server dependencies from client

* fix: use correct certificate for server

* chore: add port and bind address to grpc config

* fix: add env for grpc config

* fix: nil pointer when output is null

* chore: support variation in output args

* fix unresolve merge conflict

* fix: quickstart improvements

* temp remove database url

* fix: action id not required for event

* fix: actionid validation for events

* Remove deleted files
2024-01-02 09:02:53 -05:00
Luca Steeb
ba5e043451 ci(workflows): add build for dockerfiles workflow (#37) 2024-01-01 21:35:46 +07:00
Luca Steeb
2bd5677252 chore(frontend/app): switch to pnpm (#36) 2023-12-31 20:36:41 +07:00
Luca Steeb
dcd3388315 chore(dev): do not generate go client on db push (#40) 2023-12-31 20:36:08 +07:00
Luca Steeb
14e13fe24a ci(workflows): run go tests on PR, adapt tests (#27)
Co-authored-by: abelanger5 <belanger@sas.upenn.edu>
2023-12-28 03:06:49 +07:00
Luca Steeb
a046d7bca4 ci(dockerfiles): minor improvements & rename to .dockerfile (#26) 2023-12-27 17:17:43 +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
Luca Steeb
806dae5742 ci(workflows): add frontend build and lint workflow (#19) 2023-12-21 13:04:12 +07: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