arbret/backend
counterweight 4d9edd7fd4
refactor: make mock_enqueue_job fixture opt-in instead of autouse
Tests that call POST /api/counter/increment now explicitly request
the mock_enqueue_job fixture. This prevents the mock from masking
issues in other tests that don't need it.
2025-12-21 23:29:48 +01:00
..
routes Use explicit join in random-jobs endpoint to avoid potential N+1 query 2025-12-21 23:14:08 +01:00
tests refactor: make mock_enqueue_job fixture opt-in instead of autouse 2025-12-21 23:29:48 +01:00
auth.py Add ruff linter/formatter for Python 2025-12-21 21:54:26 +01:00
database.py Extract duplicated DATABASE_URL parsing to database.py 2025-12-21 23:16:29 +01:00
env.example reviewed 2025-12-20 22:38:39 +01:00
invite_utils.py Add ruff linter/formatter for Python 2025-12-21 21:54:26 +01:00
jobs.py fix: guard pool initialization with asyncio.Lock to prevent race condition 2025-12-21 23:23:21 +01:00
main.py Use connection pool for job enqueueing instead of per-request 2025-12-21 23:13:22 +01:00
models.py Phase 3: Outcome storage 2025-12-21 22:50:35 +01:00
pyproject.toml Phase 1: Add pgqueuer infrastructure 2025-12-21 22:37:04 +01:00
pytest.ini tests passing 2025-12-18 22:08:31 +01:00
schemas.py Phase 4: API Endpoint 2025-12-21 22:53:54 +01:00
seed.py Add ruff linter/formatter for Python 2025-12-21 21:54:26 +01:00
shared_constants.py Add ruff linter/formatter for Python 2025-12-21 21:54:26 +01:00
validate_constants.py Add ruff linter/formatter for Python 2025-12-21 21:54:26 +01:00
validation.py Add ruff linter/formatter for Python 2025-12-21 21:54:26 +01:00
words.txt first implementation 2025-12-20 11:12:11 +01:00
worker.py fix: handle malformed JSON payloads in worker with error logging 2025-12-21 23:24:28 +01:00