RESOLVED FIXED325521
REGRESSION(321564@main): http/tests/IndexedDB/transaction-commit-pending-requests-stop.html (layout-tests) is a flaky text failure.
https://bugs.webkit.org/show_bug.cgi?id=325521
Summary REGRESSION(321564@main): http/tests/IndexedDB/transaction-commit-pending-requ...
jespinal23
Reported 2026-09-28 11:03:58 PDT
The following test is a flaky text failure on macOS and iOS, all with the same diff: http/tests/IndexedDB/transaction-commit-pending-requests-stop.html History: https://results.webkit.org/?suite=layout-tests&test=http%2Ftests%2FIndexedDB%2Ftransaction-commit-pending-requests-stop.html DIFF URL: https://build.webkit.org/results/Apple-Tahoe-Release-AppleSilicon-WK2-Tests/321931@main%20(6594)/http/tests/IndexedDB/transaction-commit-pending-requests-stop-pretty-diff.html DIFF TEXT: --- /Volumes/Data/worker/Apple-Tahoe-Release-AppleSilicon-WK2-Tests/build/layout-test-results/http/tests/IndexedDB/transaction-commit-pending-requests-stop-expected.txt +++ /Volumes/Data/worker/Apple-Tahoe-Release-AppleSilicon-WK2-Tests/build/layout-test-results/http/tests/IndexedDB/transaction-commit-pending-requests-stop-actual.txt @@ -1,3 +1,3 @@ -PASS IDBTransaction with pending requests should not leak when committed transaction is stopped +FAIL IDBTransaction with pending requests should not leak when committed transaction is stopped assert_equals: IDBTransaction objects not destroyed (1 still alive after GC) expected 0 but got 1 REPRODUCTION & BISECTION: run-webkit-tests --release --iterations=100 http/tests/IndexedDB/transaction-commit-pending-requests-stop.html I was able to recreate this failure locally along the suspected regression point with the following results: 321563@main 0 fails 321564@main 35 fails
Attachments
Radar WebKit Bug Importer
Comment 1 2026-09-28 11:04:07 PDT
jespinal23
Comment 2 2026-09-28 14:00:47 PDT
Test gardening pull request: https://github.com/WebKit/WebKit/pull/75170
EWS
Comment 3 2026-09-28 14:04:05 PDT
Test gardening commit 322085@main (3095f6e16a4a): <https://commits.webkit.org/322085@main> Reviewed commits have been landed. Closing PR #75170 and removing active labels.
Ahmad Saleem
Comment 4 2026-09-29 00:26:11 PDT
Claudio Saavedra
Comment 5 2026-10-02 21:58:19 PDT
*** Bug 325852 has been marked as a duplicate of this bug. ***
EWS
Comment 6 2026-10-07 21:30:30 PDT
Committed 323066@main (63d8b60a92ac): <https://commits.webkit.org/323066@main> Reviewed commits have been landed. Closing PR #75239 and removing active labels.
Fujii Hironori
Comment 7 2026-10-11 10:16:33 PDT
The new test added in 323066@main, http/tests/IndexedDB/transaction-abort-pending-requests-stop.html, has been a flaky text failure on every port since its first run: -PASS IDBTransaction with pending requests should not leak when aborted transaction is stopped +FAIL IDBTransaction with pending requests should not leak when aborted transaction is stopped assert_equals: IDBTransaction objects not destroyed (1 still alive after GC) expected 0 but got 1 Unexpected failures on results.webkit.org since 323066@main: - Mac: Tahoe arm64 release 57/63, Sequoia arm64 release 30/34, Sequoia arm64 site-isolation 73/94, arm64 debug about 60-70% - WPE: ARM64 release 19/65, x86_64 release 12/56 - GTK: release 8/54, debug 1/28 https://results.webkit.org/?suite=layout-tests&test=http%2Ftests%2FIndexedDB%2Ftransaction-abort-pending-requests-stop.html Example: https://build.webkit.org/#/builders/1882/builds/5237 transaction-commit-pending-requests-stop.html now passes almost every time, so the commit case looks fixed. In the abort case, one IDBTransaction sometimes stays alive after the frame is removed and GC has run 100 times. Either the abort path can still leak, or the test doesn't wait long enough. Could you take a look? 🤖
Ahmad Saleem
Comment 8 2026-10-12 17:10:45 PDT
(In reply to Fujii Hironori from comment #7) > The new test added in 323066@main, > http/tests/IndexedDB/transaction-abort-pending-requests-stop.html, has been > a flaky text failure on every port since its first run: > > -PASS IDBTransaction with pending requests should not leak when aborted > transaction is stopped > +FAIL IDBTransaction with pending requests should not leak when aborted > transaction is stopped assert_equals: IDBTransaction objects not destroyed > (1 still alive after GC) expected 0 but got 1 > > Unexpected failures on results.webkit.org since 323066@main: > - Mac: Tahoe arm64 release 57/63, Sequoia arm64 release 30/34, Sequoia arm64 > site-isolation 73/94, arm64 debug about 60-70% > - WPE: ARM64 release 19/65, x86_64 release 12/56 > - GTK: release 8/54, debug 1/28 > > https://results.webkit.org/?suite=layout- > tests&test=http%2Ftests%2FIndexedDB%2Ftransaction-abort-pending-requests- > stop.html > Example: https://build.webkit.org/#/builders/1882/builds/5237 > > transaction-commit-pending-requests-stop.html now passes almost every time, > so the commit case looks fixed. In the abort case, one IDBTransaction > sometimes stays alive after the frame is removed and GC has run 100 times. > Either the abort path can still leak, or the test doesn't wait long enough. > Could you take a look? > 🤖 Thanks @Fuji, will have a look.
Note You need to log in before you can comment on or make changes to this bug.