wrolpi/modules/repos/test
Roland 3245235185
Repo changes wait for a concurrent writer
Adding, importing, changing, deleting and updating a Repo read, then
wrote, in the request's deferred transaction, so they failed with a 500
("database is locked") when another connection wrote in between.  They
now write inside request.ctx.db.write().

Importing reads the clone with git and walks it for its size; those run
before the write transaction, so it is not held for them.  Everything
that can refuse the import still runs before the clone is changed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 08:20:13 -06:00
..
__init__.py Add a Repos module that mirrors git repositories (#783) 2026-10-07 15:16:58 -06:00
test_api.py Repo changes wait for a concurrent writer 2026-10-21 08:20:13 -06:00
test_config.py Add a Repos module that mirrors git repositories (#783) 2026-10-07 15:16:58 -06:00
test_downloader.py Add a Repos module that mirrors git repositories (#783) 2026-10-07 15:16:58 -06:00
test_extras.py Add a Repos module that mirrors git repositories (#783) 2026-10-07 15:16:58 -06:00
test_import.py Repo changes wait for a concurrent writer 2026-10-21 08:20:13 -06:00
test_lib.py Add a Repos module that mirrors git repositories (#783) 2026-10-07 15:16:58 -06:00
test_never.py Add a Repos module that mirrors git repositories (#783) 2026-10-07 15:16:58 -06:00
test_ownership.py Give the repos ownership tests a fixed git identity (#790) 2026-10-08 17:01:59 -06:00
test_search.py Other search tab: search Channels by name, add Domains and Playlists, fix the estimate (#785) 2026-10-07 18:22:12 -06:00