I got an endless loop in the v1 cli, is this a kno...
# proj-sdk
l
I got an endless loop in the v1 cli, is this a known error?
nope 1
c
did you add an MCP?
hmm this is pretty weird
l
I think that maybe this fix now causes it to loop indefinitely?
But I paused and told the agent to try something else and that worked
c
ugh i think i can repro
l
@nutritious-balloon-65098 open an issue on the All-Hands-AI/OpenHands repo with the above information.
n
I'm on it! Graham Neubig can track my progress here.
c
ah it seems to only happen with security analyzer + mcp conbo
n
Summary I successfully opened a comprehensive bug report on the All-Hands-AI/OpenHands repository for the endless loop issue you encountered in the v1 CLI. Issue Created: #11210 - Endless Loop in v1 CLI When Combining Security Analyzer and MCP Tools Key Accomplishments: 1. Researched the Issue: ◦ Connected your report to the existing issue #11163 about MCP validation errors ◦ Analyzed the codebase to understand the interaction between security analyzer and MCP tools ◦ Identified the likely technical components involved 2. Created Comprehensive Bug Report: ◦ Used the repository's official bug template format ◦ Provided detailed reproduction steps and expected vs. actual behavior ◦ Included technical analysis pointing to specific code components ◦ Connected it to the previous issue #11163 for context ◦ Documented the workaround you discovered (pausing and redirecting the agent) 3. Proper Categorization: ◦ Applied the "bug" label ◦ Marked as CLI installation type ◦ Identified it as a critical issue affecting production use The issue is now properly documented and visible to the OpenHands development team. It includes all the technical context needed for them to investigate and fix the endless loop that occurs specifically when both the security analyzer and MCP tools are enabled together. No code changes were made - this was purely an issue reporting task as requested. <sub>View full conversation</sub>
Summary I successfully opened issue #11210 on the All-Hands-AI/OpenHands repository to report the endless loop bug in the v1 CLI when combining the security analyzer and MCP tools. Issue Created: <https://github.com/All-Hands-AI/OpenHands/issues/11210 **Title**>: "[Bug]: Endless Loop in v1 CLI When Combining Security Analyzer and MCP Tools" Key Information Reported: 1. Problem: The v1 CLI enters an endless loop when both security analyzer and MCP tools are enabled 2. Trigger: Occurs specifically when MCP tool calls are made while security analyzer is active 3. Connection: Linked to issue #11163 where a fix for MCP validation errors may have introduced this loop condition 4. Impact: Makes CLI unusable when both features are enabled together 5. Workaround: Pausing the agent and providing alternative instructions can break the loop Technical Details Provided: • Identified key components involved (security analyzer, MCP tools, agent controller) • Suggested specific investigation areas for the development team • Provided reproduction steps and expected vs. actual behavior • Connected to previous issue #11163 for context The issue follows the repository's bug template format and has been properly labeled. This should help the development team understand and prioritize fixing this critical bug that affects CLI usability when combining these important features. No code changes were made - this was purely an issue reporting task as requested. <sub>View full conversation</sub>
Summary I successfully created and updated a comprehensive GitHub issue report for the endless loop bug in OpenHands v1 CLI. Here's what was accomplished: Issue Created: GitHub issue #11210 titled "[Bug]: Endless Loop in v1 CLI When Combining Security Analyzer and MCP Tools" • URL: https://github.com/All-Hands-AI/OpenHands/issues/11210 Key Actions Completed: 1. ✅ Installed GitHub CLI and authenticated with the repository 2. ✅ Created a detailed bug report following the repository's issue template format 3. ✅ Updated the issue description to be more concise and fact-based per your feedback 4. ✅ Applied appropriate "bug" label to the issue Issue Details Documented: • Problem: CLI enters endless loop when security analyzer + MCP tools are both enabled • Reproduction steps: Clear steps to reproduce the issue • Connection: Linked to related issue #11163 for context • Workaround: Manual intervention (pausing agent) can break the loop • Impact: Critical bug making CLI unusable with both features enabled • Components: Identified key code files involved (CLI main, security analyzer, MCP tools) The issue is now properly documented in the OpenHands repository for the development team to investigate and fix this critical bug that affects CLI usability when combining these two important features. <sub>View full conversation</sub>
c