Commit Graph

439 Commits

Author SHA1 Message Date
Alexander Belanger e51179ce06 chore: regen and lint 2024-05-09 18:32:35 -04:00
Alexander Belanger e6db1d50ba Merge branch 'main' into add-indexes 2024-05-09 18:28:18 -04:00
abelanger5 1a8f1d8cab feat: events view for step runs (#479)
* feat: events view for step runs

* chore: regen migration

* chore: address pr review changes
2024-05-09 18:25:23 -04:00
abelanger5 57945a0d08 chore: add semaphore guardrails (#475) 2024-05-09 17:44:47 -04:00
mavenraven 7cc507091f Adds discussed indexes. 2024-05-09 16:39:52 -04:00
Gabe Ruttner 557077c33a fix: workflow run relative date (#473) 2024-05-09 10:40:16 -04:00
abelanger5 2d6d27c1a1 fix: prevent over-incrementing worker semaphore (#472) 2024-05-09 10:29:03 -04:00
dependabot[bot] 9e29c6f93f chore(deps): bump github.com/rabbitmq/amqp091-go from 1.9.0 to 1.10.0 (#471)
Bumps [github.com/rabbitmq/amqp091-go](https://github.com/rabbitmq/amqp091-go) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/rabbitmq/amqp091-go/releases)
- [Changelog](https://github.com/rabbitmq/amqp091-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rabbitmq/amqp091-go/compare/v1.9.0...v1.10.0)

---
updated-dependencies:
- dependency-name: github.com/rabbitmq/amqp091-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-05-09 04:48:06 +00:00
dependabot[bot] dbc8f442f6 chore(deps): bump pnpm/action-setup from 3 to 4 (#462)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-09 03:05:55 +02:00
Gabe Ruttner efe6b241cf fix: replace switch case with typed variants (#470)
* fix: replace switch case with typed variants

* fix: consistent workflow run badge

* chore: linting

* fix: build error
v0.25.2
2024-05-08 19:37:11 -04:00
abelanger5 9a2b3648a0 fix: get group key run cancellations should cancel job runs, clean up cancellation logic (#469) 2024-05-08 19:36:26 -04:00
abelanger5 7e70ddee93 fix: handle last alerted null case + some logging/cleanup improvements (#468) 2024-05-08 19:36:13 -04:00
Gabe Ruttner 93bb0136d1 fix: branch cancelation strategy (#467)
* feat: resolve by parent-child relation

* fix: previous step failed cancelled reason

* feat: job runs continue until they cant

* fix: poll based on job run status

* chore: generate
2024-05-08 19:36:03 -04:00
Gabe Ruttner 0586af8e8c Feat add rate limit durations (#466)
* feat: add day, week, month, year durations

* feat: add options to client
2024-05-08 19:35:39 -04:00
Gabe Ruttner 50cb4c8b66 feat: improved relative date component (#465) v0.25.1 2024-05-08 12:28:48 -04:00
abelanger5 a18b580841 fix: alerting should query for recently finished runs instead of recently created (#464) 2024-05-08 12:28:06 -04:00
Gabe Ruttner c8b59d1cc1 Feat add additional meta to trigger (#458)
* feat: add additional metadata to sdk

* docs: metadata

* fix: build

* feat: filter gif
v0.25.0
2024-05-08 10:07:28 -04:00
Gabe Ruttner 2157a829b8 feat: on failure docs (#460) 2024-05-08 10:06:43 -04:00
abelanger5 b50ed62924 feat: alerting from slack and email (#461)
* feat: alerting. implements slack alerting, email, and refactors tenant settings to make them more manageable

* chore: generate

* chore: generate sqlc after migrate
2024-05-08 10:04:58 -04:00
dependabot[bot] 10688bf068 chore(deps): bump google.golang.org/api from 0.177.0 to 0.178.0 (#463)
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.177.0 to 0.178.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.177.0...v0.178.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-05-08 05:32:45 +00:00
Gabe Ruttner 67b7dc522c fix: report slot count from semaphore (#459) 2024-05-07 15:36:11 -07:00
dependabot[bot] 937704b546 chore(deps): bump github.com/go-co-op/gocron/v2 from 2.4.1 to 2.5.0 (#457)
Bumps [github.com/go-co-op/gocron/v2](https://github.com/go-co-op/gocron) from 2.4.1 to 2.5.0.
- [Release notes](https://github.com/go-co-op/gocron/releases)
- [Commits](https://github.com/go-co-op/gocron/compare/v2.4.1...v2.5.0)

---
updated-dependencies:
- dependency-name: github.com/go-co-op/gocron/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-05-07 04:40:05 +00:00
dependabot[bot] c7d396b0ed chore(deps): bump golang.org/x/crypto from 0.22.0 to 0.23.0 (#456)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.22.0 to 0.23.0.
- [Commits](https://github.com/golang/crypto/compare/v0.22.0...v0.23.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-05-07 04:37:31 +00:00
dependabot[bot] fbfd59a812 chore(deps): bump google.golang.org/protobuf from 1.34.0 to 1.34.1 (#455)
Bumps google.golang.org/protobuf from 1.34.0 to 1.34.1.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  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-05-07 04:37:16 +00:00
Gabe Ruttner fa07400159 feat: event and workflow run metadata (#446)
Adds additional user-defined metadata to events and workflow runs.
2024-05-06 17:10:33 -04:00
abelanger5 7543a0c2a5 add jobs which always run on failure (#445)
* (wip) prisma schema

* feat: on-failure steps

* chore: address changes from PR review

* chore: bump migration number
2024-05-06 15:39:22 -04:00
dependabot[bot] 485be72fed chore(deps): bump github.com/go-co-op/gocron/v2 from 2.4.0 to 2.4.1 (#454)
Bumps [github.com/go-co-op/gocron/v2](https://github.com/go-co-op/gocron) from 2.4.0 to 2.4.1.
- [Release notes](https://github.com/go-co-op/gocron/releases)
- [Commits](https://github.com/go-co-op/gocron/compare/v2.4.0...v2.4.1)

---
updated-dependencies:
- dependency-name: github.com/go-co-op/gocron/v2
  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-05-06 05:37:50 +00:00
dependabot[bot] 141cdde503 chore(deps): bump golang.org/x/oauth2 from 0.19.0 to 0.20.0 (#453)
Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2) from 0.19.0 to 0.20.0.
- [Commits](https://github.com/golang/oauth2/compare/v0.19.0...v0.20.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-05-06 05:35:56 +00:00
Gabe Ruttner 2b910a89de feat: improved optional product analytics (#452)
* feat: add fe posthog config

* feat: add fe posthog to metadata endpoint

* feat: dynamically load ph on fe

* feat: add analyticsOptOut to tenant db

* feat: respect opt out

* feat: update tenant settings

* feat: mask all text
v0.23.0
2024-05-05 18:14:27 -04:00
dependabot[bot] d673cf13b6 chore(deps): bump github.com/go-co-op/gocron/v2 from 2.3.0 to 2.4.0 (#451)
Bumps [github.com/go-co-op/gocron/v2](https://github.com/go-co-op/gocron) from 2.3.0 to 2.4.0.
- [Release notes](https://github.com/go-co-op/gocron/releases)
- [Commits](https://github.com/go-co-op/gocron/compare/v2.3.0...v2.4.0)

---
updated-dependencies:
- dependency-name: github.com/go-co-op/gocron/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-05-03 04:36:21 +00:00
mavenraven 63e601576a Fixes mismatch between dependency name and use. (#444) 2024-05-02 15:51:31 -04:00
abelanger5 a02c69f27b fix: cron and scheduled workflow leaks (#443) v0.22.4 2024-05-01 14:32:43 -04:00
abelanger5 8ecbf6e158 fix: don't update or cancel completed steps (#442) 2024-05-01 14:05:55 -04:00
abelanger5 f71f17f5f7 fix: semaphores increasing on manual replays (#441)
* fix: semaphores increasing on manual replays

* chore: remove metrics queries
2024-05-01 14:05:39 -04:00
dependabot[bot] 5d05090bbf chore(deps): bump github.com/go-co-op/gocron/v2 from 2.2.10 to 2.3.0 (#440)
Bumps [github.com/go-co-op/gocron/v2](https://github.com/go-co-op/gocron) from 2.2.10 to 2.3.0.
- [Release notes](https://github.com/go-co-op/gocron/releases)
- [Commits](https://github.com/go-co-op/gocron/compare/v2.2.10...v2.3.0)

---
updated-dependencies:
- dependency-name: github.com/go-co-op/gocron/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-05-01 04:49:52 +00:00
dependabot[bot] d718af9a0b chore(deps): bump google.golang.org/api from 0.176.1 to 0.177.0 (#438)
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.176.1 to 0.177.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.176.1...v0.177.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-05-01 04:46:47 +00:00
Gabe Ruttner fa9ac9781d fix: error boundary for updates (#437) v0.22.3 2024-04-30 20:34:40 -04:00
Gabe Ruttner 539456781a fix: tenant slug (#435) 2024-04-30 19:26:22 -04:00
Gabe Ruttner 81824cd3c7 feat: in app support (#433)
* feat: add pylon config

* feat: expose pylon app id in meta

* feat: expose hashed user email

* feat: update contracts

* fix: optional security

* feat: pylon support chat

* chore: rm debug ln
v0.22.2
2024-04-30 16:10:16 -04:00
abelanger5 08494db1b6 feat: send emails from postmark (#434) 2024-04-30 15:49:58 -04:00
abelanger5 8768e889c1 fix: small UI changes for metrics view and remove worker status (#432)
* fix: small UI changes

* fix: remove all references to worker status
v0.22.1
2024-04-30 12:58:19 -04:00
dependabot[bot] 42f86a1c5b chore(deps): bump github.com/go-playground/validator/v10 (#429)
Bumps [github.com/go-playground/validator/v10](https://github.com/go-playground/validator) from 10.19.0 to 10.20.0.
- [Release notes](https://github.com/go-playground/validator/releases)
- [Commits](https://github.com/go-playground/validator/compare/v10.19.0...v10.20.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-30 05:30:10 +00:00
Luca Steeb 7fbe89649e fix(testutils): set correct server info (#426) v0.22.0 2024-04-29 15:36:52 +01:00
dependabot[bot] 4d5c0d02d3 chore(deps): bump github.com/steebchen/prisma-client-go (#428)
Bumps [github.com/steebchen/prisma-client-go](https://github.com/steebchen/prisma-client-go) from 0.36.0 to 0.37.0.
- [Release notes](https://github.com/steebchen/prisma-client-go/releases)
- [Commits](https://github.com/steebchen/prisma-client-go/compare/v0.36.0...v0.37.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-29 05:25:43 +00:00
Gabe Ruttner 1b79c09c94 Feat improved visibility (#425)
* feat: expose worker state

* feat: improved worker list and details

* fix: child workflow run refresh

* feat: workflow run metrics

* fix: line breaks in errors

* chore: generate

* fix: review requests

* chore: fix protoc version
2024-04-26 07:33:53 -07:00
Gabe Ruttner d229c1fe2a fix: UI refresh fixes (#407)
* fix: nav button padding and width

* fix: only show visibility button if stateful

* refresh actions
2024-04-25 15:09:35 +00:00
dependabot[bot] f0f67b979c chore(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc (#421)
Bumps [go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc](https://github.com/open-telemetry/opentelemetry-go) from 1.25.0 to 1.26.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.25.0...v1.26.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-25 05:41:49 +00:00
dependabot[bot] cb21f2f0a7 chore(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlptrace (#420)
Bumps [go.opentelemetry.io/otel/exporters/otlp/otlptrace](https://github.com/open-telemetry/opentelemetry-go) from 1.25.0 to 1.26.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.25.0...v1.26.0)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/exporters/otlp/otlptrace
  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-25 05:17:42 +00:00
dependabot[bot] 7c92b3192b chore(deps): bump dependabot/fetch-metadata from 2.0.0 to 2.1.0 (#419)
Bumps [dependabot/fetch-metadata](https://github.com/dependabot/fetch-metadata) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/dependabot/fetch-metadata/releases)
- [Commits](https://github.com/dependabot/fetch-metadata/compare/v2.0.0...v2.1.0)

---
updated-dependencies:
- dependency-name: dependabot/fetch-metadata
  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-25 04:40:38 +00:00
abelanger5 68f3ec8d16 feat: toggle crons to enabled/disabled (#418) 2024-04-24 07:04:33 -04:00