Commit Graph

367 Commits

Author SHA1 Message Date
abelanger5 4ce1dd8632 feat: multi-workflow runs listener on a single endpoint
* new api-contract for workflow run events

* feat: initial implementation for new subscribe listener

* fix: sync issues and send workflow runs immediately

* refactor: add context to all engine db queries, fix deadlocking query

* fix: use new ctx for deleting dispatcher and ticker

* add cancellation reasons

* fix: docs linting

---------

Co-authored-by: gabriel ruttner <gabriel.ruttner@gmail.com>
2024-04-18 20:55:11 -04:00
Alexander Belanger 5216a6c31b fix: update explain analyze query 2024-04-18 19:10:25 -04:00
Gabe Ruttner eb23e6916d feat: improved lists (#383)
* fix: only close sm

* chore: linting

* feat: filter by workflow run status

* feat: radio filter

* feat: filter run by workflow

* fix: rm unused status

* chore: rm comment

* chore: refactor workflow run table

* fix: visibility state

* feat: visibility and reload

* chore: linting

* chore: shared table component

* chore: linting

* chore: clarify nav

* feat: link to workflow dfn

* chore: share workflow run table

* chore: linting

* wip: parent link

* feat: data table card rendering

* feat: expose manual table control

* feat: data table workflow list

* feat: workflow list actions

* feat: worker actions

* fix: toolbar for any option

* fix: rm search

* fix: rm bad filter func

* chore: linting

* fix: link card title

* fix: rm updated at for now

* fix: gen
2024-04-18 13:35:02 -07:00
abelanger5 56a098ed63 docs: wrap up fairness blog post (#396)
* docs: wrap up fairness blog post

* fix: docs theme and CTA
2024-04-18 11:22:28 -04:00
dependabot[bot] 870b9c7a8d chore(deps): bump google.golang.org/api from 0.173.0 to 0.174.0 (#395)
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.173.0 to 0.174.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.173.0...v0.174.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-18 05:20:05 +00:00
Luca Steeb fcf28b322d feat(docs): automatic theme (#386) 2024-04-17 17:11:48 +04:00
dependabot[bot] 674f906073 chore(deps): bump actions/checkout from 2 to 4 (#389)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-17 13:24:11 +04:00
dependabot[bot] 575d8eb4f4 chore(deps): bump dependabot/fetch-metadata from 1.6.0 to 2.0.0 (#390)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-17 13:23:47 +04:00
dependabot[bot] 7f8dfacef0 chore(deps): bump google.golang.org/api from 0.172.0 to 0.173.0 (#391)
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.172.0 to 0.173.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.172.0...v0.173.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-17 04:58:35 +00:00
abelanger5 347bc5dd53 feat: rabbitmq connection pooling (#387)
* feat: add rabbitmq connection pool and remove non-fatal worker errors

* chore: go mod tidy

* fix: release pool after opening channel

* fix: make sure channel is closed after all tasks return on subscribe

* fix: don't loop endlessly
v0.20.4
2024-04-16 16:45:03 -04:00
Luca Steeb 33f5ff1453 chore(pre-commit): remove no-commit to main rule (#388) 2024-04-16 19:14:21 +00:00
dependabot[bot] 39ee6b6e74 chore(deps): bump actions/setup-python from 2 to 5 (#314)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-16 18:44:11 +00:00
dependabot[bot] a778d84aed chore(deps): bump arduino/setup-task from 1 to 2 (#315)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: abelanger5 <belanger@sas.upenn.edu>
2024-04-16 22:30:45 +04:00
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
dependabot[bot] 76cca3f666 chore(deps): bump github.com/labstack/echo/v4 from 4.11.4 to 4.12.0 (#385)
Bumps [github.com/labstack/echo/v4](https://github.com/labstack/echo) from 4.11.4 to 4.12.0.
- [Release notes](https://github.com/labstack/echo/releases)
- [Changelog](https://github.com/labstack/echo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/labstack/echo/compare/v4.11.4...v4.12.0)

---
updated-dependencies:
- dependency-name: github.com/labstack/echo/v4
  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-16 04:58:20 +00:00
Gabe Ruttner 0e76f2ecea fix: only close sm (#382)
* fix: only close sm

* chore: linting
v0.20.3
2024-04-15 19:59:29 +00:00
gabriel ruttner f6e2e49f2b release(py): 0.22.0 2024-04-15 12:30:55 -06:00
Gabe Ruttner f43f32283c feat(py/go): namespaces (#354)
* feat: namespaced python

* wip: namespaced go

* fix: service name

* fix: tests

* feat: client WithNamespace

* feat: namespace example

* feat: namespaced event triggers

* docs: namespace docs

* chore: linting

---------

Co-authored-by: gabriel ruttner <gabe@hatchet.run>
v0.20.2
2024-04-15 11:26:05 -07:00
Gabe Ruttner b8267143da fix: tsconfig.json include (#376) 2024-04-15 11:25:55 -07:00
Gabe Ruttner 882ca516da feat: improved dashboard accessibility (#381)
* chore: rm log

* fix: add aria-labels

* feat: light theme and theme toggle

* fix: rm theme print

* fix: badge contrast

* fix: improve text contrast

* fix: sidebar dark mode

* fix: tenant picker mobile

* fix: close sidebar on nav link click

* fix: light theme

* chore: linting
2024-04-15 18:14:41 +00:00
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