-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
104259: ui: fix storybook for db-console and make it run with bazel r=koorosh a=koorosh This change includes several changes that enables better experience for developers to build visual components with Storybook, now it is possible to run Storybook with `dev` ie: ``` dev ui storybook --project cluster-ui --port 9009 or dev ui storybook # db-console project is default one ``` - fixed storybook configuration for Db Console project. It required to install `core-js` package to resolve following issues: https://github.com/storybookjs/storybook/blob/main/MIGRATION.md#core-js-dependency-errors - updated fixtures for cluster UI storybook that wasn't adjusted to changes in components they rely on. - Added new `dev ui storybook` subcommand that allows run storybooks for Db Console or Cluster UI projects Release note: None Epic: None 106224: backfill: fix possible race in tests r=yuzefovich a=yuzefovich This commit addresses a race when `Push`ing into `execinfra.RowReceiver` which can happen in tests. In particular, when `PushesProgressEveryChunk` testing knob is set, there is a concurrency between the main waiter goroutine and worker goroutine, so we now add a mutex around that `Push`. In theory, `RowReceiver.Push` claims to be thread-safe, so it shouldn't be necessary, but two implementations (`DistSQLReceiver` and `copyingRowReceiver`) are actually not thread-safe, and fixing that is left as a TODO. Fixes: #106161. Release note: None Co-authored-by: Andrii Vorobiov <[email protected]> Co-authored-by: Yahor Yuzefovich <[email protected]>
- Loading branch information
Showing
12 changed files
with
236 additions
and
65 deletions.
There are no files selected for viewing
6 changes: 3 additions & 3 deletions
6
.aspect/rules/external_repository_action_cache/npm_translate_lock_LTY0NDkzMjUwNQ==
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# Input hashes for repository rule npm_translate_lock(name = "npm_db_console", pnpm_lock = "//pkg/ui/workspaces/db-console:pnpm-lock.yaml"). | ||
# This file should be checked into version control along with the pnpm-lock.yaml file. | ||
pkg/ui/.npmrc.pnpm=1714720514 | ||
pkg/ui/workspaces/db-console/pnpm-lock.yaml=307741782 | ||
pkg/ui/workspaces/db-console/yarn.lock=1296929611 | ||
pkg/ui/workspaces/db-console/package.json=-1415963323 | ||
pkg/ui/workspaces/db-console/pnpm-lock.yaml=1591164581 | ||
pkg/ui/workspaces/db-console/yarn.lock=861579387 | ||
pkg/ui/workspaces/db-console/package.json=463935330 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.