Skip to content

ci: skip the native builds when refreshing release lockfiles - #1540

Merged
kvlonge merged 2 commits into
mainfrom
ci/release-lockfile-refresh-skip-build
Nov 17, 2026
Merged

kvlonge merged 2 commits into
mainfrom
ci/release-lockfile-refresh-skip-build

Conversation

@kvlonge

@kvlonge kvlonge commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

Why

Each time Release Please regenerates the release pull request, the "Refresh release lockfiles" step runs uv sync --locked --all-groups --all-extras. That sync built sqlbuild and sqlbuild-cli from source, compiling both native packages. In run 44025881619 it took 14m32s ("Prepared 245 packages in 14m 32s"), and the release PR's checks and distribution build cannot start until it finishes.

Changes

  • The refresh sync now passes --no-install-package sqlbuild --no-install-package sqlbuild-cli, the same flags the Verify test jobs already use. --locked still fails on an inconsistent lock, cargo metadata --locked and uv lock are unchanged, and the release distributions build still compiles both packages.
  • The step's comment says what the sync proves.

Verification

  • Locally with the same flags: uv sync --locked ... --python 3.12 installs 243 packages without building either native package (under 1 s from a warm cache). Without the flags it started the native build.
  • Release gate unit tests pass (47), and the workflow parses as YAML.
  • Independent review: no findings that block the change.
  • Not run locally: make check-ci, because this PR only changes one workflow file. CI runs the static checks.

DuckShop: not applicable; this only changes the release workflow.

The lockfile refresh step synced every package, which compiled sqlbuild and
sqlbuild-cli (about 15 minutes) on each regeneration of the release pull
request before its checks could start. Skip installing those two packages,
as the Verify jobs already do; the lock checks are unchanged.
@kvlonge
kvlonge disabled auto-merge November 17, 2026 07:08
@kvlonge
kvlonge added this pull request to the merge queue Nov 17, 2026
Merged via the queue into main with commit 33e0de1 Nov 17, 2026
32 checks passed
@kvlonge
kvlonge deleted the ci/release-lockfile-refresh-skip-build branch November 17, 2026 08:09
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