Skip to content

[conda] - Consolidating vulnerable package updates in the feature installation script. - #1755

Merged
Abdurrahmaan Iqbal (abdurriq) merged 2 commits into
devcontainers:mainfrom
v-Kaniska244:conda-feature-optimization
Oct 26, 2026
Merged

Abdurrahmaan Iqbal (abdurriq) merged 2 commits into
devcontainers:mainfrom
v-Kaniska244:conda-feature-optimization

Conversation

@v-Kaniska244

@v-Kaniska244 Kaniska (v-Kaniska244) commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Consolidate Universal’s Conda security updates into the Conda feature installation and bump the feature version to 2.0.2.

Changes

  • Install patched versions of cryptography, pyopenssl, openssl, and brotli.
  • Upgrade pip after Conda operations to prevent solver downgrades, and install python-dotenv==1.2.2.
  • Remove stale pip packages older than 26.1, Python bytecode, and installation caches.
  • Preserve command arguments in sudo_if and default addCondaForge to false.

Test coverage

  • Add regression scenarios for root, vscode, and Universal-like codespace environments.
  • Build the codespace scenario from Ubuntu Noble, removing the default ubuntu user before creating codespace with UID/GID 1000.
  • Configure both containerUser and remoteUser as codespace.
  • Verify patched package versions, cache cleanup, runtime-user write access, and Conda/pip functionality.
  • Avoid fixed runtime UID/GID assertions to accommodate GitHub runner remapping.

Validation

  • Shell syntax, scenario configuration, and whitespace checks passed.
  • Local integration runs were interrupted; full scenario results remain unverified.

@v-Kaniska244
Kaniska (v-Kaniska244) marked this pull request as ready for review October 26, 2026 08:41
@v-Kaniska244
Kaniska (v-Kaniska244) requested a review from a team as a code owner October 26, 2026 08:41
@abdurriq
Abdurrahmaan Iqbal (abdurriq) merged commit 83b03b6 into devcontainers:main Oct 26, 2026
11 checks passed
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