Flaky test: BookmarkQueueAmbientTenantTests.RecurringTask_ExecuteAsync_SignalsCapturedTenant_WhenAmbientTenantIsMissing hangs intermittently
Author: sfmskywalkerCreated Sep 26, 2026Updated Sep 27, 2026
Labelsbugprio highelsa 3testtriaged
Summary
The test BookmarkQueueAmbientTenantTests.RecurringTask_ExecuteAsync_SignalsCapturedTenant_WhenAmbientTenantIsMissing, added in #8385, hangs intermittently.
Observations
Code Review observed hangs in:
- 4 of ~40 full-suite runs on
main - 2 of ~25 full-suite runs on
release/3.9.0
Assessment
The Engineer's assessment is that this is a race inside the test itself, not in the product code.
Impact
Makes CI unreliable on both main and release/3.9.0.
Target
- Targeting 3.10.
- Not a 3.9 blocker, but a candidate for a test-only backport to
release/3.9.0, because it makes CI on the release branch unreliable.
Suggested acceptance criteria
- The test passes deterministically across repeated full-suite runs (e.g. 50+ runs) with no hangs.
Source: elsa-workflows/elsa-core