Partial PR - need to generate SDK - Add endpoint to get the total free worker slots for a worker and the … (#857)

* Add endpoint to get the total free worker slots for a worker and the max runs

* update to use WorkerSempahoreCount instead of checking stepRunId

* modify the query for the new table and change the interface

* bump golangci-lint make changes to name of returned data

* revert the simple example

---------

Co-authored-by: Sean Reilly <sean@hatchet.run>
This commit is contained in:
Sean Reilly
2024-09-19 10:11:16 -07:00
committed by GitHub
parent e72faf75fd
commit 15c50f46b5
15 changed files with 648 additions and 174 deletions

View File

@@ -11,7 +11,7 @@ repos:
exclude: prisma/migrations/.*\.sql|sql/migrations/.*\.sql
- id: check-yaml
- repo: https://github.com/golangci/golangci-lint
rev: v1.57.1
rev: v1.61.0
hooks:
- id: golangci-lint
args: ["--config=.golangci.yml"]