AcademySoftwareFoundation / AcademySoftwareFoundation/aswf-docker

Avoid database locking issues for parallel Conan builds

Open
#345 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
189
Forks
42
Avg merge
9h 38m
Merged PRs (30d)
6

Description

Conan does not yet fully support parallel builds as of 2.18.1, which is reflected in the `build()` method in `python/aswfdocker/builder.py`, but SQLite database locking issues can be avoided by keeping separate caches. Different VFX years create a clear separation between different build contexts, and we don't want to reuse builds between VFX years anyway, so keeping separate per-year Conan caches could allow `aswfdocker` to run on multiple `--version 2024 --version 2025 --version 2026` at once, serializing the package builds for a specific version, but parallelizing them across versions / VFX platform years.

Contributor guide

Open the contributing guide

Research direction

Start in python/aswfdocker/builder.py, especially the build() method, and trace how Conan caches are selected for each VFX version. Verify the change with parallel --version 2024 --version 2025 --version 2026 builds: package builds for one version remain serialized while different years use separate caches and can proceed concurrently.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.