Skip to content

ci: unblock fork CI (rustfmt drift, pin sqlx-cli, skip remote-checks on forks)#21

Merged
miguelrisero merged 3 commits into
mainfrom
mr/fix-rustfmt-drift
Jun 24, 2026
Merged

ci: unblock fork CI (rustfmt drift, pin sqlx-cli, skip remote-checks on forks)#21
miguelrisero merged 3 commits into
mainfrom
mr/fix-rustfmt-drift

Conversation

@miguelrisero

@miguelrisero miguelrisero commented Jun 24, 2026

Copy link
Copy Markdown
Owner

Three pre-existing issues that fail test.yml on a fresh fork — independent of any feature work, surfaced when CI was first enabled:

  1. rustfmt drift in rename_workspace_branch (crates/server/.../git.rs) broke cargo fmt --all --checkbackend-clippy (its backgrounded fmt check) and tauri-checks. Fixed via cargo fmt --all (one file, no behavior change).
  2. Unpinned sqlx-cli resolved to 0.9.0, which needs rustc 1.94+ and won't install on the repo's pinned nightly (rustc 1.93) → broke backend-schema-checks setup. Masked upstream by a warm cache. Pinned to sqlx-cli@0.8.6 (matches the project's sqlx 0.8.x).
  3. backend-remote-checks can't run on forks — it builds crates/remote → the private BloopAI/vibe-kanban-private billing crate. Gated it on github.event.repository.fork == false so it skips on forks and still runs upstream.

Result on this fork: changes, frontend-checks, backend-schema-checks, backend-clippy, backend-test, tauri-checks green; backend-remote-checks skipped.

rename_workspace_branch's match expression wasn't rustfmt-clean on main, so cargo fmt --all --check (the tauri-checks CI job) failed on every commit. No behavior change.
Unpinned sqlx-cli resolves to 0.9.0, which requires rustc 1.94+ and fails to install on the repo's pinned nightly (rustc 1.93). Masked upstream by a warm cache; fresh forks fail at setup. Pin to the project's sqlx 0.8.x.
@miguelrisero miguelrisero changed the title style(server): fix rustfmt drift in git.rs ci: unblock fork CI (rustfmt drift + pin sqlx-cli) Jun 24, 2026
The job builds crates/remote, which pulls the private BloopAI/vibe-kanban-private 'billing' crate via VK_PRIVATE_DEPLOY_KEY. Forks can't access it, so the job can never pass there. Gate it on github.event.repository.fork == false; it still runs on the canonical (non-fork) repo.
@miguelrisero miguelrisero changed the title ci: unblock fork CI (rustfmt drift + pin sqlx-cli) ci: unblock fork CI (rustfmt drift, pin sqlx-cli, skip remote-checks on forks) Jun 24, 2026
@miguelrisero miguelrisero merged commit a0f13c4 into main Jun 24, 2026
7 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