Skip to content

fix: add retry logic for Iceberg pre-registration in benchmarks #11

fix: add retry logic for Iceberg pre-registration in benchmarks

fix: add retry logic for Iceberg pre-registration in benchmarks #11

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- run: pnpm install
- name: Type check
run: pnpm build
- name: Unit tests
run: pnpm test
bench:
runs-on: ubuntu-latest
needs: test
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- run: pnpm install
- name: Generate benchmark data
run: npx tsx scripts/generate-bench-data.ts
- name: Start wrangler dev
run: |
pnpm dev &
for i in $(seq 1 30); do
if curl -sf http://localhost:8787/health > /dev/null 2>&1; then
echo "Worker ready"
break
fi
sleep 1
done
- name: Seed local R2
run: npx tsx scripts/seed-local-r2.ts
- name: Run benchmarks
run: npx tsx scripts/bench.ts