Skip to content

[ci] Add a third web Dart unit test shard (2/2)#12150

Merged
auto-submit[bot] merged 1 commit into
flutter:mainfrom
stuartmorgan-g:ci-web-shard-adjustment-2
Jul 9, 2026
Merged

[ci] Add a third web Dart unit test shard (2/2)#12150
auto-submit[bot] merged 1 commit into
flutter:mainfrom
stuartmorgan-g:ci-web-shard-adjustment-2

Conversation

@stuartmorgan-g

Copy link
Copy Markdown
Collaborator

Takes the new shard out of bring-up, and adjusts the existing shards to expect three shards rather than two.

Takes the new shard out of bring-up, and adjusts the existing shards to
expect three shards rather than two.
@stuartmorgan-g stuartmorgan-g requested a review from tarrinneal July 8, 2026 20:39
@flutter-dashboard flutter-dashboard Bot added the CICD Run CI/CD label Jul 8, 2026

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

Copy link
Copy Markdown
Contributor

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 updates .ci.yaml by increasing the shard count from 2 to 3 for the web_dart_unit_tests.yaml targets on both the master and stable channels. It also removes the bringup: true property from the web_dart_unit_test_shard_3 targets. No review comments were provided, and there is no additional feedback.

@stuartmorgan-g

Copy link
Copy Markdown
Collaborator Author

Hm, even with the extra sharding, shard 2 took 52 minutes on one of the runs, and 38 on the other. Looks like most of it was material_ui.

@Piinks @justinmc is it normal for material_ui and material_ui/example tests to take ~25 and ~15 minute respectively?

Landing this since it'll help, but material_ui alone is already too long for reasonable size shard.

@stuartmorgan-g stuartmorgan-g added autosubmit Merge PR when tree becomes green via auto submit App emergency Override tree-status signal (land even with closed tree), combine with the autosubmit label. labels Jul 8, 2026
@flutter-dashboard

Copy link
Copy Markdown

Detected the emergency label.

If you add the autosubmit label, the bot will wait until all presubmits pass but ignore the tree status, allowing fixes for tree breakages while still validating that they don't break any existing presubmits.

The "Merge" button is also unlocked. To bypass presubmits as well as the tree status, press the GitHub "Add to Merge Queue".

@auto-submit auto-submit Bot merged commit e9ff9cb into flutter:main Jul 9, 2026
89 of 90 checks passed
Renzo-Olivares pushed a commit to mvincentong/flutter that referenced this pull request Jul 9, 2026
…r#189194)

flutter/packages@52d84d6...20928d5

2026-07-09 44525804+sailendrabathi@users.noreply.github.com
[video_player_android] Implement backBufferDurationMs in ExoPlayer
(flutter/packages#12124)
2026-07-09 bolling.ludwig@gmail.com [camera_platform_interface] Make
setJpegImageQuality default a no-op (flutter/packages#12123)
2026-07-09 36081049+anirudhsharma392@users.noreply.github.com
[local_auth] Clarify getAvailableBiometrics documentation regarding iOS
permissions (flutter/packages#11901)
2026-07-09 stuartmorgan@google.com [ci] Add a third web Dart unit test
shard (2/2) (flutter/packages#12150)
2026-07-08 stuartmorgan@google.com [ci] Add a third web Dart unit test
shard (1/2) (flutter/packages#12138)
2026-07-08 43054281+camsim99@users.noreply.github.com Add pre-commit
hook to verify static analysis passes & format is correct
(flutter/packages#11941)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages-flutter-autoroll
Please CC flutter-ecosystem@google.com on the revert to ensure that a
human
is aware of the problem.

To file a bug in Flutter:
https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
@Piinks

Piinks commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Hm, even with the extra sharding, shard 2 took 52 minutes on one of the runs, and 38 on the other. Looks like most of it was material_ui.

@Piinks @justinmc is it normal for material_ui and material_ui/example tests to take ~25 and ~15 minute respectively?

Landing this since it'll help, but material_ui alone is already too long for reasonable size shard.

Wow that that does not sound right. Material tests and Material API tests do not run in an isolated shard in flutter/flutter, but I looked into a couple runs in several PRs today and it looks like the material library typically tests out in under 5 minutes, and the API docs in about a minute and half, so.. something definitely smells here. @stuartmorgan-g did you open an issue for this? I take can it up and track it down.

@Piinks

Piinks commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Oof, actually the web shards are different. Material tests along with other libraries are spread across 8 web shards. I forgot the web unit tests are sooo much slower.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autosubmit Merge PR when tree becomes green via auto submit App CICD Run CI/CD emergency Override tree-status signal (land even with closed tree), combine with the autosubmit label.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants