Skip to content

test(flake): statix parity check fails — statix has no top-level --version #792

Closed

Description

@c-vigo

Problem

#777 (PR #790) added statix to the devTools SSoT. The dev-shell parity test
tests/test_flake_devshell.py::test_each_tool_runs_in_devshell invokes every
devTools binary with a version flag (default --version), but statix has no
top-level --version (nor -V): statix --version exits 2 with
error: unexpected argument '--version' found. So the parity test fails on
statix on every host.

Not currently caught by CI: project-checks runs this file only with
-k "exposes_python3_and_precommit or hook_runner_is_prek or no_nix_cxx_runtime_leak",
so test_each_tool_runs_in_devshell is not gated — the regression is latent and
bites only a full local parity run.

Fix

Add a VERSION_FLAG_OVERRIDES entry for statix (as already done for expect
and tmux), using --help (exits 0, proves the binary is runnable in the
dev-shell — statix exposes no version flag).

Refs: #777

Activity

  1. added
    chore
    on Jul 1, 2026
  2. c-vigo commented on Jul 1, 2026

    @c-vigo
    ContributorAuthor

    Resolved on dev by PR #793 (test: fix statix dev-shell parity check (--help, no top-level --version)). The statix parity check now uses --help (statix has no top-level --version).

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

    chore

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions