Skip to content

dagre 3.1.0 breaks graph-pane node click (E2E pane-content-link-anchors) #1063

Description

@xarmian

Found by the 2026-08-06 dependabot batch: bumping @dagrejs/dagre 3.0.0 → 3.1.0 (with @dagrejs/graphlib 4.0.3) reproducibly fails e2e/pane-content-link-anchors.spec.ts:238Graph: clicking a node then its Open item anchor drills the pane in place — with a 30s locator.click timeout, 3/3 runs (original + retry + isolated rerun on PR #1061's pre-revert head 3f0b3902).

Hypothesis: 3.1's layout changes move or occlude the node hit-target. dagre has been exact-pinned at 3.0.0 since the renderer landed (TASK-1783, #720).

To upgrade later: bump dagre+graphlib together, run the graph E2Es locally, and if the layout legitimately changed, update the test's node-locating strategy rather than pixel assumptions. Until then dependabot will keep proposing 3.1 — consider an ignore rule for @dagrejs/* in .github/dependabot.yml if the noise annoys.

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