From 496d047d69218f2aeeab7892b879498625840973 Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Tue, 1 Dec 2026 07:06:32 -0500 Subject: [PATCH] test(8249): DELIBERATE BREAK, a service without the caller and the trash list route removed Reverted by the next commit. CI must go red on test_service_user_id_contract[systems] and test_routes_trash. Co-Authored-By: Claude Opus 5.5 --- src/grimoire/routes/trash.py | 2 +- src/grimoire/services/systems.py | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/grimoire/routes/trash.py b/src/grimoire/routes/trash.py index 001255fb..7f97b775 100644 --- a/src/grimoire/routes/trash.py +++ b/src/grimoire/routes/trash.py @@ -10,7 +10,7 @@ trash_bp = Blueprint("trash", __name__, url_prefix="/api/trash") -@trash_bp.get("") +# DELIBERATE BREAK (#8249) @login_required async def list_trash(): return jsonify({"batches": await trash_svc.list_trash(get_current_user_id())}) diff --git a/src/grimoire/services/systems.py b/src/grimoire/services/systems.py index 10a70c07..eea7b118 100644 --- a/src/grimoire/services/systems.py +++ b/src/grimoire/services/systems.py @@ -535,3 +535,7 @@ async def list_issues(user_id: int, project_id: int, open_only: bool = True) -> query = query.order_by(Note.updated_at.desc()) result = await session.execute(query) return list(result.scalars().all()) + + +async def list_everything(project_id: int): # DELIBERATE BREAK (#8249) + return []