Skip to content

Conversation

@louis-jan
Copy link
Contributor

Describe Your Changes

This PR fixes issue #6646 by applying the new MCP server to users' MCP configuration files.

Introduce MCP configuration migration.

Fixes Issues

Self Checklist

  • Added relevant comments, esp in complex areas
  • Updated docs (for bug fixes / features)
  • Created issues for follow-up changes or refactoring needed

Copilot AI review requested due to automatic review settings September 29, 2025 16:07
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR implements migration logic for MCP (Model Control Protocol) server configurations to address issue #6646. The migration ensures that users' MCP configuration files are updated with new server configurations when the application is updated.

  • Introduces version tracking and migration system using a store to track app and MCP schema versions
  • Adds MCP server configuration migration that automatically adds new "exa" server when upgrading from MCP schema version < 1
  • Refactors extension installation logic to integrate with the new version-based migration system

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
src-tauri/src/lib.rs Adds migration orchestration logic with version tracking and calls to migrate extensions and MCP servers
src-tauri/src/core/setup.rs Refactors extension installation and adds new migrate_mcp_servers function for MCP configuration migration
src-tauri/src/core/mcp/helpers.rs Implements helper functions for adding server configurations to MCP config files
src-tauri/src/core/mcp/tests.rs Adds comprehensive test coverage for the new server configuration functionality

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@github-actions
Copy link
Contributor

github-actions bot commented Sep 29, 2025

Barecheck - Code coverage report

Total: 29.67%

Your code coverage diff: 0.00% ▴

✅ All code changes are covered

Copilot AI review requested due to automatic review settings September 29, 2025 16:21
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@Minh141120 Minh141120 self-requested a review September 29, 2025 16:36
@Minh141120
Copy link
Member

Upgrade from nightly build 0.6.9-1590 to 0.6.10-1851. Working as intended

0.6.9-1590

image

0.6.10-1851

image image

@louis-jan louis-jan merged commit 54d17c9 into release/v0.7.0 Sep 29, 2025
16 checks passed
@louis-jan louis-jan deleted the fix/migrate-new-server-config branch September 29, 2025 17:07
@github-project-automation github-project-automation bot moved this to QA in Jan Sep 29, 2025
@github-actions github-actions bot added this to the v0.7.0 milestone Sep 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants