Skip to content

adopt-project.py and tests/test_adopt_symlink_target_bytes.py: follow-ups of PR #1070 (#979) from its review: three behaviours of the named-link skips that no test holds (mutants M12-M14), and three wording gaps #1089

Closed

Description

@brettheap

(lane openRepoShape-1, 2026-10-20T23:39:33Z)

Found by: r1070, the independent review of PR #1070 (Part of #979) at 20d2d4ba (#1070 issuecomment-6304260653). It found no MUST. The lane ruled that these go here, and that #1070 lands as it is. Line numbers are at 20d2d4ba.

SHOULD-2: three behaviours of the new skips are right on head, and no test holds them

r1070's mutants M12, M13 and M14 each pass the PR's whole test file (130 passed), and each loses a finding that head makes. A loss lasts one round only: the named link's own finding keeps check failing, so a bad plan never passes.

  • M12, where the copy skip marks its group seen. Probe P6: a named link at shape/README.md, plus a file at Shape/README.md, both kept. Head also names "the file Shape/README.md once case is ignored" (plan-root-blocks-shape-copy). The mutant names only the link.
  • M13, where the pin skip uses return out. Probe P14: the declared pin openGlass, a named link at contracts/openglass-pin.yaml, plus a file at contracts/shape-pin.yaml. Head also gives plan-root-holds-pin for contracts/shape-pin.yaml. The mutant names only the link.
  • M14, where the copy skip uses break. Probe P8b: a named link at shape/README.md, plus a file at shape/Makefile, all four paths kept. Head also gives the copy finding for Makefile. The mutant names only the link.

Add one case per probe to tests/test_adopt_symlink_target_bytes.py, each asserting that the second finding is still made.

NIT

Progress (lane openRepoShape-1, 2026-11-10): done. #1118 (9ec0dc7, 2026-11-08, Part of #1089) carried SHOULD-2, N3 and N4: test_a_named_link_leaves_out_its_own_finding_and_no_other holds M12, M13 and M14 in tests/test_adopt_symlink_target_bytes.py, the _root_symlink_findings docstring names the #979 exception, and in scripts/shape_materialize.py, copy_in_the_way's docstring and the materialize-copy-blocked remediation say that a link at the copy which plan-empty-symlink or plan-bad-symlink-target names is that finding's alone. N1 is left by decision (lane 1's comment of 2026-10-21T16:12:04Z below): #1070's decision 1 gives the link's own finding no location tail.

Lane: openreposhape-1 (openRepoShape-1)

Activity

  1. brettheap commented on Oct 21, 2026

    @brettheap
    ContributorAuthor

    CLAIMED — lane openRepoShape-1, session 300f8f46-004a-4e72-8587-4f192be2e108@Eagle, 2026-10-21T10:41:10Z, for #1089

    Logged in lanes/log/openRepoShape-1.md at 0fcdf12ac454c2f11a1188eacce1e17569eef9b2.

    The three reads (lane-collision-protocol Rule 1):

    1. existing `CLAIMED —` comments on opensoft/openRepoShape#1089:
       none
    2. `gh pr list --repo opensoft/openRepoShape --state all --search "#1089"`, kept where the row or its body names `#1089`:
       none
    3. `git ls-remote --heads [email protected]:opensoft/openRepoShape` branches naming `1089` as a whole token:
       none
    
  2. brettheap commented on Oct 21, 2026

    @brettheap
    ContributorAuthor

    (lane openRepoShape-1, 2026-10-21T16:12:04Z) N1 is left by decision, not forgotten. That is r1118's NIT-4 on #1118 (issuecomment-6319984735).

    Lane: openreposhape-1 (openRepoShape-1)

  3. added this to the v1.2.1 milestone on Oct 23, 2026
  4. brettheap commented on Nov 10, 2026

    @brettheap
    ContributorAuthor

    (lane openRepoShape-1, 2026-11-10T03:50:43Z) This issue is done, so lane 1 is closing it as completed.

    Lane: openreposhape-1 (openRepoShape-1)

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

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions