Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(constraints): Add description to constraints backend #1581

Merged
merged 14 commits into from
May 8, 2023

Conversation

yquansah
Copy link
Contributor

@yquansah yquansah commented May 4, 2023

There have been asks for supporting descriptions for constraints. This PR adds a migration for SQLite, and the respective backend code to eventually store constraint descriptions in the database.

@yquansah yquansah marked this pull request as ready for review May 4, 2023 19:32
@yquansah yquansah requested a review from a team as a code owner May 4, 2023 19:32
@codecov
Copy link

codecov bot commented May 4, 2023

Codecov Report

Merging #1581 (7072eae) into main (f9ff61c) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1581   +/-   ##
=======================================
  Coverage   77.99%   77.99%           
=======================================
  Files          47       47           
  Lines        3768     3768           
=======================================
  Hits         2939     2939           
  Misses        664      664           
  Partials      165      165           
Impacted Files Coverage Δ
internal/storage/sql/migrator.go 20.00% <ø> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@yquansah yquansah marked this pull request as draft May 4, 2023 19:43
Copy link
Collaborator

@markphelps markphelps left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looking great! just a couple comments

@yquansah yquansah requested a review from markphelps May 5, 2023 00:16
@pull-request-size pull-request-size bot added size/L and removed size/M labels May 5, 2023
@yquansah yquansah marked this pull request as ready for review May 5, 2023 02:01
@GeorgeMac
Copy link
Contributor

Mind if we hold off until #1584 is fixed and shipped.
I need to change a bunch of this code as the pagination is borked.

@pull-request-size pull-request-size bot added size/L and removed size/M labels May 5, 2023
@yquansah yquansah added the automerge Used by Kodiak bot to automerge PRs label May 5, 2023
Copy link
Collaborator

@markphelps markphelps left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks great to me!! ❤️ thank you!

@kodiakhq kodiakhq bot merged commit 833d6b0 into main May 8, 2023
@kodiakhq kodiakhq bot deleted the yq-constraints-desc branch May 8, 2023 13:57
markphelps added a commit that referenced this pull request May 9, 2023
* chore: update changelog for 1.20 release

