You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
T2.2 — Make the testinfra suite portable (TEST ADAPTATION) #635
tests/test_image.py asserts Debian/FHS-specific facts (dpkg packages, hardcoded /usr/local/bin paths, apt version prefixes, DEBIAN_FRONTEND) that break on a Nix-built
image. This issue makes the suite path-agnostic so it stays valid against both the Debian
and the Nix image — it is the linchpin that lets #634 go green.
Scope
In:
Replace host.package("git"/"curl"/"tmux"/"rsync"/"openssh-client"/"nano").is_installed
(dpkg-only) with host.run("<tool> --version").rc == 0.
Replace hardcoded /usr/local/bin/{gh,just,hadolint,taplo}, /root/.cargo/bin, /root/.local/bin with which / PATH resolution.
Drop or skip DEBIAN_FRONTEND (~line 469) and apt version-prefix checks.
Re-validate the /root/assets/workspace/ mount assertions (~lines 521–578).
Delivered on dev via the Nix-migration epic PR #670 (merged 2026-06-30). tests/test_image.py was made path-agnostic (--version/assert_tool_runs); dpkg//usr/local/bin/DEBIAN_FRONTEND assertions removed. Closing as complete — this stayed open only because the epic merged to dev (not main) and these T/C-track issues carry Tracking: #625 but were never linked as GitHub sub-issues, so sync-issues auto-close never fired (tracked by #677). Refs #625.
Activity
test(image): make testinfra suite portable across Debian and Nix imag…
feat(nix): build the devcontainer image with buildLayeredImage (non-p…
feat(nix): Nix image toolchain parity — pass the full testinfra suite (…
test(nix): smoke-test the in-container nix/direnv runtime (#679)
fix(setup): unblock testinfra init fixture (dep-sync timeout + NixOS …
c-vigo commentedon Jul 1, 2026
Delivered on
devvia the Nix-migration epic PR #670 (merged 2026-06-30).tests/test_image.pywas made path-agnostic (--version/assert_tool_runs); dpkg//usr/local/bin/DEBIAN_FRONTENDassertions removed. Closing as complete — this stayed open only because the epic merged todev(notmain) and these T/C-track issues carryTracking: #625but were never linked as GitHub sub-issues, so sync-issues auto-close never fired (tracked by #677). Refs #625.chore: release 0.4.0 (#195)
chore: release 0.4.0 (#813)