Skip to content

Sync: Develop to Main - #26

Merged
iamtatsuki05 merged 5 commits into
mainfrom
develop
Nov 3, 2026
Merged

iamtatsuki05 merged 5 commits into
mainfrom
develop

Conversation

@iamtatsuki05

@iamtatsuki05 iamtatsuki05 commented Nov 3, 2026 •

Copy link
Copy Markdown
Owner

WHY

Release the CI speedup merged into develop to main.

WHAT

#25 brings 5 commits to main. All come from this PR.

  • 0befe05 ci: cache uv and Docker layers, cancel superseded runs
  • 04e22ce ci: drop the uv and Docker layer caches
  • 69c2146 ci: raise the test-uv timeout to 12 minutes
  • 0fc9ff8 ci: make the concurrency group unique per workflow file
  • 6bc0f2b Merge pull request ci: cancel superseded runs and add a test-uv timeout #25 from iamtatsuki05/work/ci-speedup

test-uv installs uv with astral-sh/setup-uv and stores the uv cache in
the GitHub Actions cache, keyed on uv.lock. It also gets a 5-minute
timeout.

test-docker builds the image with docker/build-push-action and stores
the layers in the GitHub Actions cache. Compose then starts the loaded
image with --no-build, so a tag mismatch fails the job.

Both workflows cancel a PR run when a newer push to the same PR starts.
The PR runs showed that neither cache saves time here. uv sync takes
about 4 s, and the cold run spent 31 s saving a 318 MB uv cache. The
warm test-docker run took 160 s against a 150 s baseline median,
because pulling the cached layers and loading the image took as long
as building it.

Keep the concurrency groups and the test-uv timeout.
Repos made from this template add their own dependencies. In
nlp-template, which has torch, the slowest test-uv run took 3.9 min,
and a run on a slow apt mirror took 4.2 min. A 5-minute limit would
fail those runs, while 12 minutes still stops a hung job.
ci: cancel superseded runs and add a test-uv timeout
@iamtatsuki05 iamtatsuki05 self-assigned this Nov 3, 2026
@iamtatsuki05 iamtatsuki05 changed the title [WIP] Sync: Develop to Main Sync: Develop to Main Nov 3, 2026
@iamtatsuki05
iamtatsuki05 marked this pull request as ready for review November 3, 2026 19:51
@iamtatsuki05
iamtatsuki05 merged commit 5e5dbed into main Nov 3, 2026
2 checks passed
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