Skip to content
This repository was archived by the owner on Nov 14, 2025. It is now read-only.

Commit 3be957d

Browse files
committed
refactor: remove unnecessary optimization infrastructure
Keep only the essential fix for redundant client-side filtering. The optimization infrastructure was over-engineered for a problem that doesn't really exist - the GraphQL API already supports server-side filtering properly.
1 parent 269debd commit 3be957d

File tree

8 files changed

+10
-1380
lines changed

8 files changed

+10
-1380
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
'deepsource-mcp-server': patch
3+
---
4+
5+
fix: remove redundant client-side filtering in quality metrics handler
6+
7+
The quality metrics handler was unnecessarily filtering metrics on the client side
8+
after the GraphQL API had already applied the same filters on the server side.
9+
This change removes the redundant filtering by using the repository's
10+
findByProjectWithFilter method when shortcode filters are specified.

.changeset/server-side-filtering.md

Lines changed: 0 additions & 20 deletions
This file was deleted.

src/__tests__/utils/graphql/optimized-queries.test.ts

Lines changed: 0 additions & 326 deletions
This file was deleted.

0 commit comments

Comments
 (0)