* chore(deps-dev): bump @typescript-eslint/parser in /ui (#1506)

Bumps [@typescript-eslint/parser](https:/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.58.0 to 5.59.0.
- [Release notes](https:/typescript-eslint/typescript-eslint/releases)
- [Changelog](https:/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https:/typescript-eslint/typescript-eslint/commits/v5.59.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mark Phelps <[email protected]>

* chore(deps-dev): bump postcss from 8.4.22 to 8.4.23 in /ui (#1512)

Bumps [postcss](https:/postcss/postcss) from 8.4.22 to 8.4.23.
- [Release notes](https:/postcss/postcss/releases)
- [Changelog](https:/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](postcss/postcss@8.4.22...8.4.23)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump @types/jest from 29.5.0 to 29.5.1 in /ui (#1513)

Bumps [@types/jest](https:/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 29.5.0 to 29.5.1.
- [Release notes](https:/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https:/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

---
updated-dependencies:
- dependency-name: "@types/jest"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump @types/node from 18.15.11 to 18.15.12 in /ui (#1514)

Bumps [@types/node](https:/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.15.11 to 18.15.12.
- [Release notes](https:/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https:/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump github.com/hashicorp/cap from 0.2.0 to 0.3.0 (#1519)

Bumps [github.com/hashicorp/cap](https:/hashicorp/cap) from 0.2.0 to 0.3.0.
- [Release notes](https:/hashicorp/cap/releases)
- [Changelog](https:/hashicorp/cap/blob/main/CHANGELOG.md)
- [Commits](hashicorp/cap@v0.2.0...v0.3.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: show info about configuring login providers (#1525)

* chore: audit author -> actor (#1498)

* chore: (wip) audit author -> actor

* chore: make actor a map with the metadata in it

* chore: only check certain folder when assessing diff for mage proto

* chore: add test for getting metadata from auth in interceptor

---------

Co-authored-by: Yoofi Quansah <[email protected]>

* chore(deps-dev): bump vite from 4.2.2 to 4.3.1 in /ui (#1516)

Bumps [vite](https:/vitejs/vite/tree/HEAD/packages/vite) from 4.2.2 to 4.3.1.
- [Release notes](https:/vitejs/vite/releases)
- [Changelog](https:/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https:/vitejs/vite/commits/v4.3.1/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mark Phelps <[email protected]>

* chore(deps-dev): bump eslint from 8.38.0 to 8.39.0 in /ui (#1520)

Bumps [eslint](https:/eslint/eslint) from 8.38.0 to 8.39.0.
- [Release notes](https:/eslint/eslint/releases)
- [Changelog](https:/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](eslint/eslint@v8.38.0...v8.39.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* feat(build): mage test:ui and github action step (#1526)

* chore: go work sync

* feat(build): add mage test:ui step

* feat(build/ui): export playright report directory on mage test:ui

* feat(github): run mage test:ui during integration tests

* chore: go mod tidy

* fix(build): no quotes in test name

---------

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* chore(deps): bump codecov/codecov-action from 3.1.2 to 3.1.3 (#1518)

Bumps [codecov/codecov-action](https:/codecov/codecov-action) from 3.1.2 to 3.1.3.
- [Release notes](https:/codecov/codecov-action/releases)
- [Changelog](https:/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](codecov/codecov-action@v3.1.2...v3.1.3)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump @types/react from 18.0.37 to 18.0.38 in /ui (#1522)

Bumps [@types/react](https:/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.0.37 to 18.0.38.
- [Release notes](https:/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https:/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mark Phelps <[email protected]>

* chore(deps-dev): bump prettier from 2.8.7 to 2.8.8 in /ui (#1521)

Bumps [prettier](https:/prettier/prettier) from 2.8.7 to 2.8.8.
- [Release notes](https:/prettier/prettier/releases)
- [Changelog](https:/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](prettier/prettier@2.8.7...2.8.8)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump @types/node from 18.15.12 to 18.16.0 in /ui (#1524)

Bumps [@types/node](https:/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.15.12 to 18.16.0.
- [Release notes](https:/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https:/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mark Phelps <[email protected]>

* chore(deps): bump swr from 2.1.3 to 2.1.4 in /ui (#1523)

Bumps [swr](https:/vercel/swr) from 2.1.3 to 2.1.4.
- [Release notes](https:/vercel/swr/releases)
- [Commits](vercel/swr@v2.1.3...v2.1.4)

---
updated-dependencies:
- dependency-name: swr
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mark Phelps <[email protected]>

* chore(deps-dev): bump @typescript-eslint/parser in /ui (#1532)

Bumps [@typescript-eslint/parser](https:/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.59.0 to 5.59.1.
- [Release notes](https:/typescript-eslint/typescript-eslint/releases)
- [Changelog](https:/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https:/typescript-eslint/typescript-eslint/commits/v5.59.1/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump @typescript-eslint/eslint-plugin in /ui (#1531)

Bumps [@typescript-eslint/eslint-plugin](https:/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.59.0 to 5.59.1.
- [Release notes](https:/typescript-eslint/typescript-eslint/releases)
- [Changelog](https:/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https:/typescript-eslint/typescript-eslint/commits/v5.59.1/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* feat: add error highlighting in console (#1528)

* chore: Telemetry updates (#1527)

* feat: (wip) telemetry updates

* chore: add more tests

* chore: support DNT

* chore: only disable telemetry if enabled already

* chore(deps): bump swr from 2.1.4 to 2.1.5 in /ui (#1534)

Bumps [swr](https:/vercel/swr) from 2.1.4 to 2.1.5.
- [Release notes](https:/vercel/swr/releases)
- [Commits](vercel/swr@v2.1.4...v2.1.5)

---
updated-dependencies:
- dependency-name: swr
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump @types/node from 18.16.0 to 18.16.1 in /ui (#1535)

Bumps [@types/node](https:/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.16.0 to 18.16.1.
- [Release notes](https:/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https:/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump vite from 4.3.1 to 4.3.2 in /ui (#1536)

Bumps [vite](https:/vitejs/vite/tree/HEAD/packages/vite) from 4.3.1 to 4.3.2.
- [Release notes](https:/vitejs/vite/releases)
- [Changelog](https:/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https:/vitejs/vite/commits/v4.3.2/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump @types/react-dom from 18.0.11 to 18.2.1 in /ui (#1539)

Bumps [@types/react-dom](https:/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) from 18.0.11 to 18.2.1.
- [Release notes](https:/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https:/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

---
updated-dependencies:
- dependency-name: "@types/react-dom"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump tailwindcss from 3.3.1 to 3.3.2 in /ui (#1538)

Bumps [tailwindcss](https:/tailwindlabs/tailwindcss) from 3.3.1 to 3.3.2.
- [Release notes](https:/tailwindlabs/tailwindcss/releases)
- [Changelog](https:/tailwindlabs/tailwindcss/blob/v3.3.2/CHANGELOG.md)
- [Commits](tailwindlabs/tailwindcss@v3.3.1...v3.3.2)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump @types/react from 18.0.38 to 18.2.0 in /ui (#1537)

Bumps [@types/react](https:/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.0.38 to 18.2.0.
- [Release notes](https:/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https:/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: add MoJ logo, some README cleanup (#1540)

* chore: update node versions in workflows; try to fix buf ratelimit (#1541)

* feat: add token creation and delete authentications for audit events (#1529)

* feat: add token creation and delete authentications for audit events

* chore: use authgetter for getting auth to track token deletions

* chore: get authentication before delete actually happens to preserve for audit logging

* feat: address comments about adding event to span in lower layer

* chore: add tests for actor

* chore: address suggestions from PR around simplification

---------

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* chore(deps-dev): bump @playwright/test from 1.32.3 to 1.33.0 in /ui (#1543)

Bumps [@playwright/test](https:/Microsoft/playwright) from 1.32.3 to 1.33.0.
- [Release notes](https:/Microsoft/playwright/releases)
- [Commits](microsoft/playwright@v1.32.3...v1.33.0)

---
updated-dependencies:
- dependency-name: "@playwright/test"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump vite from 4.3.2 to 4.3.3 in /ui (#1542)

Bumps [vite](https:/vitejs/vite/tree/HEAD/packages/vite) from 4.3.2 to 4.3.3.
- [Release notes](https:/vitejs/vite/releases)
- [Changelog](https:/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https:/vitejs/vite/commits/v4.3.3/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix(grpc/middleware): set timestamp on each batch evaluate response (#1545)

* test(grpc/middleware): add check for non-nil timestamp in response

* fix(middleware/grpc): set timestamp on each batch evaluate response

* fix(grpc/middleware): set timestamp on each batch evaluate response (#1545)

* test(grpc/middleware): add check for non-nil timestamp in response

* fix(middleware/grpc): set timestamp on each batch evaluate response

* chore: update CHANGELOG for v1.20.1

* chore: remove unnecessary newline from CHANGELOG

* fix(github): install mage in release and prepend tag with v

* fix(release): install mage run with multiline string

* Release/1.19 (#1547)

* fix(grpc/middleware): set timestamp on each batch evaluate response (#1545)

* test(grpc/middleware): add check for non-nil timestamp in response

* fix(middleware/grpc): set timestamp on each batch evaluate response

* chore: change version text to actual latest v1.20.1

* chore: update changelog entry to reflect timestamp fixes

* chore: remove versions.txt file

---------

Co-authored-by: George <[email protected]>

* chore(deps-dev): bump @types/node from 18.16.1 to 18.16.2 in /ui (#1548)

Bumps [@types/node](https:/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.16.1 to 18.16.2.
- [Release notes](https:/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https:/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: cleanup and remove print statements (#1549)

* chore: add audit configuration to json schema and cue file (#1551)

* feat: make changes to audit event structure (#1552)

* feat: make changes to audit event structure

* chore: timestamp added to Valid method

* fix(cmd/flipt): restore console logger defaults on fatal (#1550)

* fix(cmd/flipt): restore console logger defaults on fatal

* test(cli): ensure fatal error formatted correctly

* refactor(cmd/flipt): reuse common zap logger config components

* test(cli): remove assertion for level

* fix(cmd/flipt): use function scoped encoding var not defaultEncoding

---------

Co-authored-by: Mark Phelps <[email protected]>

* chore(deps): bump DavidAnson/markdownlint-cli2-action from 9 to 10 (#1554)

Bumps [DavidAnson/markdownlint-cli2-action](https:/DavidAnson/markdownlint-cli2-action) from 9 to 10.
- [Release notes](https:/DavidAnson/markdownlint-cli2-action/releases)
- [Commits](DavidAnson/markdownlint-cli2-action@v9...v10)

---
updated-dependencies:
- dependency-name: DavidAnson/markdownlint-cli2-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump @babel/preset-typescript in /ui (#1560)

Bumps [@babel/preset-typescript](https:/babel/babel/tree/HEAD/packages/babel-preset-typescript) from 7.21.4 to 7.21.5.
- [Release notes](https:/babel/babel/releases)
- [Changelog](https:/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https:/babel/babel/commits/v7.21.5/packages/babel-preset-typescript)

---
updated-dependencies:
- dependency-name: "@babel/preset-typescript"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump highlight.js from 11.7.0 to 11.8.0 in /ui (#1563)

Bumps [highlight.js](https:/highlightjs/highlight.js) from 11.7.0 to 11.8.0.
- [Release notes](https:/highlightjs/highlight.js/releases)
- [Changelog](https:/highlightjs/highlight.js/blob/main/CHANGES.md)
- [Commits](highlightjs/highlight.js@11.7.0...11.8.0)

---
updated-dependencies:
- dependency-name: highlight.js
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump prettier-plugin-tailwindcss in /ui (#1561)

Bumps [prettier-plugin-tailwindcss](https:/tailwindlabs/prettier-plugin-tailwindcss) from 0.2.7 to 0.2.8.
- [Release notes](https:/tailwindlabs/prettier-plugin-tailwindcss/releases)
- [Changelog](https:/tailwindlabs/prettier-plugin-tailwindcss/blob/main/CHANGELOG.md)
- [Commits](tailwindlabs/prettier-plugin-tailwindcss@v0.2.7...v0.2.8)

---
updated-dependencies:
- dependency-name: prettier-plugin-tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump date-fns from 2.29.3 to 2.30.0 in /ui (#1564)

Bumps [date-fns](https:/date-fns/date-fns) from 2.29.3 to 2.30.0.
- [Release notes](https:/date-fns/date-fns/releases)
- [Changelog](https:/date-fns/date-fns/blob/v2.30.0/CHANGELOG.md)
- [Commits](date-fns/date-fns@v2.29.3...v2.30.0)

---
updated-dependencies:
- dependency-name: date-fns
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump @types/node from 18.16.2 to 18.16.3 in /ui (#1562)

Bumps [@types/node](https:/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.16.2 to 18.16.3.
- [Release notes](https:/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https:/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump react-router-dom from 6.10.0 to 6.11.0 in /ui (#1565)

Bumps [react-router-dom](https:/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.10.0 to 6.11.0.
- [Release notes](https:/remix-run/react-router/releases)
- [Changelog](https:/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md)
- [Commits](https:/remix-run/react-router/commits/[email protected]/packages/react-router-dom)

---
updated-dependencies:
- dependency-name: react-router-dom
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: add audit config keys to toplevel schema defs (#1566)

* chore(deps-dev): bump @typescript-eslint/eslint-plugin in /ui (#1569)

Bumps [@typescript-eslint/eslint-plugin](https:/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.59.1 to 5.59.2.
- [Release notes](https:/typescript-eslint/typescript-eslint/releases)
- [Changelog](https:/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https:/typescript-eslint/typescript-eslint/commits/v5.59.2/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* feat: modify events to return more information about entity during auditing (#1568)

* feat: modify events to return more information about entity during auditing

* chore: changes to Dockerfile and dagger pipelines for chowing a directory

* chore: add basic tests for audit entity types

* chore: use t.Helper() method in helper methods

---------

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* chore(deps-dev): bump @typescript-eslint/parser in /ui (#1571)

Bumps [@typescript-eslint/parser](https:/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.59.1 to 5.59.2.
- [Release notes](https:/typescript-eslint/typescript-eslint/releases)
- [Changelog](https:/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https:/typescript-eslint/typescript-eslint/commits/v5.59.2/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mark Phelps <[email protected]>

* chore: update changelog for 1.21 release (#1567)

* chore: update changelog for 1.21 release

* chore: try to fix bareurl warning in md lint

* chore: update changelog date

* chore: add Loki to audit logs example (#1573)

* chore: (wip) audit logs loki

* chore: fix loki / promtail config

* chore: update audit example readme

* chore: update word

* chore: Update .goreleaser.nightly.yml (#1574)

* chore(deps): bump @tanstack/react-table from 8.8.5 to 8.9.0 in /ui (#1570)

Bumps [@tanstack/react-table](https:/tanstack/table) from 8.8.5 to 8.9.0.
- [Release notes](https:/tanstack/table/releases)
- [Commits](TanStack/table@v8.8.5...v8.9.0)

---
updated-dependencies:
- dependency-name: "@tanstack/react-table"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mark Phelps <[email protected]>

* chore(deps-dev): bump vite from 4.3.3 to 4.3.4 in /ui (#1575)

Bumps [vite](https:/vitejs/vite/tree/HEAD/packages/vite) from 4.3.3 to 4.3.4.
- [Release notes](https:/vitejs/vite/releases)
- [Changelog](https:/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https:/vitejs/vite/commits/v4.3.4/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mark Phelps <[email protected]>

* chore(deps): bump @tanstack/react-table from 8.9.0 to 8.9.1 in /ui (#1576)

* chore: try again to fix the nightly build (those v's) (#1577)

* chore(deps-dev): bump @types/react from 18.2.0 to 18.2.2 in /ui (#1579)

Bumps [@types/react](https:/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.2.0 to 18.2.2.
- [Release notes](https:/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https:/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mark Phelps <[email protected]>

* chore(deps-dev): bump @types/react from 18.2.2 to 18.2.5 in /ui (#1583)

Bumps [@types/react](https:/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.2.2 to 18.2.5.
- [Release notes](https:/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https:/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: make sdk integrations nicer to view on README (#1582)

* chore: make sdk integrations nicer to view on README

* chore: update a couple lables

* fix(storage/sql): paginated walk for resources using joins (#1584)

* test(storage/sql): rewrite paginated walk to ensure odd total walk length

* test(storage/sql): demonstrate how variants break paginated walk

* fix(storage/sql): preload flags during list

* fix(storage/sql): list flags escape keyword key

* chore(storage/sql): use crypto/rand

* chore(storage/sql): restore old limit offset pagination test

* test(storage/sql): demonstrate segments full walk failure

* fix(storage/sql): preload segments during list

* fix(storage/sql): order variants and constraints in list flags and segments

* fix(storage/sql): sleep between variant and constraint creation

* test(storage/sql): demonstrate rules full walk bug

* fix(storage/sql): preload rules during list

* test(build/integration): extend import-export tests to cover pagination bug scenario

* fix(build/integration): assert 100 flags are stored

* fix(sql/mysql): reduce sleeps and quote rank

* fix(build/integration): ensure rank > 0

* fix(build/integration): reduce flag list length expection to 50

* Release/1.21.1 (#1587)

* chore: update changelog for 1.21 release

* chore: try to fix bareurl warning in md lint

* chore: update changelog date

* fix(storage/sql): paginated walk for resources using joins (#1584)

* test(storage/sql): rewrite paginated walk to ensure odd total walk length

* test(storage/sql): demonstrate how variants break paginated walk

* fix(storage/sql): preload flags during list

* fix(storage/sql): list flags escape keyword key

* chore(storage/sql): use crypto/rand

* chore(storage/sql): restore old limit offset pagination test

* test(storage/sql): demonstrate segments full walk failure

* fix(storage/sql): preload segments during list

* fix(storage/sql): order variants and constraints in list flags and segments

* fix(storage/sql): sleep between variant and constraint creation

* test(storage/sql): demonstrate rules full walk bug

* fix(storage/sql): preload rules during list

* test(build/integration): extend import-export tests to cover pagination bug scenario

* fix(build/integration): assert 100 flags are stored

* fix(sql/mysql): reduce sleeps and quote rank

* fix(build/integration): ensure rank > 0

* fix(build/integration): reduce flag list length expection to 50

* chore: add changelog entry

* chore: update changlog for backports

---------

Co-authored-by: Mark Phelps <[email protected]>
Co-authored-by: George <[email protected]>

* chore(deps): bump react-router-dom from 6.11.0 to 6.11.1 in /ui (#1578)

Bumps [react-router-dom](https:/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.11.0 to 6.11.1.
- [Release notes](https:/remix-run/react-router/releases)
- [Changelog](https:/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md)
- [Commits](https:/remix-run/react-router/commits/[email protected]/packages/react-router-dom)

---
updated-dependencies:
- dependency-name: react-router-dom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mark Phelps <[email protected]>

* chore(deps-dev): bump @types/node from 18.16.3 to 18.16.5 in /ui (#1592)

Bumps [@types/node](https:/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.16.3 to 18.16.5.
- [Release notes](https:/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https:/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump eslint from 8.39.0 to 8.40.0 in /ui (#1593)

Bumps [eslint](https:/eslint/eslint) from 8.39.0 to 8.40.0.
- [Release notes](https:/eslint/eslint/releases)
- [Changelog](https:/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](eslint/eslint@v8.39.0...v8.40.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump vite from 4.3.4 to 4.3.5 in /ui (#1595)

Bumps [vite](https:/vitejs/vite/tree/HEAD/packages/vite) from 4.3.4 to 4.3.5.
- [Release notes](https:/vitejs/vite/releases)
- [Changelog](https:/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https:/vitejs/vite/commits/v4.3.5/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* feat(constraints): Add description to constraints backend (#1581)

* feat: add migrations for constraints to add description

* feat: add descriptions to constraints backend

* chore: add alter table commands for other databases

* chore: add description to GET requests for segments/constraints

* chore: change migrations to accept default value

* chore: fix integration test

* chore: update tests for constraint description

* chore: try paranthesis around default value

* chore: make description nullable

* feat(ui): add optional constraint description (#1588)

---------

Co-authored-by: Mark Phelps <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* chore(deps-dev): bump @types/react from 18.2.5 to 18.2.6 in /ui (#1594)

Bumps [@types/react](https:/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.2.5 to 18.2.6.
- [Release notes](https:/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https:/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mark Phelps <[email protected]>

* chore(deps-dev): bump @typescript-eslint/eslint-plugin in /ui (#1596)

Bumps [@typescript-eslint/eslint-plugin](https:/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.59.2 to 5.59.5.
- [Release notes](https:/typescript-eslint/typescript-eslint/releases)
- [Changelog](https:/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https:/typescript-eslint/typescript-eslint/commits/v5.59.5/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump @types/node from 18.16.5 to 18.16.6 in /ui (#1597)

Bumps [@types/node](https:/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.16.5 to 18.16.6.
- [Release notes](https:/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https:/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: go mod tidy

* chore: fix build/magefile

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Yoofi Quansah <[email protected]>
Co-authored-by: George <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Used by Kodiak bot to automerge PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants