Skip to content

GET /tasks combined status+q filtering does not return expected matches #3

Description

@venkataramasu

Summary

Combined filters on GET /tasks (status + q) do not work as intended.

Intended outcome

GET /tasks?status=open&q=plan should return only matching open tasks.

Actual outcome

The endpoint returns [].

Reproduction steps

  1. Install deps: python3 -m pip install -r requirements.txt
  2. Run tests: pytest -v tests/test_api.py
  3. Observe failure in test_list_tasks_combines_status_and_search

Repro logs

tests/test_api.py::test_list_tasks_combines_status_and_search FAILED

>       assert [task["id"] for task in response.json()] == [3]
E       assert [] == [3]

Notes

This is tracked separately because combined-query behavior is a critical API contract.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions