[qt/qtqa/gerrit]: Summary of bulk changes made

KDE Git Services - Bulk Change <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git repository change summary for qt/qtqa/gerrit
Pushed by mirror-service into branch 'upstream/stable-3.13'.
Changed from 96cb7cb60d9d63de28cda5b135baec9def73cb24 to 500db78ce454182269efa9cce0cd7fa3e1f9d344
Acknowledgement was received that this change introduces only existing code that has been pushed to another public open source repository.

This change contains the following new commits:

Git commit 500db78ce454182269efa9cce0cd7fa3e1f9d344 by Kaushik Lingarkar on 30/07/2026 at 23:45..
WorkQueue: Do not drop tasks whose toString() throws

A worker thread's name is built from the queued task's toString() before
the task is invoked, and Task#toString() delegates to the runnable's,
which is arbitrary code supplied by the caller.

When that throws, the exception is raised on the worker's stack before
task.run(). The runnable is never invoked, and nothing the caller
wrapped around it can catch the failure. The finally block still runs,
so the task is recorded as finished although it never ran, and no
cancel() is reported. The exception reaches ThreadPoolExecutor#runWorker
and the worker dies.

A thread name is not worth a dropped task. Fall back to the class name
when building the name fails.

Release-Notes: skip
Change-Id: I34aea4f4b247fd8b0042999a492ed3b22c10c017
(cherry picked from commit 58e688458218e4abd8952923fc3b5641caa36606)
https://invent.kde.org/qt/qtqa/gerrit/-/commit/500db78ce454182269efa9cce0cd7fa3e1f9d344
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.