You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Label optional and self dependency edges in the coupling tool and diagram (#2482 subissue 8) #2645
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
docs(issues): [#2645] specify labelling optional and self dependency …
Merge #2646: docs(issues): [#2645] specify labelling optional and sel…
docs(issues): [torrust#2645] link the implementation pull request in …
fix(workspace-coupling): [torrust#2645] follow feature references whe…
docs(workspace-coupling): [torrust#2645] say in the report legend tha…
docs(issues): [torrust#2645] record the transitive feature fix and th…
fix(workspace-coupling): [torrust#2645] keep explicit features named …
docs(workspace-coupling): [torrust#2645] say what a bare optional lab…
docs(issues): [torrust#2645] state that edition 2024 still adds the i…
docs(issues): [torrust#2645] state the tree and time of every manual …
docs(pr-reviews): [torrust#2645] name the head the first review read …
docs(pr-reviews): [torrust#2645] record the second review round of PR…
docs(issues): [torrust#2645] restrict the working-tree note to the ru…
docs(pr-reviews): [torrust#2645] correct the chronology of the resolu…
docs(pr-reviews): [torrust#2645] record the approval round of PR 2648
feat(workspace-coupling): [#2645] label optional edges and skip self …
docs(packages): [#2645] explain test-only edges in the dependency dia…
fix(workspace-coupling): [#2645] ignore the implicit feature of an op…
docs(issues): [#2645] record the evidence and review of labelling opt…
docs(issues): [torrust#2645] refresh the inventory update date after …
docs(pr-reviews): [torrust#2645] record the review of PR 2659
chore(issues): archive closed issue #2645 spec to docs/issues/closed
Merge #2659: chore(issues): archive closed issue #2645 spec to docs/i…
Merge torrust#2648: feat(workspace-coupling): [torrust#2645] label op…