Skip to content

Commit dd79b5f

Browse files
Bill LeoutsakosBill Leoutsakos
authored andcommitted
test: gate final replay on 25 focused historical comparisons
1 parent ddde489 commit dd79b5f

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: 8697761f84762a2550e2b4318a84a805bda773bd
15+
ENGINE_SHA: e62bc4c33c4163bd18f96e6f15d30308daf16615
1616

1717
jobs:
1818
replay:
1919
runs-on: ${{ (vars.CI_PROVIDER == '' || vars.CI_PROVIDER == 'blacksmith') && 'blacksmith-2vcpu-ubuntu-2404' || 'ubuntu-latest' }}
20-
timeout-minutes: 100
20+
timeout-minutes: 10
2121
strategy:
2222
fail-fast: false
2323
max-parallel: 20
2424
matrix:
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]
25+
shard: [3, 4, 10, 14, 18, 26, 36, 39, 47, 53, 56, 63, 64, 70, 91, 94, 97, 102, 103, 114, 120, 123, 150, 169, 175]
2626
steps:
2727
- name: Checkout immutable engine
2828
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
@@ -53,7 +53,7 @@ jobs:
5353
working-directory: engine
5454
run: |
5555
bun --no-env-file scripts/design-diff/benchmark.ts \
56-
--engine "$PWD" --sha "$ENGINE_SHA" --workers 1 --timeout-seconds 1800 \
56+
--engine "$PWD" --sha "$ENGINE_SHA" --workers 1 --timeout-seconds 180 \
5757
--manifest "$RUNNER_TEMP/comparisons.json" --output "$RUNNER_TEMP/results"
5858
- name: Retain available results
5959
if: always()

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 >= 60) throw new Error('Invalid shard')
12+
if (!Number.isInteger(shard) || shard < 0 || shard >= 180) throw new Error('Invalid shard')
1313
manifest.comparisons = manifest.comparisons.filter(
14-
(entry: { sampleOrder: number }) => entry.sampleOrder % 60 === shard
14+
(entry: { sampleOrder: number }) => entry.sampleOrder % 180 === shard
1515
)
1616
const commits = [
1717
...new Set<string>(

0 commit comments

Comments
 (0)