Skip to content

Label optional and self dependency edges in the coupling tool and diagram (#2482 subissue 8) #2645

Closed

Description

@josecelano

Subissue 8 of sub-EPIC #2482 (Reorganize test support code shared between workspace packages), itself a sub-EPIC of EPIC #1669 (Overhaul: Packages). Required: the ADR docs/adrs/20261021190318_share_workspace_test_support_through_testing_features.md chose the testing feature plus a path-only self dev-dependency.

Goal

Make the workspace coupling tool and the dependency diagram show an edge that exists only for the testing feature as test-only, and never as a runtime edge, before rows 3 to 7 move test support behind testing features.

Why

The tool never reads a dependency's optional field or a package's features table, and nothing handles a self edge, so a self dev-dependency can show as a package depending on itself and an optional dependency enabled by testing as a runtime edge. #2482's AC8 cannot be checked without this.

Tasks

  • T1: skip self edges everywhere (test first).
  • T2: label a normal optional dependency enabled only by testing as optional (testing) and do not count it as a runtime edge.
  • T3: label other optional dependencies optional (<feature>); leave required normal edges unchanged.
  • T4: update the report legend and docs/media/packages/dependencies-workspace-packages.md.
  • T5: run the tool on the workspace and record the output in the evidence.

The full specification is in the spec PR that follows.

Activity

  1. added 15 commits that reference this issue on Oct 25, 2026
  2. self-assigned this
    on Oct 26, 2026
  3. added 4 commits that reference this issue on Oct 26, 2026
  4. added 4 commits that reference this issue on Oct 26, 2026
  5. added a commit that references this issue on Oct 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions