Skip to content

Throttle Windows Bazel test concurrency#18192

Merged
starr-openai merged 2 commits intomainfrom
starr/windows-bazel-jobs-8
Apr 16, 2026
Merged

Throttle Windows Bazel test concurrency#18192
starr-openai merged 2 commits intomainfrom
starr/windows-bazel-jobs-8

Conversation

@starr-openai
Copy link
Copy Markdown
Contributor

Summary

  • cap the Windows Bazel test lane at --jobs=8 to reduce local runner pressure
  • keep Linux and macOS Bazel test concurrency unchanged
  • make failed-test log tailing resolve bazel-testlogs with the same CI config and Windows host-platform context as the failed invocation
  • prefer Bazel-reported test.log paths and normalize Windows path separators before tailing

Context

The Windows Bazel workflow currently uses ci-windows, which does not inherit the remote executor config. This means the lane runs the //... test suite locally and otherwise falls back to the repo-wide common --jobs=30. The new Windows-only override is intended to reduce local executor pressure without changing coverage.

Validation

Not run locally; this is a CI workflow change and the draft PR is intended to exercise the GitHub Actions lane directly.

Limit the Windows Bazel test lane to 8 jobs to reduce local runner pressure, and make failed-test log tailing resolve paths using the same CI config and Windows host-platform context as the failed invocation.

Co-authored-by: Codex <noreply@openai.com>
@starr-openai starr-openai marked this pull request as ready for review April 16, 2026 20:23
fi

testlogs_dir="$(run_bazel "${bazel_info_cmd[@]:1}" info bazel-testlogs 2>/dev/null || echo bazel-testlogs)"
if [[ -n "${BUILDBUDDY_API_KEY:-}" ]]; then
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add a comment here...

esac
done

testlogs_dir="$(run_bazel "${bazel_info_cmd[@]:1}" \
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

...and here...

I have it on my backlog to convert this Bash script to Python because it takes way more mental energy than is appropriate to keep track of what is going on here.

@bolinfest
Copy link
Copy Markdown
Collaborator

Comments can be addressed in a subsequent PR.

Document why failed-test log tailing runs bazel info with matching CI config and only selected post-config args.

Co-authored-by: Codex <noreply@openai.com>
@starr-openai starr-openai merged commit 3905f72 into main Apr 16, 2026
25 checks passed
@starr-openai starr-openai deleted the starr/windows-bazel-jobs-8 branch April 16, 2026 21:16
@github-actions github-actions bot locked and limited conversation to collaborators Apr 16, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants