fix(mcp): prevent encoding errors and fix tool bugs on MCP client transports (#38786)

(cherry picked from commit ed3c5280a9)
This commit is contained in:
Amin Ghadersohi
2026-03-24 05:41:24 -04:00
committed by Michael S. Molina
parent de42d4a986
commit ac8d6b0c53
11 changed files with 193 additions and 31 deletions

View File

@@ -96,6 +96,8 @@ def _mock_dashboard(id: int = 1, title: str = "Test Dashboard") -> Mock:
dashboard.created_by.username = "test_user"
dashboard.changed_by = Mock()
dashboard.changed_by.username = "test_user"
dashboard.created_by_name = "test_user"
dashboard.changed_by_name = "test_user"
dashboard.uuid = f"dashboard-uuid-{id}"
dashboard.slices = []
dashboard.owners = []