Skip to content

Conversation

@lpcox
Copy link
Collaborator

@lpcox lpcox commented Jan 20, 2026

  • Fix Docker API version detection in run_containerized.sh to dynamically query Docker daemon's minimum API version instead of hardcoding 1.43
  • Fix session ID persistence in test_serena_via_gateway.sh by storing session ID in a file instead of shell variable to survive subshell boundaries created by $() command substitution
  • Add local image check to skip pulling when gateway image exists locally
  • Session ID is now properly captured from Mcp-Session-Id response header and included in all subsequent MCP requests

This fixes 'method is invalid during session initialization' errors that occurred because subsequent requests weren't including the session ID.

- Fix Docker API version detection in run_containerized.sh to dynamically
  query Docker daemon's minimum API version instead of hardcoding 1.43
- Fix session ID persistence in test_serena_via_gateway.sh by storing
  session ID in a file instead of shell variable to survive subshell
  boundaries created by $() command substitution
- Add local image check to skip pulling when gateway image exists locally
- Session ID is now properly captured from Mcp-Session-Id response header
  and included in all subsequent MCP requests

This fixes 'method is invalid during session initialization' errors that
occurred because subsequent requests weren't including the session ID.
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.

2 participants