wrolpi/modules/repos/test
lrnselfreliance cbf69e3013
Some checks failed
Backend Tests / api-tests (core) (push) Has been cancelled
Backend Tests / api-tests (files) (push) Has been cancelled
Backend Tests / api-tests (media) (push) Has been cancelled
Backend Tests / api-tests (rest) (push) Has been cancelled
Backend Tests / api-contract-tests (push) Has been cancelled
Backend Tests / api-migrations-and-start (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
Controller Tests / controller-tests (push) Has been cancelled
Cypress Tests / cypress-component-tests (push) Has been cancelled
Cypress Tests / cypress-e2e-tests (push) Has been cancelled
Jest Tests / jest-tests (push) Has been cancelled
Repo changes wait for a concurrent writer (#853)
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 16:50:09 -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 (#853) 2026-10-21 16:50:09 -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 (#853) 2026-10-21 16:50:09 -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