Skip to content

Backport upstream fixes: qq/cron/web/tools/mcp robustness#23

Merged
bitifirefly merged 5 commits intodevelopfrom
backport/upstream-20260322-final-batch2
Mar 22, 2026
Merged

Backport upstream fixes: qq/cron/web/tools/mcp robustness#23
bitifirefly merged 5 commits intodevelopfrom
backport/upstream-20260322-final-batch2

Conversation

@bitifirefly
Copy link
Copy Markdown

Summary

  • keep QQ channel start running as a long-lived task and close client cleanly on stop
  • reload cron store on each timer tick so external updates are picked up
  • resolve web search API key at call time instead of import time
  • improve edit_file mismatch diagnostics for easier debugging
  • add MCP tool-call timeout guard and explicit HTTP transport client with timeout=None

Testing

  • ruff check opencane/channels/qq.py tests/test_qq_channel.py opencane/cron/service.py tests/test_cron_service.py opencane/agent/tools/web.py tests/test_web_search_tool.py opencane/agent/tools/filesystem.py tests/test_filesystem_tools_workspace.py opencane/agent/tools/mcp.py tests/test_mcp_tool.py
  • pytest -q tests/test_qq_channel.py tests/test_cron_service.py tests/test_web_search_tool.py tests/test_filesystem_tools_workspace.py tests/test_mcp_tool.py
  • pytest -q (426 passed)

@bitifirefly bitifirefly merged commit 72150d8 into develop Mar 22, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant