Repository navigation
Commit 0f93f8f
committed
fix(metadata): the boot priming pass never writes an item back into the loader it read it from (R5-A)
The pass (MetadataPlugin._loadFromFileSystem: loadMany, then register
each) persisted every item it read back into every datasource loader,
the one it came from included, so each stored shape the save resolved
differently from its own row was rewritten at boot: a package's en-US
row beside a package-less en-US row took the package-less body, and a
package-less fr-FR row was copied into the package's slot. loadMany now
records the loader each item object came from, and register with
skipSourceLoader skips that loader's write-through only; an item read
from another loader still seeds the database loader (epic ruling
6801410166).
Claude-Session: https://claude.ai/code/session_01QSeKYm8sWjp2Pk76warN7w
Co-authored-by: Claude <noreply@anthropic.com>1 parent cfb8f30 commit 0f93f8f
4 files changed
Lines changed: 92 additions & 3 deletions
File tree
- .changeset
- packages/metadata/src
- loaders
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
1894 | 1895 | | |
1895 | 1896 | | |
1896 | 1897 | | |
| 1898 | + | |
| 1899 | + | |
| 1900 | + | |
| 1901 | + | |
| 1902 | + | |
| 1903 | + | |
| 1904 | + | |
| 1905 | + | |
| 1906 | + | |
| 1907 | + | |
| 1908 | + | |
| 1909 | + | |
| 1910 | + | |
| 1911 | + | |
| 1912 | + | |
| 1913 | + | |
| 1914 | + | |
| 1915 | + | |
| 1916 | + | |
| 1917 | + | |
| 1918 | + | |
| 1919 | + | |
| 1920 | + | |
| 1921 | + | |
| 1922 | + | |
| 1923 | + | |
| 1924 | + | |
| 1925 | + | |
| 1926 | + | |
| 1927 | + | |
| 1928 | + | |
| 1929 | + | |
| 1930 | + | |
| 1931 | + | |
| 1932 | + | |
| 1933 | + | |
| 1934 | + | |
| 1935 | + | |
| 1936 | + | |
| 1937 | + | |
| 1938 | + | |
| 1939 | + | |
| 1940 | + | |
| 1941 | + | |
| 1942 | + | |
| 1943 | + | |
| 1944 | + | |
| 1945 | + | |
| 1946 | + | |
| 1947 | + | |
| 1948 | + | |
| 1949 | + | |
| 1950 | + | |
| 1951 | + | |
| 1952 | + | |
| 1953 | + | |
| 1954 | + | |
| 1955 | + | |
| 1956 | + | |
| 1957 | + | |
| 1958 | + | |
| 1959 | + | |
| 1960 | + | |
| 1961 | + | |
| 1962 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
133 | 147 | | |
134 | 148 | | |
135 | 149 | | |
| |||
444 | 458 | | |
445 | 459 | | |
446 | 460 | | |
| 461 | + | |
| 462 | + | |
447 | 463 | | |
448 | 464 | | |
449 | 465 | | |
| |||
898 | 914 | | |
899 | 915 | | |
900 | 916 | | |
901 | | - | |
| 917 | + | |
902 | 918 | | |
903 | 919 | | |
904 | 920 | | |
| |||
943 | 959 | | |
944 | 960 | | |
945 | 961 | | |
| 962 | + | |
| 963 | + | |
946 | 964 | | |
947 | 965 | | |
948 | 966 | | |
| |||
3357 | 3375 | | |
3358 | 3376 | | |
3359 | 3377 | | |
| 3378 | + | |
3360 | 3379 | | |
3361 | 3380 | | |
3362 | 3381 | | |
3363 | 3382 | | |
3364 | 3383 | | |
3365 | 3384 | | |
| 3385 | + | |
3366 | 3386 | | |
3367 | 3387 | | |
3368 | 3388 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1672 | 1672 | | |
1673 | 1673 | | |
1674 | 1674 | | |
1675 | | - | |
| 1675 | + | |
| 1676 | + | |
| 1677 | + | |
| 1678 | + | |
1676 | 1679 | | |
1677 | 1680 | | |
1678 | 1681 | | |
| |||
0 commit comments