Commit ebe0ae9
committed
fix: keep record diff dimensions unrestricted, bound only hash work
Sessions may be created or resized to any positive dimensions, so the
side schema must not narrow the public contract. Drop the cols/rows
cap and instead skip the pre-event blank-hash equality check above a
100k-row work bound, keeping safeParse cost bounded without rejecting
contract-valid results.1 parent 45dfeda commit ebe0ae9
2 files changed
Lines changed: 19 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
501 | 501 | | |
502 | 502 | | |
503 | 503 | | |
504 | | - | |
505 | | - | |
506 | | - | |
507 | | - | |
508 | | - | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
509 | 509 | | |
510 | 510 | | |
511 | 511 | | |
512 | 512 | | |
513 | 513 | | |
514 | 514 | | |
515 | 515 | | |
516 | | - | |
517 | | - | |
| 516 | + | |
| 517 | + | |
518 | 518 | | |
519 | 519 | | |
520 | 520 | | |
| |||
558 | 558 | | |
559 | 559 | | |
560 | 560 | | |
561 | | - | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
562 | 564 | | |
563 | 565 | | |
564 | 566 | | |
565 | 567 | | |
| 568 | + | |
566 | 569 | | |
567 | 570 | | |
568 | 571 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
846 | 846 | | |
847 | 847 | | |
848 | 848 | | |
849 | | - | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
850 | 853 | | |
851 | 854 | | |
852 | 855 | | |
853 | 856 | | |
854 | | - | |
| 857 | + | |
855 | 858 | | |
856 | 859 | | |
857 | | - | |
| 860 | + | |
858 | 861 | | |
859 | 862 | | |
860 | 863 | | |
861 | 864 | | |
862 | 865 | | |
863 | 866 | | |
864 | 867 | | |
865 | | - | |
| 868 | + | |
| 869 | + | |
866 | 870 | | |
867 | 871 | | |
868 | 872 | | |
| |||
0 commit comments