Fix the priority test for the async worker channel #38

Merged
nessar merged 1 commits from fix/priority-test-async-channel into main 2026-11-17 19:59:33 +01:00
Owner

main no longer compiles the app's tests: PR #35 (#30) was merged after PR #34 (#28) without a rebase, and its test guarded_threads_run_below_normal_priority still built a std::sync::mpsc channel while spawn_guarded now takes gpui-kit's async Sender. The app itself builds; cargo test and clippy --all-targets fail with E0308 at worker.rs:187.

One-line fix: the test uses unbounded() like the other worker test.

Checks: cargo fmt --all --check OK; cargo.exe clippy --locked -p arena-tracker --all-targets -- -D warnings OK; cargo.exe test --locked -p arena-tracker: 13 passed.

🤖 Generated with Claude Code

`main` no longer compiles the app's tests: PR #35 (#30) was merged after PR #34 (#28) without a rebase, and its test `guarded_threads_run_below_normal_priority` still built a `std::sync::mpsc` channel while `spawn_guarded` now takes gpui-kit's async `Sender`. The app itself builds; `cargo test` and `clippy --all-targets` fail with E0308 at `worker.rs:187`. One-line fix: the test uses `unbounded()` like the other worker test. Checks: `cargo fmt --all --check` OK; `cargo.exe clippy --locked -p arena-tracker --all-targets -- -D warnings` OK; `cargo.exe test --locked -p arena-tracker`: 13 passed. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
nessar added 1 commit 2026-11-17 19:47:09 +01:00
Fix the priority test for the async worker channel
CI / core (pull_request) Successful in 40s
CI / core (push) Successful in 38s
1244407d65
PR #35 (#30) was merged after PR #34 (#28) without a rebase: its test
still built a std mpsc channel, while spawn_guarded now takes gpui-kit's
async Sender, so the app's tests and clippy --all-targets no longer
compiled on main.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
nessar merged commit 1244407d65 into main 2026-11-17 19:59:33 +01:00
nessar deleted branch fix/priority-test-async-channel 2026-11-17 19:59:33 +01:00
Sign in to join this conversation.