Skip to content

ci(release): exclude sqlrite-journal from release-pr lock refresh#147

Merged
joaoh82 merged 1 commit into
mainfrom
fix-release-pr-exclude-journal
May 30, 2026
Merged

ci(release): exclude sqlrite-journal from release-pr lock refresh#147
joaoh82 merged 1 commit into
mainfrom
fix-release-pr-exclude-journal

Conversation

@joaoh82

@joaoh82 joaoh82 commented May 30, 2026

Copy link
Copy Markdown
Owner

Problem

Dispatching the Release PR workflow (release-pr.yml) for 0.10.2 failed in the Refresh Cargo.lock step (run 26697159818):

The system library `glib-2.0` required by crate `glib-sys` was not found.
error: failed to run custom build command for `glib-sys v0.18.1`

Root cause (not the SQLR-70 change)

#145 added examples/desktop-journal/src-tauri (package sqlrite-journal, a second Tauri/GTK crate) as a workspace member. It correctly updated ci.yml's build/test/clippy/doc steps to --exclude sqlrite-journal — but the release-pr.yml lock-refresh step was missed. So:

cargo build --workspace --exclude sqlrite-desktop --quiet

now tries to compile sqlrite-journalglib-sys, which fails on the runner (no GTK/glib system libs installed). CI stayed green because it excludes the journal everywhere; this only surfaced on the first release-PR dispatch since #145 merged.

Fix

Mirror ci.yml — also --exclude sqlrite-journal in the lock-refresh step. That step only needs to resolve versions into Cargo.lock, not build the desktop/journal apps.

- run: cargo build --workspace --exclude sqlrite-desktop --quiet
+ run: cargo build --workspace --exclude sqlrite-desktop --exclude sqlrite-journal --quiet

release.yml was checked and has no equivalent bare cargo build --workspace step (its publish-desktop job installs the Tauri Linux deps and builds via tauri-action), so no change is needed there.

After merge

Re-dispatch release-pr.yml for 0.10.2 (the original SQLR-70 release).

🤖 Generated with Claude Code

#145 added `examples/desktop-journal/src-tauri` (package
`sqlrite-journal`, a Tauri/GTK crate) as a workspace member and updated
ci.yml's build/test/clippy/doc steps to `--exclude sqlrite-journal`, but
release-pr.yml's "Refresh Cargo.lock" step was missed. So
`cargo build --workspace --exclude sqlrite-desktop` tried to compile
sqlrite-journal → glib-sys on a runner without the GTK system libs,
failing the first release-PR dispatch since #145 merged.

Mirror ci.yml: also exclude sqlrite-journal here. Lock-refresh only
needs to resolve versions, not build the desktop/journal apps.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented May 30, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
rust-sqlite Ready Ready Preview, Comment May 30, 2026 11:00pm

Request Review

@joaoh82 joaoh82 merged commit eb4662c into main May 30, 2026
19 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