review: describe the device, not its address
Some checks are pending
CodeQL / Analyze (push) Waiting to run
Controller Tests / controller-tests (push) Waiting to run
Jest Tests / jest-tests (push) Waiting to run

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) <noreply@anthropic.com>
This commit is contained in:
Roland 2026-08-07 20:08:55 -06:00
parent 06ac0d2055
commit 0efd0bac94
No known key found for this signature in database
GPG key ID: 1BA620CE6C9A4680

View file

@ -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,