Skip to content

ci: parallelise secret CI, cache HF dataset, speed up docker build#291

Merged
luarss merged 1 commit into
The-OpenROAD-Project:masterfrom
luarss:fast-secret-ci
Jun 6, 2026
Merged

ci: parallelise secret CI, cache HF dataset, speed up docker build#291
luarss merged 1 commit into
The-OpenROAD-Project:masterfrom
luarss:fast-secret-ci

Conversation

@luarss
Copy link
Copy Markdown
Collaborator

@luarss luarss commented Jun 6, 2026

  • Split monolithic build-backend-docker job into lint-backend, lint-frontend, lint-evaluation (ubuntu-latest), test, and docker-eval jobs; lint jobs run free runners in parallel
  • Remove redundant HF source_list.json download from test step
  • Add docker-compose.ci.yml override: skips HF clone via SKIP_HF_DOWNLOAD build arg, bind-mounts pre-downloaded ./data, reduces healthcheck start_period from 1200s to 300s
  • Add docker-up-ci / docker-down-ci Makefile targets using the CI compose override
  • Use pytest -n auto in make test to parallelise 349 tests via already-installed pytest-xdist
  • Add SKIP_HF_DOWNLOAD ARG to backend/Dockerfile so production builds still clone the dataset; CI skips it and mounts instead
  • Change uv sync --dev to uv sync in Dockerfile to omit dev tools from the production image

- Split monolithic build-backend-docker job into lint-backend,
  lint-frontend, lint-evaluation (ubuntu-latest), test, and
  docker-eval jobs; lint jobs run free runners in parallel
- Remove redundant HF source_list.json download from test step
- Add docker-compose.ci.yml override: skips HF clone via
  SKIP_HF_DOWNLOAD build arg, bind-mounts pre-downloaded ./data,
  reduces healthcheck start_period from 1200s to 300s
- Add docker-up-ci / docker-down-ci Makefile targets using the
  CI compose override
- Use pytest -n auto in make test to parallelise 349 tests via
  already-installed pytest-xdist
- Add SKIP_HF_DOWNLOAD ARG to backend/Dockerfile so production
  builds still clone the dataset; CI skips it and mounts instead
- Change uv sync --dev to uv sync in Dockerfile to omit dev
  tools from the production image

Signed-off-by: Jack Luar <jluar@precisioninno.com>
@luarss luarss merged commit a197ec6 into The-OpenROAD-Project:master Jun 6, 2026
6 checks passed
@luarss luarss deleted the fast-secret-ci branch June 6, 2026 03:51
luarss added a commit to luarss/ORAssistant that referenced this pull request Jun 6, 2026
…he-OpenROAD-Project#291)

- Split monolithic build-backend-docker job into lint-backend,
  lint-frontend, lint-evaluation (ubuntu-latest), test, and
  docker-eval jobs; lint jobs run free runners in parallel
- Remove redundant HF source_list.json download from test step
- Add docker-compose.ci.yml override: skips HF clone via
  SKIP_HF_DOWNLOAD build arg, bind-mounts pre-downloaded ./data,
  reduces healthcheck start_period from 1200s to 300s
- Add docker-up-ci / docker-down-ci Makefile targets using the
  CI compose override
- Use pytest -n auto in make test to parallelise 349 tests via
  already-installed pytest-xdist
- Add SKIP_HF_DOWNLOAD ARG to backend/Dockerfile so production
  builds still clone the dataset; CI skips it and mounts instead
- Change uv sync --dev to uv sync in Dockerfile to omit dev
  tools from the production image

Signed-off-by: Jack Luar <jluar@precisioninno.com>
luarss added a commit to luarss/ORAssistant that referenced this pull request Jun 6, 2026
…he-OpenROAD-Project#291)

- Split monolithic build-backend-docker job into lint-backend,
  lint-frontend, lint-evaluation (ubuntu-latest), test, and
  docker-eval jobs; lint jobs run free runners in parallel
- Remove redundant HF source_list.json download from test step
- Add docker-compose.ci.yml override: skips HF clone via
  SKIP_HF_DOWNLOAD build arg, bind-mounts pre-downloaded ./data,
  reduces healthcheck start_period from 1200s to 300s
- Add docker-up-ci / docker-down-ci Makefile targets using the
  CI compose override
- Use pytest -n auto in make test to parallelise 349 tests via
  already-installed pytest-xdist
- Add SKIP_HF_DOWNLOAD ARG to backend/Dockerfile so production
  builds still clone the dataset; CI skips it and mounts instead
- Change uv sync --dev to uv sync in Dockerfile to omit dev
  tools from the production image

Signed-off-by: Jack Luar <jluar@precisioninno.com>
Signed-off-by: Jack Luar <jluar@precisioninno.com>
luarss added a commit to luarss/ORAssistant that referenced this pull request Jun 6, 2026
…he-OpenROAD-Project#291)

- Split monolithic build-backend-docker job into lint-backend,
  lint-frontend, lint-evaluation (ubuntu-latest), test, and
  docker-eval jobs; lint jobs run free runners in parallel
- Remove redundant HF source_list.json download from test step
- Add docker-compose.ci.yml override: skips HF clone via
  SKIP_HF_DOWNLOAD build arg, bind-mounts pre-downloaded ./data,
  reduces healthcheck start_period from 1200s to 300s
- Add docker-up-ci / docker-down-ci Makefile targets using the
  CI compose override
- Use pytest -n auto in make test to parallelise 349 tests via
  already-installed pytest-xdist
- Add SKIP_HF_DOWNLOAD ARG to backend/Dockerfile so production
  builds still clone the dataset; CI skips it and mounts instead
- Change uv sync --dev to uv sync in Dockerfile to omit dev
  tools from the production image

Signed-off-by: Jack Luar <jluar@precisioninno.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant