Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
ci: force ipv4 resolutions first in Node.js
Backport of #32042
  • Loading branch information
hybrist committed Jan 7, 2026
commit ce6373241b071fa6539da4eb52d5febd381fe767
4 changes: 4 additions & 0 deletions packages/angular/build/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,10 @@ jasmine_test(
name = "dev-server_integration_tests",
size = "medium",
data = [":dev-server_integration_test_lib"],
env = {
# Force IPv4 to resolve RBE resolution issues
"NODE_OPTIONS": "--dns-result-order=ipv4first",
},
flaky = True,
shard_count = 10,
)
Expand Down
3 changes: 3 additions & 0 deletions packages/angular_devkit/build_angular/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,9 @@ LARGE_SPECS = {
"//modules/testing/builder:node_modules/@angular-devkit/build-angular",
],
env = {
# Force IPv4 to resolve RBE resolution issues
"NODE_OPTIONS": "--dns-result-order=ipv4first",

# TODO: Replace Puppeteer downloaded browsers with Bazel-managed browsers,
# or standardize to avoid complex configuration like this!
"PUPPETEER_DOWNLOAD_PATH": "../../../node_modules/puppeteer/downloads",
Expand Down
4 changes: 4 additions & 0 deletions packages/angular_devkit/build_webpack/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,10 @@ jasmine_test(
"//:node_modules/typescript",
"//:node_modules/zone.js",
],
env = {
# Force IPv4 to resolve RBE resolution issues
"NODE_OPTIONS": "--dns-result-order=ipv4first",
},
)

genrule(
Expand Down