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

Build: Separate test and production build steps #6123

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

RXminuS
Copy link
Contributor

@RXminuS RXminuS commented Nov 14, 2024

Before the agent tests would invoke a build during the tests. This would cause issues on slow execution environments (e.g. Windows CI builds) where builds would try to overwrite files that were in use by other tests.

Now we ensure that the build happens before the tests are executed and never during the testing.

Test plan

Tests should pass. No new functionality

To test yourself simply eliminate all prior builds, run pnpm run build:for-tests and pnpm run test:unit (which is what the CI pipeline runs)

@RXminuS RXminuS changed the title Flake: Ensure tests don't flake because of build Build: Separate test and production build steps Nov 14, 2024
Copy link
Contributor Author

RXminuS commented Nov 14, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

@RXminuS RXminuS marked this pull request as ready for review November 14, 2024 03:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants