Skip to content

build: increase Bazel shard counts for slow integration test targets - #34229

Merged
alan-agius4 merged 1 commit into
angular:mainfrom
alan-agius4:build/increase-test-shards
Oct 1, 2026
Merged

alan-agius4 merged 1 commit into
angular:mainfrom
alan-agius4:build/increase-test-shards

Conversation

@alan-agius4

Copy link
Copy Markdown
Collaborator

Increase Bazel test shard counts for slow integration test targets to improve CI execution times:

  • //packages/angular/build:unit-test_integration_tests: 5 -> 10
  • //packages/angular/build:library_integration_tests: 4 -> 6
  • //packages/angular_devkit/build_angular:build_angular_dev-server_test: 10 -> 12
  • //packages/angular_devkit/build_angular:build_angular_karma_test: 6 -> 10
  • //packages/angular_devkit/build_angular:build_angular_server_test: 2 -> 6
  • //packages/angular_devkit/build_angular:build_angular_browser_test: 10 -> 20
  • //packages/angular_devkit/build_angular:build_angular_prerender_test: 2 -> 4

Increase Bazel test shard counts for slow integration test targets to improve CI execution times:
- //packages/angular/build:unit-test_integration_tests: 5 -> 10
- //packages/angular/build:library_integration_tests: 4 -> 6
- //packages/angular_devkit/build_angular:build_angular_dev-server_test: 10 -> 12
- //packages/angular_devkit/build_angular:build_angular_karma_test: 6 -> 10
- //packages/angular_devkit/build_angular:build_angular_server_test: 2 -> 6
- //packages/angular_devkit/build_angular:build_angular_browser_test: 10 -> 20
- //packages/angular_devkit/build_angular:build_angular_prerender_test: 2 -> 4
@angular-robot angular-robot Bot added the area: build & ci Related the build and CI infrastructure of the project label Oct 1, 2026
@alan-agius4
alan-agius4 requested a review from clydin October 1, 2026 09:15
@alan-agius4 alan-agius4 added action: review The PR is still awaiting reviews from at least one requested reviewer target: minor This PR is targeted for the next minor release labels Oct 1, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

This pull request increases and adds shard counts for several integration tests and large specs in the Bazel build configuration files, specifically within packages/angular/build/BUILD.bazel and packages/angular_devkit/build_angular/BUILD.bazel. These adjustments, which include increasing shards for unit-test_integration_tests, library_integration_tests, dev-server, karma, and browser, as well as introducing shards for server and prerender, aim to improve test parallelization and execution speed. There are no review comments, and I have no feedback to provide.

@alan-agius4
alan-agius4 requested review from josephperrott and removed request for clydin October 1, 2026 15:30

@josephperrott josephperrott left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@alan-agius4 alan-agius4 added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Oct 1, 2026
@alan-agius4
alan-agius4 merged commit 88ebc67 into angular:main Oct 1, 2026
42 of 43 checks passed
@alan-agius4

Copy link
Copy Markdown
Collaborator Author

This PR was merged into the repository. The changes were merged into the following branches:

@alan-agius4
alan-agius4 deleted the build/increase-test-shards branch October 1, 2026 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: merge The PR is ready for merge by the caretaker area: build & ci Related the build and CI infrastructure of the project target: minor This PR is targeted for the next minor release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants