-
Notifications
You must be signed in to change notification settings - Fork 34
Memory fix #211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Memory fix #211
Conversation
Introduces a Redis pub/sub signal mechanism to trigger code indexing after bundle uploads, with a listener in watch_index.py that spawns ingest jobs. The VSCode extension now supports configuration for a dedicated auth backend URL and shared token, enabling non-interactive authentication flows for team deployments. Also bumps the extension version to 0.1.49.
Removed the ID column and hid advanced hash and graph columns in the admin collections table for a cleaner interface. Updated table and cell styling for improved readability. Added a new 'Team' section to the VSCode extension settings for shared authentication, and bumped the extension version to 0.1.50.
Added .cursorrules and GEMINI.md containing detailed rules and best practices for AI agents using Context-Engine MCP tools. Updated .gitignore to stop ignoring .cursorrules and GEMINI.md.
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Files Reviewed (9 files)
|
🤖 Augment PR SummarySummary: This PR reduces redundant/incorrect indexing work and improves remote/team auth ergonomics. Changes:
Technical Notes: The watcher’s Redis listener spawns ingest in a background subprocess and uses a lock to skip overlapping signals; auth URL normalization now preserves path-prefixed backends (e.g. 🤖 Was this summary useful? React with 👍 or 👎 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expanded documentation in .cursorrules, GEMINI.md, and SKILL.md to emphasize that 'symbol_graph' is the default and always-available tool for code graph queries, and clarified when to use or avoid 'neo4j_graph_query', grep, and file reading. Updated mcp version in pyproject.toml and requirements.txt for consistency. Added uv.lock for dependency management.
Updated SKILL.md and CLAUDE.example.md to explicitly discourage using grep, Read File, and similar filesystem tools for code exploration. Added clear guidance to always prefer MCP tools (repo_search, symbol_graph, etc.) for exploration, debugging, and structural queries, reserving literal search/file reads only for exact string matches or files already located via MCP. Clarified tool availability and fallback behavior for symbol_graph and neo4j_graph_query.
Python scripts now detect git repositories by presence of .git directories, preventing subdirectories from being misclassified as repos. The VSCode extension refactors backend URL normalization into a shared function, reducing duplication and improving consistency in auth-related flows.
|
augment review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| const configuredAuthBackendUrl = (settings.get('authBackendUrl') || '').trim(); | ||
| const configuredAuthToken = (settings.get('authSharedToken') || '').trim(); | ||
|
|
||
| let backendUrl = normalizeBackendUrl(explicitBackendUrl || configuredAuthBackendUrl || endpoint); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Enhanced multi-repo mode to prefer directories with .git, but fall back to treating all subdirectories as repos if none are found, improving resilience in K8s/container environments. Updated documentation and logging to clarify behavior. Also canonicalized working directory in CLI for macOS compatibility and fixed file permissions for the VSCode extension publish script.
Introduces a new 'Status' section in the settings webview to display live indexing progress and system status. Adds UI components, styles, and polling logic to fetch and display real-time status from the backend. The default section is now 'Status', and the webview's CSP is updated to allow connections to the configured endpoint.
In qdrant.py, remote embedding now chunks large batches to respect the service's max batch size, improving reliability for large inputs. watch_index.py adds a check to skip signals with empty workspace_path, preventing unnecessary processing. In auth_utils.js, backend URL selection for login and logout now consistently prefers the configured authBackendUrl, ensuring settings override and alignment between login and logout flows.
Split the reset logic into modular helper functions for full and partial resets, improving readability and maintainability. The new structure separates concerns for stopping services, building containers, clearing caches, and starting the indexer, and provides clearer progress output. Also, minor cleanup in docker-compose.yml.
No description provided.