CI from the suites #72

Merged
merge-queue merged 3 commits from PIPT-20-suites into main 2026-11-17 14:50:50 -08:00
Owner

Part of https://openproject.home.romaine.life/wp/PIPT-20 (under https://openproject.home.romaine.life/wp/PIPT-12): fzt-picker's CI comes from pipeline-templates' go, rust and release suites (its entry: romaine-life/pipeline-templates#135, which lands first).

Removed: .forgejo/workflows/ci.yml, build.yml, release.yml, dispatch.yml. Nothing on Forgejo waits on GitHub's macOS runners any more (the wait that stranded #71).

Moved, to fit the suites: the Go module to the root (picker/, cmd/fzt-picker-frontend, cmd/fzt-files, cmd/frontend-dll for the CGo DLL; module path github.com/romaine-life/fzt-picker), and the Cargo workspace's manifest, lock and nightly pin to the root (crates stay in windows/). strip-owner's take-up reads go.mod at the root.

Changed:

  • The Rust code now meets rustfmt (rustfmt.toml: width 120, closest to how it was written) and clippy -D warnings, which the old CI never ran: # Safety sections on the exported hook procedures, addr_of! reads of the hook's static mut, an annotated transmute, without_provenance for the icon's resource ID, an unused constant and the unused walkdir dependency dropped. No behaviour change.
  • The injector's shim-order test builds the release shim itself (into its own target folder), since the suite runs cargo test without a release build first.
  • fzt-files' stamp test checks info.go's variables against what the release suite stamps, instead of reading build.yml.
  • .github/workflows/macos.yml: every push still vets and tests on a real Mac; a release tag builds the Mac frontend on Linux (GitHub's Mac runners can take a quarter hour to start) and adds it to the GitHub release the work Mac downloads.
  • Takes fzt-terminal v0.1.176, the take-up #71 holds (same go.mod/go.sum); #71 is closed for this.

Release: published names are unchanged, so home-sync installs it as before; every merge that changes what it builds is released (v0.1.N), with the Mac frontend on the Forgejo release too.

Proven here through CI_SUITES_REF (removed once both PRs land) and ci-check --suites on the pipeline-templates branch.

Part of https://openproject.home.romaine.life/wp/PIPT-20 (under https://openproject.home.romaine.life/wp/PIPT-12): fzt-picker's CI comes from pipeline-templates' `go`, `rust` and `release` suites (its entry: https://forgejo.romaine.life/romaine-life/pipeline-templates/pulls/135, which lands first). **Removed:** `.forgejo/workflows/ci.yml`, `build.yml`, `release.yml`, `dispatch.yml`. Nothing on Forgejo waits on GitHub's macOS runners any more (the wait that stranded #71). **Moved, to fit the suites:** the Go module to the root (`picker/`, `cmd/fzt-picker-frontend`, `cmd/fzt-files`, `cmd/frontend-dll` for the CGo DLL; module path `github.com/romaine-life/fzt-picker`), and the Cargo workspace's manifest, lock and nightly pin to the root (crates stay in `windows/`). strip-owner's take-up reads `go.mod` at the root. **Changed:** - The Rust code now meets rustfmt (`rustfmt.toml`: width 120, closest to how it was written) and clippy `-D warnings`, which the old CI never ran: `# Safety` sections on the exported hook procedures, `addr_of!` reads of the hook's `static mut`, an annotated `transmute`, `without_provenance` for the icon's resource ID, an unused constant and the unused `walkdir` dependency dropped. No behaviour change. - The injector's shim-order test builds the release shim itself (into its own target folder), since the suite runs `cargo test` without a release build first. - fzt-files' stamp test checks `info.go`'s variables against what the release suite stamps, instead of reading `build.yml`. - `.github/workflows/macos.yml`: every push still vets and tests on a real Mac; a release tag builds the Mac frontend on Linux (GitHub's Mac runners can take a quarter hour to start) and adds it to the GitHub release the work Mac downloads. - Takes fzt-terminal v0.1.176, the take-up #71 holds (same go.mod/go.sum); #71 is closed for this. **Release:** published names are unchanged, so home-sync installs it as before; every merge that changes what it builds is released (`v0.1.N`), with the Mac frontend on the Forgejo release too. Proven here through `CI_SUITES_REF` (removed once both PRs land) and `ci-check --suites` on the pipeline-templates branch.
PIPT-20. pipeline-templates' go, rust and release suites build, check and release
fzt-picker; its own Forgejo workflows go. The Go module moves to the root
(picker/, cmd/fzt-picker-frontend, cmd/fzt-files, cmd/frontend-dll) and the Cargo
workspace's manifest, lock and toolchain pin to the root (crates stay in windows/).
The Rust code takes rustfmt (rustfmt.toml, width 120) and clippy -D warnings; the
injector's shim-order test builds the release shim itself. GitHub's macOS workflow
keeps testing on a real Mac and publishes the Mac build for the work Mac, with
nothing on Forgejo waiting for it.
Take fzt-terminal v0.1.176
Some checks failed
macOS / release (push) Has been skipped
macOS / test (push) Has been cancelled
7c2cbf6835
The take-up #71 opened, which the
old CI's wait on GitHub's macOS runners held up; here it's on the new layout.
Keep Forgejo off GitHub's macOS workflow
All checks were successful
Suite go / check-services (pull_request) Has been skipped
Suite release / scope (pull_request) Successful in 17s
Suite release / module (pull_request) Has been skipped
Suite release / reserve (pull_request) Has been skipped
Suite rust / scope (pull_request) Successful in 16s
Suite rust / check-test-linux (pull_request) Has been skipped
Suite rust / check-services (pull_request) Has been skipped
Suite rust / check-typos (pull_request) Has been skipped
Suite rust / check-machete (pull_request) Has been skipped
Suite rust / check-audit (pull_request) Has been skipped
Suite release / finalize (pull_request) Has been skipped
Suite release / home-sync (pull_request) Has been skipped
Suite release / publish (pull_request) Has been skipped
Suite release / dispatch (pull_request) Has been skipped
Suite release / deploy-image (pull_request) Has been skipped
Suite default / check-fetches (pull_request) Successful in 22s
Suite default / check-rules (pull_request) Successful in 22s
Suite rust / check-format (pull_request) Successful in 19s
Suite go / check-format (pull_request) Successful in 22s
Suite release / check-build (go, ubuntu-latest) (, go, false, ubuntu-latest, , go) (pull_request) Successful in 35s
Suite default / reused-checks (pull_request) Successful in 16s
Suite go / check-test-windows (pull_request) Successful in 1m32s
Suite go / reused-checks (pull_request) Successful in 9s
Suite release / check-build (go, windows-amd64-c-shared) (, go-windows-amd64-c-shared, false, windows-latest, windows-amd64-c-shared, go) (pull_request) Successful in 1m5s
Suite release / check-build (rust, x86_64-pc-windows-msvc) (, rust-x86_64-pc-windows-msvc, false, windows-latest, x86_64-pc-windows-msvc, rust) (pull_request) Successful in 57s
Suite release / check-package (pull_request) Successful in 21s
Suite rust / check-test-windows (pull_request) Successful in 1m15s
Suite release / reused-checks (pull_request) Successful in 19s
Suite rust / reused-checks (pull_request) Successful in 14s
merge-queue landed on main
2bf238ebfb
With no .forgejo/workflows folder, Forgejo runs .github/workflows itself, and the macOS
workflow waits there for a runner that doesn't exist.
merge-queue deleted branch PIPT-20-suites 2026-11-17 14:50:51 -08:00
merge-queue referenced this pull request from a commit 2026-11-17 14:50:51 -08:00
Sign in to join this conversation.
No description provided.