Skip to content

chore: drop the sidecar / multi-container capability entirely - #800

Merged
c-vigo merged 4 commits into
devfrom
feature/799-drop-sidecars
Jul 3, 2026
Merged

c-vigo merged 4 commits into
devfrom
feature/799-drop-sidecars

Conversation

@c-vigo

@c-vigo c-vigo commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

What

Remove the sidecar / multi-container capability entirely (issue #799, supersedes #719). Post the Nix migration it no longer earns its keep:

Kept: the Docker-out-of-Docker (DooD) socket and the ability to build containers inside the devcontainer (test_simple_image_build and the socket mount/settings are untouched).

Changes (4 commits)

  1. test: delete the sidecar fixtures (sidecar.Containerfile, test-build.sh, fixtures justfile), the test-sidecar compose service, the sidecar_image/devcontainer_with_sidecar conftest fixtures, and TestSidecarConnectivity; strip the orphaned sidecar cleanup from general teardown.
  2. refactor: drop the just sidecar/sidecars recipe group, the test-sidecar filters in the root justfile + justfile.podman, the commented justfile.project example, the CI sidecar-cleanup step, and the sidecar framing in the scaffold compose files (DooD socket retained).
  3. build: remove hadolint from the flake devTools (unused since the Containerfile lint hook went with the Debian path in T4.4 — Decommission the Debian path #642; the deleted sidecar Containerfile was its last Dockerfile-like artifact) + its docs/NIX.md prose and tests/test_image.py assertions.
  4. docs: amend ADR-nix-devenv-strategy with the containers-vs-devShell-vs-services boundary; strip sidecar prose from the TESTING/CONTRIBUTE templates (regenerated); add the Removed changelog entry (both copies).

Migration note (downstream)

Consumers that ran project sidecars via docker-compose.project.yaml should move toolchains → Nix devShells and local services → process-compose/services-flake (#795). Building containers from inside the devcontainer still works (DooD socket retained).

Verification

  • prek run --all-files → green (root + scaffold), including sync-manifest, generate-docs, yamllint, shellcheck, just-fmt, ruff.
  • pytest --collect-only → 237 tests, no collection errors; docs/generate.py idempotent (no drift in TESTING.md/CONTRIBUTE.md).
  • nix eval .#devShellTools → 115 tools, no hadolint.
  • Independent adversarial review: no over-removal (DooD socket, teardown, flake list all intact), no leftover sidecar references in active source.

Closes #799
Refs: #719, #794, #795

c-vigo added 4 commits July 2, 2026 15:11
Drop the sidecar test surface: the fixtures (sidecar.Containerfile,
test-build.sh, the fixtures justfile), the test-sidecar compose service,
the sidecar_image / devcontainer_with_sidecar conftest fixtures, and
TestSidecarConnectivity. The general devcontainer teardown loses its
now-orphaned test-sidecar cleanup; test_simple_image_build and the DooD
socket coverage are retained.

Refs: #799
Remove the `just sidecar`/`sidecars` recipe group from justfile.devc, the
test-sidecar cleanup from the root justfile and justfile.podman filters,
the commented sidecar example in justfile.project, the sidecar test-cleanup
step in the test-integration action, and the sidecar framing in the scaffold
compose files. The DooD container socket (mount + CONTAINER_HOST/DOCKER_HOST
+ label=disable) is retained for building containers.

Refs: #799
hadolint has been unused since the Containerfile lint hook was removed with
the Debian path (#642); the deleted sidecar Containerfile was its last
Dockerfile-like artifact. Remove it from devTools, its devShellTools prose
in docs/NIX.md, and the version/presence assertions in tests/test_image.py.

Refs: #799
Amend ADR-nix-devenv-strategy with the containers-vs-devShell-vs-services
boundary: toolchains -> Nix devShells, local services -> process-compose /
services-flake (#795), and the docker-compose sidecar capability removed
(DooD build socket retained). Strip sidecar prose from the TESTING/CONTRIBUTE
templates (regenerated) and add the Removed changelog entry (both copies).

Refs: #799
@c-vigo
c-vigo merged commit b1d6ee2 into dev Jul 3, 2026
13 checks passed
@c-vigo
c-vigo deleted the feature/799-drop-sidecars branch July 3, 2026 06:32
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.

1 participant