From 252e850779d25703c2deb411e42ee9d5b705b537 Mon Sep 17 00:00:00 2001 From: Richard Feldman Date: Wed, 8 Apr 2026 11:50:36 -0400 Subject: [PATCH] Disable flaky test_sidebar_invariants property test (#53410) The `test_sidebar_invariants` property test has been flaking recently. Marking it as `#[ignore]` to unblock CI while the root cause is investigated. Release Notes: - N/A --- crates/gpui_macros/src/property_test.rs | 2 ++ crates/sidebar/src/sidebar_tests.rs | 1 + 2 files changed, 3 insertions(+) diff --git a/crates/gpui_macros/src/property_test.rs b/crates/gpui_macros/src/property_test.rs index 6bf60eca1b63a86bce22fbf4ae771230ee34726d..65355b4dca3152b7fc315906749d1298c43f349b 100644 --- a/crates/gpui_macros/src/property_test.rs +++ b/crates/gpui_macros/src/property_test.rs @@ -14,6 +14,7 @@ pub fn test(args: TokenStream, item: TokenStream) -> TokenStream { let test_name = func.sig.ident.clone(); let inner_fn_name = format_ident!("__{test_name}"); + let outer_fn_attributes = &func.attrs; let parsed_args = parse_args(func.sig.inputs, &test_name); @@ -54,6 +55,7 @@ pub fn test(args: TokenStream, item: TokenStream) -> TokenStream { #arg_errors #[::gpui::proptest::property_test(proptest_path = "::gpui::proptest", #args)] + #(#outer_fn_attributes)* fn #test_name(#proptest_args) { #inner_fn diff --git a/crates/sidebar/src/sidebar_tests.rs b/crates/sidebar/src/sidebar_tests.rs index 860713e61de2af4cc426370872d93b7da114411c..72517d732a28594bc2b853227928a5e15d6fe74a 100644 --- a/crates/sidebar/src/sidebar_tests.rs +++ b/crates/sidebar/src/sidebar_tests.rs @@ -6101,6 +6101,7 @@ mod property_test { cases: 50, ..Default::default() })] + #[ignore = "temporarily disabled to unblock PRs from landing"] async fn test_sidebar_invariants( #[strategy = gpui::proptest::collection::vec(0u32..DISTRIBUTION_SLOTS * 10, 1..5)] raw_operations: Vec,