From 0efd0bac946de5759dd0b3253c27fd839bf903d5 Mon Sep 17 00:00:00 2001 From: Roland Date: Fri, 7 Aug 2026 20:08:55 -0600 Subject: [PATCH] review: describe the device, not its address Regression docstrings named the LAN address of the box a bug was found on. The address is not part of the finding and does not belong in the repository; the symptom and the shape of the failure are what a reader needs. Co-Authored-By: Claude Opus 5 (1M context) --- wrolpi/test/test_downloader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wrolpi/test/test_downloader.py b/wrolpi/test/test_downloader.py index ee9b00c6..d7a9e0ec 100644 --- a/wrolpi/test/test_downloader.py +++ b/wrolpi/test/test_downloader.py @@ -1713,7 +1713,7 @@ async def test_daily_limit_per_domain_allows_under_limit(test_session, test_down async def test_download_dispatched_outside_immediate_transaction(test_session, test_download_manager, test_downloader): """The download signal must be dispatched AFTER the claiming write transaction commits. - Regression test for a production deadlock (found on 10.0.0.9, where downloads silently stopped): + Regression test for a production deadlock (downloads silently stopped on a test device): `_dispatch_new_downloads` claimed downloads inside its write transaction and `await`ed `api_app.dispatch(...)` while that transaction was still open. Under NullPool (production) the dispatched `signal_download_download` opens its OWN connection and also issues BEGIN IMMEDIATE,