Skip to content

Commit af45e00

Browse files
Bill LeoutsakosBill Leoutsakos
authored andcommitted
test(design-diff): replay collection-aware engine in smaller frozen batches
1 parent c3061f5 commit af45e00

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/design-diff-benchmark.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,17 @@ concurrency:
1212
cancel-in-progress: true
1313

1414
env:
15-
ENGINE_SHA: 309054cecfaca8c1504cd837b79b2dd70693ef59
15+
ENGINE_SHA: e279fddb00dfc22ca181838352c436d7f480c286
1616

1717
jobs:
1818
replay:
1919
runs-on: ${{ (vars.CI_PROVIDER == '' || vars.CI_PROVIDER == 'blacksmith') && 'blacksmith-2vcpu-ubuntu-2404' || 'ubuntu-latest' }}
20-
timeout-minutes: 60
20+
timeout-minutes: 50
2121
strategy:
2222
fail-fast: false
23-
max-parallel: 8
23+
max-parallel: 12
2424
matrix:
25-
shard: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19]
25+
shard: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59]
2626
steps:
2727
- name: Checkout immutable engine
2828
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6

scripts/design-diff/cloud-benchmark.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ try {
99
readFileSync(path.join(engine, 'scripts/design-diff/benchmark/comparisons.json'), 'utf8')
1010
)
1111
const shard = Number(process.env.SHARD)
12-
if (!Number.isInteger(shard) || shard < 0 || shard >= 20) throw new Error('Invalid shard')
12+
if (!Number.isInteger(shard) || shard < 0 || shard >= 60) throw new Error('Invalid shard')
1313
manifest.comparisons = manifest.comparisons.filter(
14-
(entry: { sampleOrder: number }) => entry.sampleOrder % 20 === shard
14+
(entry: { sampleOrder: number }) => entry.sampleOrder % 60 === shard
1515
)
1616
const commits = [
1717
...new Set<string>(

0 commit comments

Comments
 (0)