Observation (2026-08-06)
Two docs-only PRs — changes that cannot touch runtime behaviour — went red on two different, unrelated tests within the same hour:
| PR |
Change |
Failing test |
Symptom |
| #829 |
skills, .gitignore, Helm chart, one doc node |
DynamicGraphFileSystemPersistenceTest.FileSystem_Organizations_GetsHubConfiguration_FromCompiledAssembly (shard 2) |
Expected the observable to emit a value within 10s, but it did not |
| #832 |
one new markdown doc node |
CrossPartitionRealUserQueryTests.UnpinnedStructuredQuery_AsSystem_EmitsInitial (shard 5) |
Expected collection to contain an item matching the predicate because System sees every partition's rows |
Both passed on re-run of the failed shard (#829 went 16/16 and merged).
Why this matters more than the individual tests
A flaky suite on docs PRs trains everyone to re-run red rather than read it — which is exactly how a real red gets waved through. It also costs a full shard re-run (several minutes) per occurrence, and it makes --auto merges stall unpredictably.
Two concrete leads
- Timeout budgets that assume an idle machine.
FileSystem_Organizations_…FromCompiledAssembly performs a real on-demand Roslyn compile, and the assertion waits 10s while the test itself declares [Fact(Timeout = 20000)] — the inner wait is half the budget the author intended, so shard contention alone can fail it. Worth auditing Should().Emit() default waits in tests that compile or boot a mesh, and aligning them with the test's declared timeout rather than raising either arbitrarily.
- First-emission races in cross-partition queries.
UnpinnedStructuredQuery_AsSystem_EmitsInitial asserts on the initial frame of a synced query. If the assertion can observe a partial first frame under load, that is a product-relevant race, not just a test bug — worth confirming the query gates its first emission until every sub-query has produced its Initial.
Lead 2 deserves a look before being written off as flake: "the first frame was incomplete under load" is the kind of thing that also bites a real page.
🤖 Generated with Claude Code
Observation (2026-08-06)
Two docs-only PRs — changes that cannot touch runtime behaviour — went red on two different, unrelated tests within the same hour:
.gitignore, Helm chart, one doc nodeDynamicGraphFileSystemPersistenceTest.FileSystem_Organizations_GetsHubConfiguration_FromCompiledAssembly(shard 2)Expected the observable to emit a value within 10s, but it did notCrossPartitionRealUserQueryTests.UnpinnedStructuredQuery_AsSystem_EmitsInitial(shard 5)Expected collection to contain an item matching the predicate because System sees every partition's rowsBoth passed on re-run of the failed shard (#829 went 16/16 and merged).
Why this matters more than the individual tests
A flaky suite on docs PRs trains everyone to re-run red rather than read it — which is exactly how a real red gets waved through. It also costs a full shard re-run (several minutes) per occurrence, and it makes
--automerges stall unpredictably.Two concrete leads
FileSystem_Organizations_…FromCompiledAssemblyperforms a real on-demand Roslyn compile, and the assertion waits 10s while the test itself declares[Fact(Timeout = 20000)]— the inner wait is half the budget the author intended, so shard contention alone can fail it. Worth auditingShould().Emit()default waits in tests that compile or boot a mesh, and aligning them with the test's declared timeout rather than raising either arbitrarily.UnpinnedStructuredQuery_AsSystem_EmitsInitialasserts on the initial frame of a synced query. If the assertion can observe a partial first frame under load, that is a product-relevant race, not just a test bug — worth confirming the query gates its first emission until every sub-query has produced itsInitial.Lead 2 deserves a look before being written off as flake: "the first frame was incomplete under load" is the kind of thing that also bites a real page.
🤖 Generated with Claude Code