Skip to content

Improve dependency graph #166

@rhoerr

Description

@rhoerr

Summary

Per previous discussions and analysis, Magento core's dependency graph is a mess, such as all modules depending on the admin notifications module.

  1. What are specific pain points?
  2. Where and how should those be addressed?
  3. What specific changes would be needed for us to improve the graph in Mage-OS?
  4. How can we minimize breaking changes and merge conflicts in the process, if at all?

This is a blocker for creating a minimal Mage-OS distribution metapackage that excludes as much as possible by default. Right now 'as much as possible' is fairly little.

Examples

Reference:

Proposed solution

Use NX graph to determine

  1. Modules with hidden/missing dependencies that should be evaluated or fixed
  2. Leaf nodes that can be easily removed
  3. Cyclical dependencies
  4. Modules with inappropriate dependencies that should be corrected if at all possible

Release note

No response

Triage and priority

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

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