Skip to content

test(id): repair stale planted-bug mutation paths after crate split #12039

Closed

Description

@dezren39

Problem

pkgs/id/tests/planted-bug-check.sh still lists two mutated files at their pre-crate-split paths, and the corresponding patches use those same removed paths. Both mutations therefore fail to apply instead of checking the suites they are meant to protect.

Evidence

On the current origin/main source layout:

  • pkgs/id/tests/planted/delegation-voiding.patch targets pkgs/id/src/groups/delegation.rs, which no longer exists; the implementation is now in pkgs/id/crates/id-events/src/groups/delegation.rs.
  • pkgs/id/tests/planted/tag-fold-clear.patch targets pkgs/id/src/tag_claims.rs, which no longer exists; the implementation is now in pkgs/id/crates/id-store/src/tag_claims.rs.
  • git apply --check fails on both checked-in patches with “No such file or directory”; the other two planted patches still apply.
  • Rewriting just the paths in temporary copies makes both patch checks pass.

The script’s MUTATED_FILES list also names the two removed paths. Existing issue #8037 tracks automatic CI wiring for the harness; its current verification notes say the wiring acceptance is blocked because the delegation patch no longer applies. This issue is the separate, bounded repair needed to let that acceptance proceed; it does not duplicate the CI-wiring scope.

Acceptance criteria

  • Update MUTATED_FILES and both patch headers to the current id-events and id-store source paths.
  • git apply --check succeeds for all four planted patches on current source.
  • On a green baseline, pkgs/id/tests/planted-bug-check.sh completes and reports all four mutations caught, including delegation voiding and tag fold clear.

No production behavior change is intended.

Activity

  1. added
    kind/bug
    task/triage
    source/creator
    priority/normal
    app/id
    effort/xs
    on Nov 19, 2026
  2. developing-today commented on Nov 19, 2026

    @developing-today
    Contributor
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

    app/ideffort/xskind/bugpriority/normalsource/creatorstatus:donetask/triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions