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

yarn build failure in CI #3849

Open
busma13 opened this issue Dec 2, 2024 · 0 comments
Open

yarn build failure in CI #3849

busma13 opened this issue Dec 2, 2024 · 0 comments

Comments

@busma13
Copy link
Contributor

busma13 commented Dec 2, 2024

Occasionally the yarn build step will fail in CI, but no errors are shown. I am thinking we could run the command in verbose mode so we can at least see the issue and be able to resolve it in the future.

godber pushed a commit that referenced this issue Dec 16, 2024
This PR makes the following changes:
- Adds the `--verbose` flag to the root package.json `build` script and
removes `--silent` from `YARN_SETUP_ARGS`. This will hopefully reveal
why the script fails occasionally. ref: #3849
- Replace unmaintained `porty` library with `get-port` library.
- Within the teraslice package, many tests use `findPort()` to get a
random port to start a server on. The implementation did not actually
return a random port and made conflicts more likely. Update `findPort()`
to use `get-port`, increase the port range, and get a truly random port
in that range. ref: #3848
- When starting services, log all TCP ports just before calling `docker
run`. This should give us more information about why the `docker run`
commands occasionally fail with a `port already in use` error. ref:
#3848
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants