Skip to content

Infra TV2: fixtures prune #804

Closed

Description

@jparker2006

Parent

Ticket TV2 of spec #787 (Infra).

What to build

A script lists every file under tests/fixtures/ (and other fixture folders) that no test reads, and those files are deleted. The script stays so later groups can rerun it.

Owned paths

  • tests/fixtures/ (shared: deletions only)
  • tools/test-value/unread_fixtures.py
  • tools/test-value/test_unread_fixtures.py

Relies on: nothing

Links

none

Acceptance criteria

  • The script's result is empty after the prune, and the full suite is green
  • Each deleted fixture appears in the script's before list
  • Test rule (The test rule: what earns a test, and what never does #687): every new test protects a supported behaviour, a contract others rely on or a safety invariant, and the pull request says per test catches: <the bug>, or no new test: <why>. No mock-returns-stub, source mirroring, compiler re-checks, quota tests or unreachable cases; a bug gets a failing test first.
  • Every test the pull request deletes names its keeper (a test that still catches its bug) or says the behaviour it protected is gone.

Proof

T3: the script's empty result.

Activity

  1. added this to the Infra milestone on Nov 15, 2026
  2. added
    ready-for-agent
    on Nov 15, 2026
  3. jparker2006 commented on Nov 15, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: start checked, branch openwiz-804-tv2-fixtures-prune

  4. jparker2006 commented on Nov 15, 2026

    @jparker2006
    MemberAuthor

    Orchestrator ruling: narrow grant for this ticket (same intent, 2026-11-15). Besides its owned paths, this ticket may add its own CI registration lines in .github/actions/docs-only/run.py and .github/actions/docs-only/plan.py (shared: only the rows that select and run this ticket's tools/test-value/ tests), so the kit's tests run in CI. Nothing else in those files changes. The pull request lists these lines under this grant, and the reviewer checks they stay within it.

  5. added 2 commits that reference this issue on Nov 16, 2026
  6. jparker2006 commented on Nov 16, 2026

    @jparker2006
    MemberAuthor

    Builder: PR #853 is kept, on its original branch openwiz-804-tv2-fixtures-prune, now at green head 88a8ed4 (adds this ticket's two exact rows to tools/open-import/paths.json under the spec-wide grant, fixing the carriage-guard failure). The room/804-fixtures-prune push was stopped before it reached GitHub: no other branch or pull request exists.

  7. jparker2006 commented on Nov 16, 2026

    @jparker2006
    MemberAuthor

    Orchestrator ruling: do not bypass the pre-push hook. Cause, from .githooks/pre-push: on a new branch's first push the remote commit is all zeroes, and the hook passes that to the privacy tool as its base, so the tool scans the whole history instead of the branch's own commits (the later comparisons in the same hook already fall back to the merge-base with the default branch). Until a fix lands, let the first push's hook run to its end in the background and keep working; report its real duration here once. A fix (pass the merge-base when the remote commit is all zeroes) is being proposed to Jake as its own small issue, since it is outside this spec's owned paths.

  8. added 6 commits that reference this issue on Nov 16, 2026
  9. jparker2006 commented on Nov 16, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: archived

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

    ready-for-agent

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions