Skip to content

Commit 54ef8f9

Browse files
committed
temporarily speed up presubmit feedback
1 parent db2e63a commit 54ef8f9

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/unittest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
matrix: ${{ steps.set-matrix.outputs.matrix }}
3030
is_full_run: ${{ steps.check-label.outputs.is_full_run }}
3131
env:
32-
MAX_SHARDS: 16
32+
MAX_SHARDS: 50
3333
# Define weights for long-running unit tests to balance shard execution time
3434
# Each weight is roughly 1 minute of expected execution time
3535
# Default for unset packages is 1

ci/get_package_shards.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ def group_packages(packages_map):
165165

166166
# Dynamically determine target weight to balance across max shards.
167167
max_shards = int(os.environ.get("MAX_SHARDS", 16))
168-
target_weight = max(10, math.ceil(total_weight / max_shards))
168+
target_weight = max(5, math.ceil(total_weight / max_shards))
169169

170170
shards_list = []
171171
current_shard_items = []

0 commit comments

Comments
 (0)