Skip to content

[CHORE] Drop the sidecar / multi-container capability entirely #799

Closed

Description

@c-vigo

Context

The devcontainer shipped a sidecar capability: run secondary containers alongside the primary devcontainer via docker-compose (docker-compose.project.yaml), a just sidecar <name> <recipe> exec-into-container pattern, and a build-in-a-sidecar workflow (tested by tests/fixtures/sidecar.Containerfile). After the Nix migration (#625) this no longer earns its keep:

Decision: remove the sidecar / multi-container capability entirely. Supersedes #719 (hadolint + sidecar-fixture fate).

Scope

  • Delete pure sidecar fixtures: tests/fixtures/sidecar.Containerfile, tests/fixtures/test-build.sh, tests/fixtures/justfile.
  • Remove the test-sidecar service from tests/docker-compose.test.yml (keep init-workspace/workspace-inspector).
  • Remove sidecar fixtures/tests from tests/conftest.py (sidecar_image, devcontainer_with_sidecar) and tests/test_integration.py (TestSidecarConnectivity).
  • Remove sidecar recipes: assets/workspace/.devcontainer/justfile.devc (SIDECAR group), justfile, justfile.podman, assets/workspace/justfile.project.
  • Remove sidecar test invocation/cleanup in .github/actions/test-integration/action.yml.
  • Drop hadolint from the flake devTools (its only lint target was the sidecar Containerfile) and its assertions in tests/test_image.py.
  • De-sidecar the scaffold compose docs (docker-compose.yml, docker-compose.project.yaml) — keep the DooD socket (still needed for container builds), drop the sidecar framing.
  • Docs: docs/templates/TESTING.md.j2, docs/templates/CONTRIBUTE.md.j2, tests/README.md (regenerate TESTING.md/CONTRIBUTE.md).
  • ADR docs(rfc): record org nix dev-environment strategy (activation / shell-definition / local-services) #794: record the containers-vs-devShell-vs-services-flake boundary (why sidecars are removed).
  • CHANGELOG: Removed entry (semver:minor — downstream capability removed) + migration note (devShells / services-flake feat(flake): mkProjectServices — process-compose + services-flake helper for local dev services #795).

Acceptance criteria

Refs: #625, #719, #794, #795

Activity

  1. added
    chore
    area:image
    area:workspace
    effort:medium
    semver:minor
    on Jul 2, 2026
  2. c-vigo commented on Jul 3, 2026

    @c-vigo
    ContributorAuthor

    Resolved by #800 (merged to dev). The sidecar / multi-container capability (recipes, compose examples, fixtures, CI wiring) has been removed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:imagearea:workspacechoreeffort:mediumsemver:minor

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions