Commit Graph

347 Commits

Author SHA1 Message Date
Alexander Belanger 75172c4a05 fix: retries cause semaphore to go to zero v0.20.1 2024-04-15 13:50:16 -04:00
Luca Steeb 181a8e48aa fix(auth): improve error messages in auth (#367) 2024-04-15 14:31:03 +07:00
dependabot[bot] 92363de9ab chore(deps): bump github.com/shopspring/decimal from 1.3.1 to 1.4.0 (#379)
Bumps [github.com/shopspring/decimal](https://github.com/shopspring/decimal) from 1.3.1 to 1.4.0.
- [Release notes](https://github.com/shopspring/decimal/releases)
- [Changelog](https://github.com/shopspring/decimal/blob/master/CHANGELOG.md)
- [Commits](https://github.com/shopspring/decimal/compare/v1.3.1...v1.4.0)

---
updated-dependencies:
- dependency-name: github.com/shopspring/decimal
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-15 05:13:43 +00:00
abelanger5 7cf506a026 docs(blog): multi-tenant queues and fairness (#378)
* docs: concurrency blog

* blog: multi-tenant queues and fairness
2024-04-13 09:28:30 -04:00
Gabe Ruttner e7ed95c717 docs: v0.20 release (#377) 2024-04-12 15:21:30 -07:00
Gabe Ruttner ca68eee45c feat(api): posthog telemetry (#374)
* feat: add posthog dep

* feat: posthog analytics

* feat: user events

* fix: nil tenant

* feat: tenant ident

* chore: linting

* Update pkg/analytics/posthog/posthog.go

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

* fix: typo

---------

Co-authored-by: abelanger5 <belanger@sas.upenn.edu>
v0.20.0
2024-04-12 06:16:14 -07:00
abelanger5 f16a9cd0dc feat: add github sso to dashboard (#373) 2024-04-11 15:32:12 -04:00
Luca Steeb a5a2629674 chore(webhookutils): remove unused file url_param.go & chi dep (#353) 2024-04-11 14:37:40 +07:00
dependabot[bot] b0cf222ced chore(deps): bump github.com/getkin/kin-openapi from 0.122.0 to 0.124.0 (#372)
Bumps [github.com/getkin/kin-openapi](https://github.com/getkin/kin-openapi) from 0.122.0 to 0.124.0.
- [Release notes](https://github.com/getkin/kin-openapi/releases)
- [Commits](https://github.com/getkin/kin-openapi/compare/v0.122.0...v0.124.0)

---
updated-dependencies:
- dependency-name: github.com/getkin/kin-openapi
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-11 05:00:49 +00:00
dependabot[bot] 9b97ee5e0d chore(deps): bump github.com/gorilla/schema from 1.2.1 to 1.3.0 (#371)
Bumps [github.com/gorilla/schema](https://github.com/gorilla/schema) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/gorilla/schema/releases)
- [Commits](https://github.com/gorilla/schema/compare/v1.2.1...v1.3.0)

---
updated-dependencies:
- dependency-name: github.com/gorilla/schema
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-11 04:38:26 +00:00
abelanger5 e0d363e796 chore: intercept grpc errors and don't send internal to client (#370) 2024-04-10 19:03:18 -04:00
Gabe Ruttner 8c2826a050 feat: self serve app tweaks (#361)
* chore: move switcher to components

* wip: stub onboarding page

* feat: switch tenant and onboard redirect

* chore: linting

* feat: optional chevron

* wip: onboarding flow page

* fix: padding

* feat: platform picker

* feat: add skip button

* fix: purple

* feat: auth token

* feat: disabled until auth

* wip: ts flow

* feat: worker listener

* feat: workflow trigger

* fix: badge should be span

* feat: complete ts flow

* feat: help menu

* feat: matching bi icon

* fix: build errors

* fix: linting

* feat: copy

* feat: skip token if tokens exist

* fix: multi-line

* fix: spacing

* feat: copy different text than rendered

* feat: existing or new option

* chore: linting

* feat: error boundry

* chore: linting

* feat: python and go tutorials

* chore: linting

* fix: default error state

* fix: ui tweaks

* fix: consistent first step

* fix: continue hover
2024-04-10 16:02:34 -07:00
abelanger5 08f0864046 fix: retry rabbitmq connections properly and retry published messages (#369) v0.19.5 2024-04-10 15:48:06 -04:00
Luca Steeb 2f7483a3be test(timeout): add test for timeout (#344) 2024-04-11 00:50:24 +07:00
Luca Steeb 32aebd97b4 test(cancellation): add test for cancelled run (#339) 2024-04-10 23:58:18 +07:00
Gabe Ruttner 1f852907c0 feat: add cancellation reason to (#368)
* feat: add cancellation reason to

* fix: readable errors

* chore: improve code

* chore: linting
v0.19.4
2024-04-10 12:54:10 -04:00
Luca Steeb 3c112d9df8 fix(workflow): remove workflow timeout in favor of step timeout (#366) 2024-04-10 23:53:00 +07:00
dependabot[bot] 41e490beb7 chore(deps): bump github.com/rs/zerolog from 1.31.0 to 1.32.0 (#364)
Bumps [github.com/rs/zerolog](https://github.com/rs/zerolog) from 1.31.0 to 1.32.0.
- [Commits](https://github.com/rs/zerolog/compare/v1.31.0...v1.32.0)

---
updated-dependencies:
- dependency-name: github.com/rs/zerolog
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-10 05:29:59 +00:00
dependabot[bot] ef186f4e5d chore(deps): bump github.com/grpc-ecosystem/go-grpc-middleware/v2 (#365)
Bumps [github.com/grpc-ecosystem/go-grpc-middleware/v2](https://github.com/grpc-ecosystem/go-grpc-middleware) from 2.0.1 to 2.1.0.
- [Release notes](https://github.com/grpc-ecosystem/go-grpc-middleware/releases)
- [Commits](https://github.com/grpc-ecosystem/go-grpc-middleware/compare/v2.0.1...v2.1.0)

---
updated-dependencies:
- dependency-name: github.com/grpc-ecosystem/go-grpc-middleware/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-10 05:11:40 +00:00
dependabot[bot] 635fdddb5c chore(deps): bump github.com/slack-go/slack from 0.12.3 to 0.12.5 (#363)
Bumps [github.com/slack-go/slack](https://github.com/slack-go/slack) from 0.12.3 to 0.12.5.
- [Release notes](https://github.com/slack-go/slack/releases)
- [Changelog](https://github.com/slack-go/slack/blob/master/CHANGELOG.md)
- [Commits](https://github.com/slack-go/slack/compare/v0.12.3...v0.12.5)

---
updated-dependencies:
- dependency-name: github.com/slack-go/slack
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-10 05:07:45 +00:00
dependabot[bot] 2f98989cbf chore(deps): bump golang.org/x/sync from 0.6.0 to 0.7.0 (#362)
Bumps [golang.org/x/sync](https://github.com/golang/sync) from 0.6.0 to 0.7.0.
- [Commits](https://github.com/golang/sync/compare/v0.6.0...v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sync
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-10 05:06:24 +00:00
dependabot[bot] ad290f493b chore(deps): bump google.golang.org/grpc from 1.63.0 to 1.63.2 (#355)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.63.0 to 1.63.2.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.63.0...v1.63.2)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-09 06:04:06 +00:00
dependabot[bot] 07fd51c622 chore(deps): bump golang.org/x/crypto from 0.21.0 to 0.22.0 (#357)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.21.0 to 0.22.0.
- [Commits](https://github.com/golang/crypto/compare/v0.21.0...v0.22.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-09 05:41:10 +00:00
dependabot[bot] 92ff90f364 chore(deps): bump github.com/oapi-codegen/runtime from 1.1.0 to 1.1.1 (#358)
Bumps [github.com/oapi-codegen/runtime](https://github.com/oapi-codegen/runtime) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/oapi-codegen/runtime/releases)
- [Commits](https://github.com/oapi-codegen/runtime/compare/v1.1.0...v1.1.1)

---
updated-dependencies:
- dependency-name: github.com/oapi-codegen/runtime
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-09 05:22:39 +00:00
dependabot[bot] e25036ba02 chore(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc (#356)
Bumps [go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc](https://github.com/open-telemetry/opentelemetry-go) from 1.21.0 to 1.25.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.21.0...v1.25.0)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-09 05:18:55 +00:00
dependabot[bot] 56adbbeb2e chore(deps): bump github.com/getsentry/sentry-go from 0.25.0 to 0.27.0 (#352)
Bumps [github.com/getsentry/sentry-go](https://github.com/getsentry/sentry-go) from 0.25.0 to 0.27.0.
- [Release notes](https://github.com/getsentry/sentry-go/releases)
- [Changelog](https://github.com/getsentry/sentry-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-go/compare/v0.25.0...v0.27.0)

---
updated-dependencies:
- dependency-name: github.com/getsentry/sentry-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-08 05:12:32 +00:00
dependabot[bot] 92c703d718 chore(deps): bump github.com/steebchen/prisma-client-go (#351)
Bumps [github.com/steebchen/prisma-client-go](https://github.com/steebchen/prisma-client-go) from 0.35.0 to 0.36.0.
- [Release notes](https://github.com/steebchen/prisma-client-go/releases)
- [Commits](https://github.com/steebchen/prisma-client-go/compare/v0.35.0...v0.36.0)

---
updated-dependencies:
- dependency-name: github.com/steebchen/prisma-client-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-08 04:52:16 +00:00
dependabot[bot] b70f0864e2 chore(deps): bump github.com/go-playground/validator/v10 (#350)
Bumps [github.com/go-playground/validator/v10](https://github.com/go-playground/validator) from 10.16.0 to 10.19.0.
- [Release notes](https://github.com/go-playground/validator/releases)
- [Commits](https://github.com/go-playground/validator/compare/v10.16.0...v10.19.0)

---
updated-dependencies:
- dependency-name: github.com/go-playground/validator/v10
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-08 04:49:30 +00:00
dependabot[bot] cecdd67174 chore(deps): bump github.com/jackc/pgx/v5 from 5.5.4 to 5.5.5 (#349)
Bumps [github.com/jackc/pgx/v5](https://github.com/jackc/pgx) from 5.5.4 to 5.5.5.
- [Changelog](https://github.com/jackc/pgx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jackc/pgx/compare/v5.5.4...v5.5.5)

---
updated-dependencies:
- dependency-name: github.com/jackc/pgx/v5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-08 04:48:20 +00:00
dependabot[bot] 6cf007d7b3 chore(deps): bump google.golang.org/grpc from 1.60.1 to 1.63.0 (#336)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.60.1 to 1.63.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.60.1...v1.63.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-05 06:22:30 +00:00
dependabot[bot] a84c91f75f chore(deps): bump google.golang.org/api from 0.157.0 to 0.172.0 (#320)
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.157.0 to 0.172.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases)
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md)
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.157.0...v0.172.0)

---
updated-dependencies:
- dependency-name: google.golang.org/api
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-05 06:00:25 +00:00
dependabot[bot] c7bc6c2310 chore(deps): bump github.com/bradleyfalzon/ghinstallation/v2 (#317)
Bumps [github.com/bradleyfalzon/ghinstallation/v2](https://github.com/bradleyfalzon/ghinstallation) from 2.9.0 to 2.10.0.
- [Release notes](https://github.com/bradleyfalzon/ghinstallation/releases)
- [Commits](https://github.com/bradleyfalzon/ghinstallation/compare/v2.9.0...v2.10.0)

---
updated-dependencies:
- dependency-name: github.com/bradleyfalzon/ghinstallation/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-05 05:59:59 +00:00
dependabot[bot] a731b91345 chore(deps): bump github.com/spf13/viper from 1.16.0 to 1.18.2 (#316)
Bumps [github.com/spf13/viper](https://github.com/spf13/viper) from 1.16.0 to 1.18.2.
- [Release notes](https://github.com/spf13/viper/releases)
- [Commits](https://github.com/spf13/viper/compare/v1.16.0...v1.18.2)

---
updated-dependencies:
- dependency-name: github.com/spf13/viper
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-05 05:37:42 +00:00
dependabot[bot] f456c75b1e chore(deps): bump golang.org/x/oauth2 from 0.16.0 to 0.19.0 (#341)
Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2) from 0.16.0 to 0.19.0.
- [Commits](https://github.com/golang/oauth2/compare/v0.16.0...v0.19.0)

---
updated-dependencies:
- dependency-name: golang.org/x/oauth2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-05 05:15:30 +00:00
Gabe Ruttner 85d35bbafc fix: cleanup subscribe (#335)
* fix: single child element

* fix: cleanup subscribe

* feat: wait for wg or 60s

* chore: log timeout case

* chore: linting

---------

Co-authored-by: gabriel ruttner <gabe@hatchet.run>
v0.19.3
2024-04-04 19:31:22 -04:00
abelanger5 334ce758ec feat: queued metrics, along with bug fixes for round robin queueing (#340) 2024-04-04 17:45:10 -04:00
Luca Steeb 28e3a18b82 ci(auto-merge): add auto-merge for dependabot (#321) 2024-04-05 00:13:20 +07:00
abelanger5 d6004bbe0c fix: stale queries in update semaphore (#333)
* fix: stale queries in update semaphore

* fix: set correct alias for semaphore update
2024-04-04 12:58:32 -04:00
Gabe Ruttner 2d61324643 fix: rest client (#338)
* fix: rest client

* release: py 0.21.1

---------

Co-authored-by: gabriel ruttner <gabe@hatchet.run>
2024-04-04 09:04:30 -07:00
Gabe Ruttner 40dc7712b0 fix: single child element (#334)
Co-authored-by: gabriel ruttner <gabe@hatchet.run>
2024-04-03 16:08:13 -07:00
Gabe Ruttner 7ab7290eec feat: UI tweaks (#332)
* fix: help button treatment

* feat: revise worker docs

* feat: worker empty state

* fix: docs build

* chore: fix linting

---------

Co-authored-by: gabriel ruttner <gabe@hatchet.run>
v0.19.2 0.19.2
2024-04-03 07:35:24 -07:00
Alexander Belanger d659b08fb4 fix: no semaphore for old workers 2024-04-02 12:47:38 -07:00
Gabe Ruttner 2cd61a6dc0 docs: global rate limits (#330)
* chore: regen protos

* feat: admin put rate limit

* fix: client type

* feat: rate limit example

* feat: workflow config

* feat: step config

* release: py 0.21.0

* feat: rate limit draft

* add behavior description

* chore: cleanup examples

* feat: finalized revision

* chore: linting

---------

Co-authored-by: gabriel ruttner <gabe@hatchet.run>
2024-04-02 17:48:02 +00:00
abelanger5 d01736c15a feat(py-sdk): add support for put_workflow extending from base workflow (#329)
* feat(py-sdk): add put_workflow method and extend from base class

* feat: add cron_input to create workflow API
2024-04-02 13:29:16 -04:00
Gabe Ruttner 91b0dda46e feat(py): global rate limits (#328)
* chore: regen protos

* feat: admin put rate limit

* fix: client type

* feat: rate limit example

* feat: workflow config

* feat: step config

* release: py 0.21.0

* fix: RateLimitDuration in init

---------

Co-authored-by: gabriel ruttner <gabe@hatchet.run>
2024-04-02 13:01:22 -04:00
Gabe Ruttner 0da379e423 feat(dashboard): improve dashboard settings for user and tokens (#275)
* feat: expires at as Date

* wip: change passwords

* feat: user can change their password

* chore: cleanup

* chore: linting

* chore: fix build issue

* fix: protoc version

* chore: resolve feedback

* fix: ref

* fix: password inputs

* chore: update generated

* fix: update respository

* feat: only show change password if user has password

* fix: linting

* fix: validation string

* chore: regen api

---------

Co-authored-by: gabriel ruttner <gabe@hatchet.run>
2024-04-02 12:50:20 -04:00
abelanger5 066b3c5b71 feat(engine): initial rate-limiting engine implementation (#324)
* feat(engine): initial rate-limiting engine implementation

* fixes and implement go sdk rate limiting
2024-04-02 10:53:03 -04:00
Gabe Ruttner 5066547ce6 feat: cancel in progress (#325)
* chore: bad project path

* fix: remove tickerId for replay

* feat: cancel from request

* feat: cancel button in UI

* chore: rm comment

* fix: build error

* chore: reason case

* chore: reason string

* fix: linting

---------

Co-authored-by: gabriel ruttner <gabe@hatchet.run>
2024-04-02 01:16:27 +00:00
Gabe Ruttner d731a13afd docs: streaming (#323)
* fix: linting

* docs: rename page

* docs: streaming ts/py

* fix: linting

---------

Co-authored-by: gabriel ruttner <gabe@hatchet.run>
2024-04-01 14:52:52 -07:00
Gabe Ruttner d8b6843dec feat: streaming events (#309)
* feat: add stream event model

* docs: how to work with db models

* feat: put stream event

* chore: rm comments

* feat: add stream resource type

* feat: enqueue stream event

* fix: contracts

* feat: protos

* chore: set properties correctly for typing

* fix: stream example

* chore: rm old example

* fix: async on

* fix: bytea type

* fix: worker

* feat: put stream data

* feat: stream type

* fix: correct queue

* feat: streaming payloads

* fix: cleanup

* fix: validation

* feat: example file streaming

* chore: rm unused query

* fix: tenant check and read only consumer

* fix: check tenant-steprun relation

* Update prisma/schema.prisma

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

* chore: generate protos

* chore: rename migration

* release: 0.20.0

* feat(go-sdk): implement streaming in go

---------

Co-authored-by: gabriel ruttner <gabe@hatchet.run>
Co-authored-by: abelanger5 <belanger@sas.upenn.edu>
2024-04-01 15:46:21 -04:00