Skip to content

Conversation

@jonmatum
Copy link
Owner

@jonmatum jonmatum commented Apr 26, 2025

Summary

This PR refactors the Shell feature to ensure compatibility across multiple base images, and adds automated tests to prevent regressions.

Details

  • Refactored Shell feature to explicitly support and validate against different Linux base images:
    • amazonlinux:2023
    • debian:latest
    • mcr.microsoft.com/devcontainers/base:ubuntu
    • ubuntu:latest
  • Expanded scenarios.json to define testing scenarios for each supported base image.
  • Added coverage for:
    • Full default shell installation (zsh + Oh My Zsh + powerlevel10k + plugins)
    • Minimal shell installation (zsh-only setup)
  • Ensures that future changes will not accidentally break:
    • Zsh installation
    • Oh My Zsh setup
    • Theme configuration (powerlevel10k)
    • Plugins (autosuggestions, syntax highlighting)

Why

  • Improve the reliability of the Shell feature across various environments.
  • Catch compatibility issues early via CI.
  • Support a broader range of user needs by guaranteeing multi-distro compatibility.

Signed-off-by: Jonatan Mata <jonmatum@gmail.com>
@jonmatum jonmatum self-assigned this Apr 26, 2025
jonmatum added 17 commits April 26, 2025 16:15
Signed-off-by: Jonatan Mata <jonmatum@gmail.com>
Signed-off-by: Jonatan Mata <jonmatum@gmail.com>
Signed-off-by: Jonatan Mata <jonmatum@gmail.com>
Signed-off-by: Jonatan Mata <jonmatum@gmail.com>
Signed-off-by: Jonatan Mata <jonmatum@gmail.com>
Signed-off-by: Jonatan Mata <jonmatum@gmail.com>
… cross-platform support

Signed-off-by: Jonatan Mata <jonmatum@gmail.com>
…g file errors

Signed-off-by: Jonatan Mata <jonmatum@gmail.com>
…ng file errors

Signed-off-by: Jonatan Mata <jonmatum@gmail.com>
Signed-off-by: Jonatan Mata <jonmatum@gmail.com>
Signed-off-by: Jonatan Mata <jonmatum@gmail.com>
…abled

Signed-off-by: Jonatan Mata <jonmatum@gmail.com>
Signed-off-by: Jonatan Mata <jonmatum@gmail.com>
Signed-off-by: Jonatan Mata <jonmatum@gmail.com>
Signed-off-by: Jonatan Mata <jonmatum@gmail.com>
…mages

Signed-off-by: Jonatan Mata <jonmatum@gmail.com>
…mages

Signed-off-by: Jonatan Mata <jonmatum@gmail.com>
@jonmatum jonmatum merged commit b6bb18f into main Apr 27, 2025
7 checks passed
@jonmatum jonmatum deleted the feat/shell branch April 27, 2025 22:09
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