Skip to content

Optimize html reporter module graph data #9763

Closed

Description

@hi-ogawa

Describe the bug

I noticed while doing #9740. Currently the module graph is constructed and saved per entry test file. However, this involves quite a lot of duplicate information since this means each test file brings the subgraph starting from itself.

In #9740, this is optimized to save the full graph structure per environment and this avoids such duplicates. Html reporter should also preserve module graph data in that form, then only trim it down (traverse from per test file basis) at the view level.

Reproduction

na

System Info

na

Used Package Manager

npm

Validations

Activity

  1. added theissue type on Mar 2, 2026
  2. added
    enhancement
    and removed on Mar 2, 2026
  3. changed the issue type fromtoon Mar 2, 2026
  4. added
    p3-minor-bug
    and removed
    enhancement
    on Mar 2, 2026
  5. changed the issue type fromtoon Mar 2, 2026
  6. moved this to Approved in Team Boardon Mar 5, 2026
  7. added a commit that references this issue on Mar 23, 2026
    f90519e
  8. added
    feat: reporters
    on May 4, 2026
  9. added
    p1-chore
    and removed
    p3-minor-bug
    on May 19, 2026
  10. changed the issue type fromtoon May 19, 2026
  11. added
    p3-minor-bug
    and removed
    p1-chore
    on Oct 1, 2026
  12. changed the issue type fromtoon Oct 1, 2026
  13. hi-ogawa commented on Oct 1, 2026

    @hi-ogawa
    CollaboratorAuthor

    Re-investigating from https://discord.com/channels/917386801235247114/1551854648577757274, it's apparent that the html reporter module graph persistence has the same scaling issue that blob reporter solved in #9740.

    Here is a reproduction https://gist.github.com/hi-ogawa/ced83dcb817ffd8e96025b898edc0dc4#file-note-md

  14. self-assigned this
    on Oct 1, 2026
  15. locked and limited conversation to collaborators on Oct 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

feat: reportersp3-minor-bug

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions