Commit 20f5ceb
committed
fix(build): attribute a source to its most specific package root
Package roots can nest — a workspace member lives under the workspace root — and
taking the first matching root filed the member's sources under the outer
package, i.e. into the wrong cache key. Index payloads live in the xpkgs store
and cannot be shadowed this way, so no cached entry is affected today; resolving
by specificity rather than by iteration order is what keeps that true if roots
ever move.1 parent a5bb4f0 commit 20f5ceb
1 file changed
Lines changed: 15 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3885 | 3885 | | |
3886 | 3886 | | |
3887 | 3887 | | |
| 3888 | + | |
| 3889 | + | |
| 3890 | + | |
| 3891 | + | |
| 3892 | + | |
| 3893 | + | |
| 3894 | + | |
| 3895 | + | |
| 3896 | + | |
| 3897 | + | |
3888 | 3898 | | |
3889 | 3899 | | |
3890 | 3900 | | |
3891 | 3901 | | |
3892 | 3902 | | |
3893 | 3903 | | |
3894 | | - | |
3895 | | - | |
| 3904 | + | |
| 3905 | + | |
| 3906 | + | |
| 3907 | + | |
3896 | 3908 | | |
| 3909 | + | |
3897 | 3910 | | |
3898 | 3911 | | |
3899 | 3912 | | |
| |||
0 commit comments