Summary
GET /tasks?q=... does not apply text filtering and returns all tasks.
Intended outcome
Search query q should filter tasks case-insensitively across title and description.
Actual outcome
q=LAUNCH returns all tasks instead of only matching records.
Reproduction steps
- Install deps:
python3 -m pip install -r requirements.txt
- Run tests:
pytest -v tests/test_api.py
- Observe failure in
test_list_tasks_search_filters_title_and_description_case_insensitive
Repro logs
tests/test_api.py::test_list_tasks_search_filters_title_and_description_case_insensitive FAILED
> assert [task["id"] for task in launch_response.json()] == [1]
E AssertionError: assert [1, 2, 3, 4] == [1]
Notes
This behavior is validated by HTTP-level tests and currently fails.
Summary
GET /tasks?q=...does not apply text filtering and returns all tasks.Intended outcome
Search query
qshould filter tasks case-insensitively across title and description.Actual outcome
q=LAUNCHreturns all tasks instead of only matching records.Reproduction steps
python3 -m pip install -r requirements.txtpytest -v tests/test_api.pytest_list_tasks_search_filters_title_and_description_case_insensitiveRepro logs
Notes
This behavior is validated by HTTP-level tests and currently fails.