Repository navigation
Commit 245acae
fix(array): leave a valid stored document as written on a stale handle's first write
A handle read from an upgraded document re-reads the stored document before its
first chunk write. If that document no longer needs an upgrade, store nothing:
re-encoding it could differ from how another implementation wrote it, and
nothing about it needs fixing.
Assisted-by: ClaudeCode:claude-opus-5-5
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 632ac2b commit 245acae
2 files changed
Lines changed: 34 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1617 | 1617 | | |
1618 | 1618 | | |
1619 | 1619 | | |
1620 | | - | |
1621 | | - | |
| 1620 | + | |
1622 | 1621 | | |
1623 | 1622 | | |
1624 | 1623 | | |
1625 | 1624 | | |
1626 | | - | |
1627 | | - | |
| 1625 | + | |
| 1626 | + | |
| 1627 | + | |
1628 | 1628 | | |
1629 | 1629 | | |
1630 | 1630 | | |
1631 | 1631 | | |
1632 | 1632 | | |
1633 | | - | |
1634 | | - | |
| 1633 | + | |
| 1634 | + | |
| 1635 | + | |
1635 | 1636 | | |
1636 | 1637 | | |
1637 | 1638 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
553 | 553 | | |
554 | 554 | | |
555 | 555 | | |
| 556 | + | |
| 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 | + | |
556 | 583 | | |
557 | 584 | | |
558 | 585 | | |
| |||
0 commit comments