You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Flaky Spotlight cooldown assertion in the full Flutter suite #23380
The full Flutter suite on c4aa08b510 (cd app && flutter test --concurrency=2) produced 7,123 passes, nine skips and one failure in test/services/siri_integration_test.dart, “delete and newly locked memory submitted during cooldown reach Spotlight after cooldown”: line 373 expected host.calls == 1, observed 4. Both this test and lib/services/siri_integration.dart are byte-identical to the current origin/main; rerunning the isolated file passed all 28 tests. The fixture uses a 20 ms native timeout, an 80 ms cooldown, an intermediate call-count assertion and a subsequent 130 ms wall-clock delay. Scheduler pressure likely allows the cooldown to expire before that intermediate assertion; this is a test-timing diagnosis, not evidence of a production Spotlight failure. The cooldown/deferred-removal contract needs deterministic verification without depending on the host finishing work within 80 ms.
Opened PR #23398 (#23398) to convert the Spotlight cooldown and deferred-removal tests in app/test/services/siri_integration_test.dart from wall-clock Future<void>.delayed / drainIndexForTest waits to deterministic fakeAsync time progression so scheduler pressure in full-suite runs cannot expire the 80 ms cooldown before intermediate assertions run.
Activity
ocakciomursel-pixel commentedon Oct 23, 2026
Opened PR #23398 (#23398) to convert the Spotlight cooldown and deferred-removal tests in
app/test/services/siri_integration_test.dartfrom wall-clockFuture<void>.delayed/drainIndexForTestwaits to deterministicfakeAsynctime progression so scheduler pressure in full-suite runs cannot expire the 80 ms cooldown before intermediate assertions run.chore(changelog): add non-user-facing changelog fragment (BasedHardwa…
fix(sync): recover waiting recordings at startup before another upload (
test(siri): drive Spotlight cooldown and deferred-removal assertions …
test(siri): drive Spotlight cooldown and deferred-removal assertions …