mirror of
https://github.com/codewhale-hq/Codewhale.git
synced 2026-11-13 18:17:39 -10:00
test(tui): allow clippy::await_holding_lock on gate lock tests
Allow clippy::await_holding_lock on the four #[tokio::test] functions in crates/tui/src/tui/ui/tests.rs that serialize against CHILD_TERMINAL_GATE_TEST_LOCK alongside synchronous #[test] callers, matching existing suppressions in the same module. Checks: - Boat clippy (20261114T015733Z-tuiclip-clippy-d22a5e): cargo clippy --locked -p codewhale-tui --all-targets -- -D warnings -A clippy::uninlined_format_args -A clippy::too_many_arguments -A clippy::unnecessary_map_or passed (exit 0) - sh scripts/preflight.sh --check (rebased): preflight: OK - Independent pro review (620a76b8): LAND
This commit is contained in:
1 parent
d7e88289cc
commit
cae4b853d8
1 file changed
+4
@@ -31971,6 +31971,7 @@ fn queued_terminal_events_keep_receipt_gap_for_late_unbracketed_submit() {
|
||||
);
|
||||
}
|
||||
|
||||
#[allow(clippy::await_holding_lock)]
|
||||
#[tokio::test]
|
||||
async fn terminal_input_child_pause_drains_codewhale_events_before_editor_handoff() {
|
||||
let _serialized = CHILD_TERMINAL_GATE_TEST_LOCK
|
||||
@@ -32028,6 +32029,7 @@ async fn terminal_input_child_pause_drains_codewhale_events_before_editor_handof
|
||||
assert!(!input.paused_ack.load(std::sync::atomic::Ordering::Acquire));
|
||||
}
|
||||
|
||||
#[allow(clippy::await_holding_lock)]
|
||||
#[tokio::test]
|
||||
async fn terminal_input_handoff_preserves_pending_cancellation_keys() {
|
||||
let _serialized = CHILD_TERMINAL_GATE_TEST_LOCK
|
||||
@@ -36173,6 +36175,7 @@ fn issue_7123_reasoning_after_prose_stays_in_the_thinking_cell() {
|
||||
);
|
||||
}
|
||||
|
||||
#[allow(clippy::await_holding_lock)]
|
||||
#[tokio::test]
|
||||
async fn nested_editor_handoff_closes_every_child_window() {
|
||||
let _serialized = CHILD_TERMINAL_GATE_TEST_LOCK
|
||||
@@ -36217,6 +36220,7 @@ async fn nested_editor_handoff_closes_every_child_window() {
|
||||
);
|
||||
}
|
||||
|
||||
#[allow(clippy::await_holding_lock)]
|
||||
#[tokio::test]
|
||||
async fn single_pump_handoff_closes_its_child_window() {
|
||||
let _serialized = CHILD_TERMINAL_GATE_TEST_LOCK
|
||||
|
||||
Reference in new issue
Block a user