You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@texera.apache.org by GitBox <gi...@apache.org> on 2026/08/25 01:36:21 UTC

[GH] (texera/cov/drag-drop-intersect): Workflow run "Required Checks" is working again!

The GitHub Actions job "Required Checks" on texera.git/cov/drag-drop-intersect has succeeded.
Run started by GitHub user aglinxinyuan (triggered by aglinxinyuan).

Head commit for run:
d26deb1c2129c3acc5a04b0a4c64e30e024cc86e / Xinyuan Lin <xi...@uci.edu>
test(frontend): run the edge-intersection search against a real paper

findIntersectedLink's loop body had never executed: every existing call site
either has no links, no attached paper, or mocks the method out. It decides
whether dropping an operator onto an edge splices it into that edge.

Adds 6 tests driving it against a real joint paper with a rendered link: the
edge found when the drop lands on it, nothing found when the drop is far away or
the canvas has no links, and the three defensive continues — a link the paper has
no model for, no view for, or whose view has no drawn path yet — each yielding no
edge rather than throwing and failing the whole drop.

jsdom implements no SVG path geometry, so getTotalLength/getPointAtLength are
installed on the rendered .connection path, exactly as the existing
doesOperatorIntersectPath tests already do. Everything the loop itself does —
model lookup, view lookup, path lookup, the early continues — stays real.

No production file is touched.

Report URL: https://github.com/apache/texera/actions/runs/32797433278

With regards,
GitHub Actions via GitBox