Skip to content

[CHORE] Smoke-test that nix/direnv work inside the built Nix image #675

Closed

Description

@c-vigo

Chore Type

CI / Build change

Description

The portable testinfra suite verifies that tools are present in the image, but
nothing asserts that the baked-in Nix toolchain actually functions inside the
built container. The Nix image ships nix, direnv, and nix-direnv live in
the closure (#634); a regression that breaks in-container nix/direnv would
pass today's presence-only tests.

Add a runtime smoke test in the Nix image lane that exercises the toolchain
inside the image.

Acceptance Criteria

  • A step/test in .github/workflows/nix-image.yml (and/or tests/) runs,
    inside the built image: nix --version, direnv version, and a
    nix develop -c true (or direnv allow + direnv exec . true), asserting
    each succeeds
  • The test runs against the real Nix-built image and fails if in-container
    Nix/direnv is broken
  • TDD compliance (see .claude/skills/tdd/SKILL.md)

Implementation Notes

Keep workflow edits confined to nix-image.yml — the sibling flake quality-gates
issue edits ci.yml — so the two follow-up PRs do not conflict on a shared
workflow file.

Related Issues

Part of #625.

Priority

Low

Changelog Category

Added

Activity

  1. added
    chore
    priority:low
    area:image
    effort:small
    area:testing
    on Jun 24, 2026
  2. c-vigo commented on Jun 30, 2026

    @c-vigo
    ContributorAuthor

    Resolved by #679 (f14687d) on the Nix-migration branch (epic #625, PR #670). Closing as part of post-merge backlog hygiene (#677).

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:testingchoreeffort:smallpriority:low

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions