From a16a0ef3cd7c08007f87015389eaaee911a28dfe Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Tue, 1 Dec 2026 02:51:13 -0500 Subject: [PATCH] test(8249): DELIBERATE BREAK, the kind filter and the planning route removed to watch their tests fail Reverted by the next commit. CI must go red on test_integration_task_kind_list (issue and work rows) and test_routes_planning. Co-Authored-By: Claude Opus 5.5 --- src/grimoire/routes/tasks.py | 2 +- src/grimoire/services/notes.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/grimoire/routes/tasks.py b/src/grimoire/routes/tasks.py index df33b268..50f05396 100644 --- a/src/grimoire/routes/tasks.py +++ b/src/grimoire/routes/tasks.py @@ -156,7 +156,7 @@ async def create_task_route(): return jsonify(out), 201 -@tasks_bp.route("/planning", methods=["POST"]) +# DELIBERATE BREAK (#8249), reverted next commit @login_required async def start_planning_route(): uid = get_current_user_id() diff --git a/src/grimoire/services/notes.py b/src/grimoire/services/notes.py index cffdc08a..f3f4d0b4 100644 --- a/src/grimoire/services/notes.py +++ b/src/grimoire/services/notes.py @@ -499,7 +499,7 @@ async def list_notes( query = query.where(Note.parent_id == parent_id) count_query = count_query.where(Note.parent_id == parent_id) - if task_kind is not None: + if task_kind is not None and False: # DELIBERATE BREAK (#8249), reverted next commit query = query.where(Note.task_kind == task_kind) count_query = count_query.where(Note.task_kind == task_kind)