Merging to release-5.10: Remove mercurial from plugin compiler Dockerfile (#7670)#7673
Conversation
## Description Removes mercurial from the list of packages being purged in the plugin compiler Docker image. This package is no longer needed and removing it reduces dependencies and potential CVE exposure. ## Related Issue N/A - Cleanup/maintenance change ## Motivation and Context Mercurial is not required for the plugin compiler functionality and can be safely removed to reduce the image's attack surface and dependency footprint. ## How This Has Been Tested - [ ] Verify Docker image builds successfully - [ ] Verify plugin compilation still works as expected ## Screenshots (if appropriate) N/A ## Types of changes - [x] Refactoring or add test (improvements in base code or adds test coverage to functionality) ## Checklist - [x] I ensured that the documentation is up to date - [x] I explained why this PR updates go.mod in detail with reasoning why it's required - [x] I would like a code coverage CI quality gate exception and have explained why (cherry picked from commit 24f32e3)
PR OverviewThis pull request removes the Files Changed Analysis
Architecture & Impact Assessment
Scope Discovery & Context Expansion
Metadata
Powered by Visor from Probelabs Last updated: 2026-01-15T12:38:55.686Z | Triggered by: pr_opened | Commit: 148e676 💡 TIP: You can chat with Visor using |
Security Issues (1)
✅ Architecture Check PassedNo architecture issues found – changes LGTM. ✅ Performance Check PassedNo performance issues found – changes LGTM. Quality Issues (1)
Powered by Visor from Probelabs Last updated: 2026-01-15T12:38:58.431Z | Triggered by: pr_opened | Commit: 148e676 💡 TIP: You can chat with Visor using |
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
|
API Changes no api changes detected |
PR Code Suggestions ✨Explore these optional code suggestions:
|
|



User description
Remove mercurial from plugin compiler Dockerfile (#7670)
Description
Removes mercurial from the list of packages being purged in the plugin
compiler Docker image. This package is no longer needed and removing it
reduces dependencies and potential CVE exposure.
Related Issue
N/A - Cleanup/maintenance change
Motivation and Context
Mercurial is not required for the plugin compiler functionality and can
be safely removed to reduce the image's attack surface and dependency
footprint.
How This Has Been Tested
Screenshots (if appropriate)
N/A
Types of changes
coverage to functionality)
Checklist
why it's required
explained why
PR Type
Enhancement
Description
Delete
mercurialfrom Dockerfile purge listReduce image dependencies and CVE exposure
File Walkthrough
Dockerfile
Remove mercurial purge entryci/images/plugin-compiler/Dockerfile
mercurialfrom theapt-get purgecommand