Skip to content

Bubble bullshit#200

Merged
m1rl0k merged 10 commits intotestfrom
bubble-bullshit
Jan 25, 2026
Merged

Bubble bullshit#200
m1rl0k merged 10 commits intotestfrom
bubble-bullshit

Conversation

@m1rl0k
Copy link
Collaborator

@m1rl0k m1rl0k commented Jan 25, 2026

No description provided.

Adds robust timeout detection and logging for Qdrant queries, introduces concurrency control with a semaphore, and ensures partial results are returned on timeouts. The Qdrant client manager now supports configurable HTTP timeouts via environment variables. The search implementation clamps rerank timeouts and adds fallback to learning reranker results if subprocess reranking fails. Remote upload client now consistently uses container paths for cache lookups and updates, improving cache consistency. Test cases are updated to use asyncio.run for coroutine execution.
Adds automatic storage of successful context_answer responses as memories in context_answer.py, configurable via environment variables. Updates mcp_indexer_server.py to support memory blending in code_search via new parameters (include_memories, memory_weight, per_source_limits). Adjusts Helm values for resource requests/limits and autoscaling for several services. Also refines tool routing in mcpServer.js to match any 'memory' prefix.
Added comprehensive TOOLS_METADATA for all search/answer tools and enriched the /readyz endpoint with tool metadata. Expanded and clarified docstrings for all major API functions to provide detailed usage, parameters, and examples. Updated .indexignore and retrieval filters to exclude common build, dist, and IDE artifacts. Increased max_neighbors in context_answer for improved subgraph context injection. Added more session default parameters to set_session_defaults.
Introduces an ASGI middleware to extract the Authorization header from HTTP requests and store the token in a context variable, enabling stateless token-based authentication. Updates mcp_auth.py to support direct admin/shared token authentication and modifies both mcp_indexer_server.py and mcp_memory_server.py to inject the middleware for non-stdio transports.
Introduces a new codebase volume to Kubernetes and Helm deployment templates for MCP memory services, ensuring proper mounting and separation of code metadata. Enhances authentication logic in mcp_auth.py to support auto-fallback to shared tokens and adds a new /auth/validate endpoint in upload_service.py for remote session validation, improving distributed authentication support.
@augmentcode
Copy link

augmentcode bot commented Jan 25, 2026

🤖 Augment PR Summary

Summary: This PR improves MCP server ergonomics and deployment defaults, while adding better auth/memory integration and hardening Qdrant/search behavior.

Key Changes:

  • Ignore local/env/build artifacts in git + indexer inputs (adds .env, expands .indexignore).
  • Bump ctx-mcp-bridge version and broaden memory-tool routing to the memory server.
  • Update Helm/Kubernetes manifests: mount code-metadata PVC at /work/.codebase and retune resource requests/limits and HPA/replicas.
  • Add Qdrant request concurrency limiting + timeout detection/logging, plus configurable client timeouts.
  • Add Authorization-header extraction middleware (contextvar) and token-based auth shortcuts/auto-fallback behavior.
  • Enrich tool listing endpoints with per-tool metadata and expand tool docstrings for better discoverability.
  • Auto-store successful context_answer responses as memories (best-effort, background thread).
  • Tweak search defaults/fallbacks (compact default env, rerank timeout clamp, learning rerank fallback) and add /auth/validate endpoint; update tests to use asyncio.run.

🤖 Was this summary useful? React with 👍 or 👎

Copy link

@augmentcode augmentcode bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review completed. 3 suggestions posted.

Fix All in Augment

Comment augment review to trigger a new review at any time.

Replaced deprecated 'get_event_loop().run_until_complete' with 'asyncio.run' in test_context_answer_path_mention.py and test_env_behavior.py. Updated docstring assertion in test_globs_and_snippet.py to match new content. Modified _DummyQdrantClient in test_qdrant_client_manager_pool.py to accept additional kwargs for improved flexibility.
@m1rl0k m1rl0k merged commit b276d1c into test Jan 25, 2026
1 check 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