Skip to content

build: take gpui-fast e7aa5e17, which builds in release with tests - #8

Merged
trancong12102 merged 1 commit into
mainfrom
build/gpui-fast-e7aa5e1
Oct 3, 2026
Merged

trancong12102 merged 1 commit into
mainfrom
build/gpui-fast-e7aa5e1

Conversation

@trancong12102

Copy link
Copy Markdown

What

This bumps the kit's pinned gpui-fast from bb5991c to fork main e7aa5e17. Only Cargo.lock changes, and the only dependency movement outside gpui-fast is four windows 0.57 crates dropping out.

The defect

At bb5991c, fast/element.rs destructures Interactivity::debug_selector under #[cfg(any(test, feature = "test-support"))]. The field itself only exists under any(test, all(debug_assertions, feature = "test-support")). A release build that enables GPUI's test-support feature, which includes every cargo test --release, therefore fails to compile.

Proof, before the bump:

$ cargo test --release -p gpui-base --lib --no-run
error[E0026]: struct `elements::div::Interactivity` does not have a field named `debug_selector`

A plain cargo build --release -p gpui-base does build at bb5991c. Only release builds with test-support are affected.

After the bump

  • cargo test --release -p gpui-base --lib --no-run finishes.
  • cargo build --release -p gpui-kit finishes.
  • cargo test -p gpui-base -p gpui-component --lib: 1338 and 601 passed.
  • cargo check -p gpui-component --target aarch64-apple-ios-sim finishes.

cargo clippy --workspace --exclude gpui-shell -- --deny warnings fails locally (clippy 1.99) with 10 too_many_arguments (7/6) errors in gpui-base files this PR does not touch. The lock bump cannot cause them, and main was not re-run to compare.

e7aa5e17 also brings ValueTransition and tooltips on keyboard focus (gpui-fast longbridge#23 and longbridge#24).

🤖 Generated with Claude Code

gpui-fast bb5991c named `Interactivity::debug_selector` in
`fast/element.rs` under `test-support` alone, while the field exists only
with debug assertions too, so any release build with GPUI's test-support
failed: `cargo test --release -p gpui-base --lib --no-run` stopped with
E0026. e7aa5e17 carries the field's own cfg, along with the value and
state transitions and tooltips on keyboard focus.

That command and `cargo build --release -p gpui-kit` now finish;
`gpui-base` (1338) and `gpui-component` (601) lib tests pass, and
gpui-component checks for aarch64-apple-ios-sim.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@trancong12102
trancong12102 merged commit 01617ca into main Oct 3, 2026
9 of 11 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