Skip to content

test-parity: audit known_failures.json — every entry needs an issue # and date #797

Description

@TheHypnoo

Walk test-parity/known_failures.json. Each entry must reference an open issue and the date it was skip-listed. Close stale entries; file issues for orphans.

Part of #793.

Activity

  1. added 2 commits that reference this issue on May 16, 2026
    13e8cb4
    f7a7d8d
  2. proggeramlug commented on Aug 2, 2026

    @proggeramlug
    Contributor

    Concrete instance of the provenance problem this issue tracks, found during #7265's CI triage.

    zlib_4917_level is documented in test-parity/known_failures.json (#6847) — "ext-zlib provider archive with a feature-stripped stdlib rebuild… on a COLD object cache (warm /tmp caches mask it)… Not a parity regression" — but it is not in gap_snapshot.json, which is the file the conformance-smoke shard gate actually reads.

    So the shard reported it as pass -> compile_fail, flagged "REGRESSION — expected to pass", and cost an agent real time chasing a failure that was already understood and written down. Warm caches on other PRs mask it, which is why it appears intermittent and PR-specific.

    Two files describe the same thing and only one is consulted by the gate. That is the failure mode: a known failure recorded in the file humans read, absent from the file the machine reads, so the documentation cannot prevent the rediscovery it exists to prevent.

    Worth considering as part of this issue's scope:

    1. Make one file authoritative, or generate the gate's input from the documented one so they cannot drift.
    2. If they must stay separate, add a check that every known_failures.json entry has a corresponding gap_snapshot.json entry (and flag orphans in both directions).

    Related observation from the same run: several node_fail -> parity_fail entries are the oracle reclassifying tests it could not run when the snapshot was taken — CLAUDE.md's silent-drop hazard firing in reverse. One such entry differed between two PRs' runs on the same base, which is the signature of an environment-dependent oracle rather than a code change.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions