Repository navigation
[Tests] Mark flaky tests and allow flaky retries for AspNetWebApi snapshots - #9695
Conversation
BenchmarksBenchmark execution time: 2026-11-12 11:51:08 Comparing candidate commit 9a008a3 in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 72 metrics, 0 unstable metrics, 5 known flaky benchmarks, 120 flaky benchmarks without significant changes.
|
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
More details
Snapshot retries can reuse their original prefix while preserving snapshot comparisons. The new flaky annotations use existing retry infrastructure; no reportable defects were identified.
🤖 Bits Code Review · Commit 9a008a3
Execution-Time Benchmarks Report ⏱️Execution-time results for samples comparing This PR (9695) and master. ✅ No regressions detected |
sameerank
left a comment
There was a problem hiding this comment.
Approving for the change pertaining to FFE 👍
Summary of changes
Mark three tests as
[Flaky]and let the[Flaky]retry work for the snapshot tests inAspNetWebApi.Reason for change
These tests each failed once on master in CI:
ExposureApiTests.DisposeHasABoundedWaitWhenTheNetworkSendDoesNotFinishGlobalCoverageMemoryTests.SixThousandNUnitContextsDoNotRetainNativeCoverageBuffersAspNetWebApi.TestBlockedRequest(already[Flaky], but the retry could never pass)For
TestBlockedRequest, the retry failed withThe prefix has already been used. Verify keeps a process-wide set of snapshot prefixes, so attempt 2 reuses attempt 1's prefix and fails before comparing any snapshot.Implementation details
[Flaky("Identified as flaky in CI")]to the first two tests.settings.DisableRequireUniquePrefix()inAspNetWebApi.TestBlockedRequestandTestBlockedRequests. Snapshot comparison is unchanged; only the prefix uniqueness check is skipped.Test coverage
Test-only change, no new tests.
Other details