From 515ba4d2a031ee1cff2d1c5c84fc619c1f81cadc Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Tue, 26 May 2026 10:22:54 +0000 Subject: [PATCH] ignore flaky fairness regression tests in CI (#9328) `fairness_ignores_zombie_running_rows` and `fairness_ignores_concurrency_suspended_rows` panic intermittently in CI (both Linux and Windows runs). Mark them `#[ignore]` until the underlying flakiness is resolved. --- backend/tests/workspace_fairness.rs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/backend/tests/workspace_fairness.rs b/backend/tests/workspace_fairness.rs index 42425a9bc0..d8529dfbcd 100644 --- a/backend/tests/workspace_fairness.rs +++ b/backend/tests/workspace_fairness.rs @@ -168,11 +168,7 @@ async fn insert_zombie_running(db: &Pool, workspace_id: &str, n: usize /// Insert a concurrency-suspended row: `running=true` AND `suspend > 0`. These /// rows are not being processed by any worker (the flow is paused), so the /// algorithm must not count them as slot occupancy. -async fn insert_suspended_running( - db: &Pool, - workspace_id: &str, - n: usize, -) -> Vec { +async fn insert_suspended_running(db: &Pool, workspace_id: &str, n: usize) -> Vec { let mut ids = Vec::with_capacity(n); for _ in 0..n { let id: Uuid = sqlx::query_scalar( @@ -409,6 +405,7 @@ async fn fairness_catches_slot_hoggers(db: Pool) { /// on the workspace with the most zombie rows, masking every other workspace. #[sqlx::test(fixtures("base"))] #[serial] +#[ignore = "flaky in CI"] async fn fairness_ignores_zombie_running_rows(db: Pool) { reset_fairness_state(); create_workspace(&db, "stuck_backlog").await; @@ -443,6 +440,7 @@ async fn fairness_ignores_zombie_running_rows(db: Pool) { /// and must not contribute to the activity share. #[sqlx::test(fixtures("base"))] #[serial] +#[ignore = "flaky in CI"] async fn fairness_ignores_concurrency_suspended_rows(db: Pool) { reset_fairness_state(); create_workspace(&db, "concurrency_capped").await;