SurfSense/surfsense_backend/tests/e2e/fakes
DESKTOP-RTLN3BA\$punk ab747e7a49 feat(agents): consolidate connectors under mcp_discovery; route web search through google_search
MCP consolidation:
- Route all MCP-capable connectors (Slack, Jira, Linear, ClickUp, Airtable,
  Notion, Confluence, interim Gmail/Calendar, custom MCP) through a single
  `mcp_discovery` subagent. Drive/OneDrive/Dropbox stay native to enrich the KB.
- Deprecate Discord/Teams/Luma: no viable official MCP server.

Google-only web search:
- Remove the main-agent `web_search` tool and the SearXNG platform service;
  all public web search now flows through the `google_search` subagent via task().
- Deprecate the Tavily/SearXNG/Linkup/Baidu search connectors (HTTP 410 on
  create, "Deprecated" badge); guide heavy users to the custom MCP connector.
- Remove web search from anonymous chat (pure Q&A).
- Tear SearXNG out of docker compose + install scripts; drop tavily-python
  and linkup-sdk deps and their config/env vars.

Fix:
- metrics._package_version() now swallows any metadata lookup failure. A
  malformed editable-install distribution with no `Version` field raised
  KeyError deep in importlib.metadata, and since it runs on every
  record_subagent_invoke_duration call it was crashing every task()
  delegation. Verified end-to-end against live GPT-5.4.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-04 21:06:04 -07:00
..
fixtures test(e2e): wire PDF metadata into connector fixture JSONs 2026-05-09 05:02:40 +05:30
__init__.py test(backend): add E2E harness foundation (entrypoints, middleware, LLM/embedding fakes) 2026-05-06 17:17:42 +05:30
binary_loader.py test(e2e): add shared binary fixture loader for connector fakes 2026-05-09 05:02:23 +05:30
chat_llm.py feat(agents): consolidate connectors under mcp_discovery; route web search through google_search 2026-07-04 21:06:04 -07:00
clickup_module.py test(e2e): add ClickUp MCP backend fake 2026-05-08 13:12:34 +05:30
composio_module.py feat(tests): add mock response for file ownership in composio_module 2026-05-16 20:20:04 +05:30
confluence_indexer.py chore: ran linting 2026-05-09 05:16:20 +05:30
confluence_oauth.py chore: ran linting 2026-05-09 05:16:20 +05:30
docling_service.py chore: fix linting 2026-05-12 04:00:04 +05:30
dropbox_api.py test(e2e): serve binary PDF bytes from storage connector fakes 2026-05-09 05:03:07 +05:30
embeddings.py test(index-cache): add unit tests and repoint embed/chunk patch targets 2026-06-12 16:48:18 +02:00
jira_module.py feat(agents): consolidate connectors under mcp_discovery; route web search through google_search 2026-07-04 21:06:04 -07:00
linear_module.py test(backend): add Jira MCP E2E fakes 2026-05-08 00:15:08 +05:30
llm.py feat(tests): Update tests for summary-free indexing 2026-06-04 00:53:51 +05:30
mcp_oauth_runtime.py chore: ran linting 2026-05-09 05:16:20 +05:30
mcp_runtime.py chore: linting 2026-06-09 00:42:26 -07:00
native_google.py feat(agents): consolidate connectors under mcp_discovery; route web search through google_search 2026-07-04 21:06:04 -07:00
notion_mcp_module.py feat(agents): consolidate connectors under mcp_discovery; route web search through google_search 2026-07-04 21:06:04 -07:00
notion_module.py test(backend): add Confluence OAuth E2E fakes 2026-05-08 01:02:52 +05:30
onedrive_graph.py chore: ran linting 2026-05-09 05:16:20 +05:30
slack_module.py chore: ran linting 2026-05-09 05:16:20 +05:30