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

bazel: decouple web application bundle from integration tests modules #51560

Merged
merged 3 commits into from
May 10, 2023

Conversation

valerybugakov
Copy link
Member

@valerybugakov valerybugakov commented May 8, 2023

Context

Make the web application bundle independent from the //client/web/src/integration and //client/shared/src/testing. It significantly slows down the Percy changes I iterate on locally.

Previously they were connected via multiple mock files and the shared isHotReloadEnabled variable. The variable is redundant now, and the mock files are correctly moved to the web_tests target out of web_lib.

Test plan

CI

@valerybugakov valerybugakov self-assigned this May 8, 2023
@cla-bot cla-bot bot added the cla-signed label May 8, 2023
@github-actions github-actions bot added the team/code-exploration Issues owned by the Code Exploration team label May 8, 2023
@sourcegraph-bot
Copy link
Contributor

sourcegraph-bot commented May 8, 2023

Codenotify: Notifying subscribers in CODENOTIFY files for diff a990dd8...b549197.

Notify File(s)
@fkling client/shared/src/search/integration/index.ts
@limitedmage client/web/src/integration/code-monitoring.test.ts
client/web/src/integration/search-contexts.test.ts
client/web/src/integration/search.test.ts

@sourcegraph-bot
Copy link
Contributor

sourcegraph-bot commented May 8, 2023

Codenotify: Notifying subscribers in OWNERS files for diff a990dd8...b549197.

No notifications.

@sourcegraph-bot
Copy link
Contributor

sourcegraph-bot commented May 8, 2023

📖 Storybook live preview

@valerybugakov valerybugakov enabled auto-merge (squash) May 10, 2023 06:23
@valerybugakov valerybugakov merged commit e5a666f into main May 10, 2023
@valerybugakov valerybugakov deleted the vb/bazel-web-mocks branch May 10, 2023 06:47
BolajiOlajide pushed a commit that referenced this pull request May 10, 2023
…#51560)

Make the web application bundle independent from the
`//client/web/src/integration` and `//client/shared/src/testing`. It
significantly slows down the Percy changes I iterate on locally.

Previously they were connected via multiple mock files and the shared
`isHotReloadEnabled` variable. The variable is redundant now, and the
mock files are correctly moved to the `web_tests` target out of
`web_lib`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bazel cla-signed team/code-exploration Issues owned by the Code Exploration team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants