Commit 3cf66ff
fix: make the CI gates pass with the central router
Two gates broke on the routing change and both were the change surfacing, not a
defect:
- server embed test: the router derives its own path (routes are not persisted),
so an edge given legacy `data.points` but no pinned anchors is auto-routed and
its label lands on the new path. Assert the property the test names — the label
sits ON the rendered polyline, not at the straight-midpoint fallback — instead
of a coordinate baked from the old route.
- library main-entry size budget: the orthogonal routing engine adds ~27 kB
brotli to the always-loaded core (it runs on first paint, so it cannot be lazy
split without flashing unrouted edges). Raise the limit from 87 to 118 kB — the
new 114.28 kB baseline plus headroom for brotli variance, still tight enough to
catch a real regression.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent ff3ba4f commit 3cf66ff
2 files changed
Lines changed: 42 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
554 | 554 | | |
555 | 555 | | |
556 | 556 | | |
557 | | - | |
558 | | - | |
559 | | - | |
560 | | - | |
561 | | - | |
562 | | - | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
563 | 598 | | |
564 | 599 | | |
0 commit comments