Repository navigation
chore: drop the sidecar / multi-container capability entirely - #800
Merged
Merged
Conversation
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
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Remove the sidecar / multi-container capability entirely (issue #799, supersedes #719). Post the Nix migration it no longer earns its keep:
mkProjectShell+ the future modularvigos.devShells.{cpp,geant4,…}), on PATH — not a container youpodman execinto. This obsoletes the build-in-a-sidecar workflow.process-compose+services-flakeper ADR docs(rfc): record org nix dev-environment strategy (activation / shell-definition / local-services) #794, implemented in feat(flake): mkProjectServices — process-compose + services-flake helper for local dev services #795 (mkProjectServices) — daemon-free, same nixpkgs lock, no container runtime.hadolintdependency.Kept: the Docker-out-of-Docker (DooD) socket and the ability to build containers inside the devcontainer (
test_simple_image_buildand the socket mount/settings are untouched).Changes (4 commits)
sidecar.Containerfile,test-build.sh, fixturesjustfile), thetest-sidecarcompose service, thesidecar_image/devcontainer_with_sidecarconftest fixtures, andTestSidecarConnectivity; strip the orphaned sidecar cleanup from general teardown.just sidecar/sidecarsrecipe group, thetest-sidecarfilters in the root justfile +justfile.podman, the commentedjustfile.projectexample, the CI sidecar-cleanup step, and the sidecar framing in the scaffold compose files (DooD socket retained).hadolintfrom the flakedevTools(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) + itsdocs/NIX.mdprose andtests/test_image.pyassertions.ADR-nix-devenv-strategywith the containers-vs-devShell-vs-services boundary; strip sidecar prose from theTESTING/CONTRIBUTEtemplates (regenerated); add the Removed changelog entry (both copies).Migration note (downstream)
Consumers that ran project sidecars via
docker-compose.project.yamlshould 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), includingsync-manifest,generate-docs,yamllint,shellcheck,just-fmt,ruff.pytest --collect-only→ 237 tests, no collection errors;docs/generate.pyidempotent (no drift inTESTING.md/CONTRIBUTE.md).nix eval .#devShellTools→ 115 tools, nohadolint.Closes #799
Refs: #719, #794, #795