Skip to content

fix: preserve uninstalled optional package managers - #131

Merged
CybotTM merged 1 commit into
mainfrom
agent/preserve-uninstalled-optional-tools
Jul 27, 2026
Merged

fix: preserve uninstalled optional package managers#131
CybotTM merged 1 commit into
mainfrom
agent/preserve-uninstalled-optional-tools

Conversation

@CybotTM

@CybotTM CybotTM commented Jul 27, 2026

Copy link
Copy Markdown
Member

Summary

  • keep Poetry and other Python CLI tools uninstalled during stack upgrades
  • preserve the pre-update Yarn and pnpm installation state across Node.js upgrades
  • make the dedicated Yarn update and uninstall paths preserve absence and perform real cleanup
  • refresh audit snapshots after uninstall so recommendations do not use stale tool state

Verification

  • pre-commit run --files scripts/install_python.sh scripts/install_node.sh scripts/install_tool.sh tests/test_preserve_optional_tools.py
  • uv run pytest -q (758 passed, 1 skipped)
  • live Poetry audit reports NOT INSTALLED after idempotent uninstall

@github-actions

Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

1 similar comment
@github-actions

Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@CybotTM
CybotTM force-pushed the agent/preserve-uninstalled-optional-tools branch from 02ee2cd to 6a9d774 Compare July 27, 2026 14:13
Signed-off-by: Sebastian Mendel <github@sebastianmendel.de>
@CybotTM
CybotTM force-pushed the agent/preserve-uninstalled-optional-tools branch from 6a9d774 to 5b6ed1a Compare July 27, 2026 14:17
@sonarqubecloud

Copy link
Copy Markdown

@CybotTM
CybotTM marked this pull request as ready for review July 27, 2026 14:20
Copilot AI review requested due to automatic review settings July 27, 2026 14:20
@CybotTM
CybotTM merged commit 8a2518f into main Jul 27, 2026
24 checks passed
@CybotTM
CybotTM deleted the agent/preserve-uninstalled-optional-tools branch July 27, 2026 14:20

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

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