Skip to content

ci(HUB-0000): backport the CI cleanup to unity/hub-4.0 - #101

Merged
chris-addison merged 4 commits into
unity/hub-4.0from
unity/HUB-0000-hub-4.0-ci-backport
Nov 13, 2026
Merged

chris-addison merged 4 commits into
unity/hub-4.0from
unity/HUB-0000-hub-4.0-ci-backport

Conversation

@chris-addison

@chris-addison chris-addison commented Nov 13, 2026 •

Copy link
Copy Markdown
Collaborator

Backports the CI cleanup from #100 to the unity/hub-4.0 release line, so this branch can require the CI Required check too.

No justfile or .cargo/config.toml changes: every just recipe and test target the jobs call already exists on this branch.

Backported fixes from #97

The old CI on this branch last ran on Rust 1.99.1. On current stable (1.100), three checks fail on this branch's code, exactly as they did on unity/hub-consolidated before #97. The second commit cherry-picks #97 (a30c621) unchanged:

  • fmt: the block-comment close in crates/gpui_linux/src/linux/x11/clipboard.rs.
  • clippy: a redundant clone in crates/gpui_macros/src/styles.rs. The same lint also fires on one in crates/gpui_ce_parley/src/text_system.rs, plus a duplicated #[allow(unused)] in the X11 clipboard; clippy stopped at the first crate here, so those didn't show yet.
  • test-windows: gpui_ce_path test_windows_path_style_file_name and test_windows_path_style_parent. std's parsing of \\?\ verbatim paths changed in 1.100, so those paths now always take the explicit parser.

Changes

  • ci.yml is ci(HUB-0000): drop unused workflows and harden CI #100's version, with one difference. The Linux headless-render test runs with --features test-support, as it did here, because this branch predates upstream Enable building on Linux with just x11 or wayland, or both. gpui-ce/gpui-ce#379, which made the Linux backends opt-in.
  • audit.yml is ci(HUB-0000): drop unused workflows and harden CI #100's version.
  • Removed prerelease.yml and release.yml. They publish crates and GitHub releases, which this fork never does.
  • The same changes as on unity/hub-consolidated:
    • a CI Required rollup job;
    • a path filter that runs every Rust job when CI changes;
    • CI runs on pushes to unity/hub-consolidated and unity/hub-4.0, and only those pushes save Rust caches;
    • timeouts, concurrency and least-privilege permissions;
    • just installed with taiki-e/install-action, since extractions/setup-just is blocked by the action allowlist;
    • setup-rust-toolchain v2, with CARGO_BUILD_WARNINGS: warn and rustflags: -D warnings on the compiling jobs, so rustc warnings stay fatal;
    • actions/checkout v7 and typos 1.52.1.

The reasoning for each change is in #100.

How to test

This PR changes ci.yml, so every Rust job runs on it. actionlint passes.

Not tested: a docs-only PR (the skip path of CI Required) and the cache save on a push to this branch.

🤖 Generated with Claude Code

Same workflows as unity/hub-consolidated after gpui-ce#100: the `CI Required`
rollup, timeouts, concurrency, branch-push caches, just from
taiki-e/install-action, setup-rust-toolchain v2 with rustc warnings fatal,
and actions/checkout v7. Drops prerelease.yml and release.yml.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@chris-addison
chris-addison marked this pull request as ready for review November 13, 2026 16:52
chris-addison and others added 3 commits November 13, 2026 11:58
Rust 1.100 fails fmt, clippy and two Windows path tests on this branch;
consolidated fixed them in its crates (gpui-ce#97). CI-only pin until that
is backported.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Cherry-picked from a30c621 (gpui-ce#97). Rust 1.100 broke fmt (block
comment close in the X11 clipboard), clippy (redundant clones in
gpui_macros and the parley text system, a duplicated allow) and two
Windows path tests (std's verbatim path parsing).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The #97 fixes are backported, so this branch runs current stable again.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@chris-addison
chris-addison merged commit c3491ef into unity/hub-4.0 Nov 13, 2026
17 checks passed
@chris-addison
chris-addison deleted the unity/HUB-0000-hub-4.0-ci-backport branch November 13, 2026 17:06
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