Skip to content

Commit

Permalink
build: add more debug information for occasional windows flakiness (#…
Browse files Browse the repository at this point in the history
…48351)

Ocassionally the NodeJS version is not correct after NVM on Windows.
This adds some debug information that should help improve stability
here. A recent attempt to update the `$PATH` did not seem to help.

PR Close #48351
  • Loading branch information
devversion authored and AndrewKushnir committed Dec 5, 2022
1 parent dc5f436 commit 0b388a0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -678,6 +678,16 @@ jobs:
- *cache_key_win
- *cache_key_win_fallback

- run:
name: Debug information for flakiness of Windows job
command: |
node -v
yarn -v
which node
which yarn
echo "Path: $PATH"
yarn node -v
# Install project dependencies, and install Bazelisk globally. This is necessary as
# Windows might error when `bazel` is invoked from the project node modules. The Bazel
# invocation might modify the symlinked project `node_modules` again, causing failures.
Expand Down

0 comments on commit 0b388a0

Please sign in to comment.