From 1f7a48a2b1b62fe4352d347a4a259e111c926ae3 Mon Sep 17 00:00:00 2001 From: Kevin Longe <273747162+kvlonge@users.noreply.github.com> Date: Tue, 17 Nov 2026 07:02:37 +0000 Subject: [PATCH 1/2] ci: skip the native builds when refreshing release lockfiles 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. --- .github/workflows/release-please.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 8d090ec92f..e2255b0006 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -119,12 +119,14 @@ jobs: RELEASE_BRANCH: ${{ steps.release_branch.outputs.name }} # Release Please only bumps the sqlbuild-cli and sqlbuild-python crate versions, so updating # the workspace entries of Cargo.lock is enough and needs no compile; metadata --locked - # proves the lock is complete. + # proves the lock is complete. The sync proves every locked third-party package installs; + # it skips sqlbuild and sqlbuild-cli, which would compile both native packages (~15 min). run: | cargo update --workspace cargo metadata --locked --format-version 1 > /dev/null uv lock --python 3.12 - uv sync --locked --all-groups --all-extras --python 3.12 + uv sync --locked --all-groups --all-extras --python 3.12 \ + --no-install-package sqlbuild --no-install-package sqlbuild-cli if git diff --quiet -- Cargo.lock uv.lock; then exit 0 fi From 551aa08a9f5897dcd1fae48b049167092ab65f13 Mon Sep 17 00:00:00 2001 From: Kevin Longe <273747162+kvlonge@users.noreply.github.com> Date: Tue, 17 Nov 2026 07:04:57 +0000 Subject: [PATCH 2/2] ci: say the lockfile refresh sync covers this platform's packages --- .github/workflows/release-please.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index e2255b0006..010b9602fe 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -119,8 +119,9 @@ jobs: RELEASE_BRANCH: ${{ steps.release_branch.outputs.name }} # Release Please only bumps the sqlbuild-cli and sqlbuild-python crate versions, so updating # the workspace entries of Cargo.lock is enough and needs no compile; metadata --locked - # proves the lock is complete. The sync proves every locked third-party package installs; - # it skips sqlbuild and sqlbuild-cli, which would compile both native packages (~15 min). + # proves the lock is complete. The sync proves every locked third-party package for this + # platform installs; it skips sqlbuild and sqlbuild-cli, which would compile both native + # packages (~15 min). run: | cargo update --workspace cargo metadata --locked --format-version 1 > /dev/null