Commit b46217a
Adds the getMetaItems case that unit tests missed and dogfooding caught:
two packages with ONLY a sys_metadata overlay each (no registered
artifact) shipping the same `type/name`. The list-decorate step grafts
each row's artifact via `getArtifactItem(type, name, <row's own package>)`;
with no composite artifact it must not fall back to the OTHER package's
bare-key hydrated overlay, or both rows get stamped with the last-hydrated
package's `_packageId`.
Reverting the `getArtifactItem` package-scope guard fails this test
(`expected 'Globex home' to be 'Acme home'`), so it locks the fix.
Test-only; no runtime change.
Claude-Session: https://claude.ai/code/session_01DKFjwN2EVXPB2CJwNzPs8c
Co-authored-by: Claude <noreply@anthropic.com>
1 parent 15dbe18 commit b46217a
1 file changed
Lines changed: 24 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
891 | 891 | | |
892 | 892 | | |
893 | 893 | | |
| 894 | + | |
| 895 | + | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
| 899 | + | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
894 | 918 | | |
895 | 919 | | |
896 | 920 | | |
| |||
0 commit comments