Skip to content

Avoid redundant settings for nested Python projects - #1815

Closed
Eleanor Boyd (eleanorjboyd) with Copilot wants to merge 3 commits into
mainfrom
copilot/fix-children-projects-settings
Closed

Eleanor Boyd (eleanorjboyd) with Copilot wants to merge 3 commits into
mainfrom
copilot/fix-children-projects-settings

Conversation

Copilot AI commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

Nested projects were persisted even when they used the same environment and package managers as their nearest parent. This created unnecessary pythonProjects overrides instead of relying on inherited configuration.

  • Inheritance-aware persistence

    • Resolve the nearest parent within the same workspace.
    • Treat the workspace root as an implicit default-configured parent.
    • Save a child override only when either manager differs.
  • Existing overrides

    • Preserve matching child entries.
    • Remove stale child entries when the requested defaults can be inherited.
  • Multi-root workspaces

    • Resolve parents using both workspace and path.
    • Include the workspace discriminator when a child override is required.

Copilot AI and others added 2 commits September 24, 2026 18:20
Co-authored-by: eleanorjboyd <26030610+eleanorjboyd@users.noreply.github.com>
Co-authored-by: eleanorjboyd <26030610+eleanorjboyd@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix bug preventing saving children projects in settings Avoid redundant settings for nested Python projects Sep 24, 2026
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.

Bug: Children Projects in Settings

2 participants