From 6541b5cdbfe3b2a348b765f23d91c0c98a69cca8 Mon Sep 17 00:00:00 2001 From: FredApps <153173854+FredApps@users.noreply.github.com> Date: Mon, 23 Nov 2026 09:39:05 +0100 Subject: [PATCH] test: run mcp_wait tests alone in the gate shard heavy-filter already caps mcp_wait at one concurrent test, but other tests in the shard still ran beside them. On artcraft-k8s-main a bridged jobs.list poll then missed the 300ms client timeout. Require every test thread so these tests actually run alone, as the comment already said. Fixes #16491. --- .config/nextest.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.config/nextest.toml b/.config/nextest.toml index e2c2cd13745..9fd42ed9f39 100644 --- a/.config/nextest.toml +++ b/.config/nextest.toml @@ -24,7 +24,10 @@ gpu = { max-threads = 4 } # mcp_wait builds a 6000x6000 document and a radius-1000 Gaussian Blur so the # waited command runs long enough to cancel. On the artcraft k8s gate pods that # often fails with "not enough working memory" when it shares the shard with -# the rest of the suite; hosted ubuntu-24.04 stays green. Run these alone. +# the rest of the suite; hosted ubuntu-24.04 stays green. A bridged jobs.list +# poll can also miss its 300ms test timeout under that load (run 45136461883). +# Run these alone: the group caps them at one, and threads-required keeps the +# rest of the shard off the machine while they run. heavy-filter = { max-threads = 1 } [[profile.default.overrides]] @@ -34,6 +37,7 @@ test-group = 'gpu' [[profile.default.overrides]] filter = 'package(photocraft-automation) & test(/^mcp_wait::/)' test-group = 'heavy-filter' +threads-required = "num-test-threads" # CI (`--profile ci`, .github/workflows/ci.yml). Collect all failures in one integration run # instead of exposing one regression per rebuild. A hanging test still terminates, and every