Repository navigation
Commit 75962e0
* Start fix for #1243
Assisted-by: Claude Code:claude-opus-5-5
* Keep bun.lockb shared bundled pins manageable
Bun 1.2+ keeps one bun.lockb record for a version that is installed
both from the registry and bundled inside a parent's tarball. The
hosted scan wires that record for the regular install, but discovery
treated it like a bundled-only record and dropped its ref. So `list`,
`remove` and `rollback` refused the pin as contested, and the hosted
to vendored takeover failed with vendor_lock_entry_not_found.
Discovery now classifies a shared record as the regular install and
records its version as a bundled copy, so the ref is shadowed: still
never attested in VEX (the bundled copy stays unpatched), but visible
to every command that manages hosted pins, as the text bun.lock
already is.
Fixes #1243
Assisted-by: Claude Code:claude-opus-5-5
* Test a hosted pin on a shared bundled bun.lockb record
Bun 1.2+ e2e: a root that depends on minimist@1.2.2 and on a local
parent that bundles its own minimist@1.2.2. After the hosted scan,
`list` must name the pin (it exited 1 with hosted_wiring_contested),
the online takeover must vendor over it (it failed with
vendor_lock_entry_not_found), `vendor --revert` must restore the
original bytes, and `rollback` must refuse it with the checkout
remedy like any binary hosted pin. Older Bun keeps no shared record,
so the leg skips there.
Refs #1243
Assisted-by: Claude Code:claude-opus-5-5
* Run the shared bundled bun.lockb test on Bun 1.4
The Bun compatibility backtest runs every `native_binary_` test and
expects exactly three to pass, so the new #1243 test's name broke all
three `binary` legs. Rename it out of that prefix, and add it to the
Bun 1.4.2 e2e_bun_lockb leg: the 1.0 and 1.1 legs keep no shared
record and skip it, so without this no CI leg ran it for real.
Refs #1243
Assisted-by: Claude Code:claude-opus-5-5
---------
Co-authored-by: Claude <noreply@anthropic.com>
1 parent f2335d3 commit 75962e0
3 files changed
Lines changed: 206 additions & 4 deletions
File tree
- .github/workflows
- crates
- socket-patch-cli/tests
- socket-patch-core/src/vex/discover
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1109 | 1109 | | |
1110 | 1110 | | |
1111 | 1111 | | |
1112 | | - | |
| 1112 | + | |
| 1113 | + | |
| 1114 | + | |
1113 | 1115 | | |
1114 | 1116 | | |
1115 | 1117 | | |
1116 | | - | |
| 1118 | + | |
1117 | 1119 | | |
1118 | 1120 | | |
1119 | 1121 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
385 | 385 | | |
386 | 386 | | |
387 | 387 | | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
388 | 398 | | |
389 | 399 | | |
390 | 400 | | |
| |||
665 | 675 | | |
666 | 676 | | |
667 | 677 | | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
668 | 716 | | |
669 | 717 | | |
670 | 718 | | |
| |||
1031 | 1079 | | |
1032 | 1080 | | |
1033 | 1081 | | |
| 1082 | + | |
| 1083 | + | |
| 1084 | + | |
| 1085 | + | |
| 1086 | + | |
| 1087 | + | |
| 1088 | + | |
| 1089 | + | |
| 1090 | + | |
| 1091 | + | |
| 1092 | + | |
| 1093 | + | |
| 1094 | + | |
| 1095 | + | |
| 1096 | + | |
| 1097 | + | |
| 1098 | + | |
| 1099 | + | |
| 1100 | + | |
| 1101 | + | |
| 1102 | + | |
| 1103 | + | |
| 1104 | + | |
| 1105 | + | |
| 1106 | + | |
| 1107 | + | |
| 1108 | + | |
| 1109 | + | |
| 1110 | + | |
| 1111 | + | |
| 1112 | + | |
| 1113 | + | |
| 1114 | + | |
| 1115 | + | |
| 1116 | + | |
| 1117 | + | |
| 1118 | + | |
| 1119 | + | |
| 1120 | + | |
| 1121 | + | |
| 1122 | + | |
| 1123 | + | |
| 1124 | + | |
| 1125 | + | |
| 1126 | + | |
| 1127 | + | |
| 1128 | + | |
| 1129 | + | |
| 1130 | + | |
| 1131 | + | |
| 1132 | + | |
| 1133 | + | |
| 1134 | + | |
| 1135 | + | |
| 1136 | + | |
| 1137 | + | |
| 1138 | + | |
| 1139 | + | |
| 1140 | + | |
| 1141 | + | |
| 1142 | + | |
| 1143 | + | |
| 1144 | + | |
| 1145 | + | |
| 1146 | + | |
| 1147 | + | |
| 1148 | + | |
| 1149 | + | |
| 1150 | + | |
| 1151 | + | |
| 1152 | + | |
| 1153 | + | |
| 1154 | + | |
| 1155 | + | |
| 1156 | + | |
| 1157 | + | |
| 1158 | + | |
| 1159 | + | |
| 1160 | + | |
| 1161 | + | |
| 1162 | + | |
| 1163 | + | |
| 1164 | + | |
| 1165 | + | |
| 1166 | + | |
| 1167 | + | |
| 1168 | + | |
| 1169 | + | |
| 1170 | + | |
| 1171 | + | |
| 1172 | + | |
| 1173 | + | |
| 1174 | + | |
| 1175 | + | |
| 1176 | + | |
| 1177 | + | |
| 1178 | + | |
| 1179 | + | |
| 1180 | + | |
| 1181 | + | |
| 1182 | + | |
| 1183 | + | |
| 1184 | + | |
| 1185 | + | |
| 1186 | + | |
| 1187 | + | |
| 1188 | + | |
| 1189 | + | |
| 1190 | + | |
1034 | 1191 | | |
1035 | 1192 | | |
1036 | 1193 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
233 | 258 | | |
234 | 259 | | |
235 | 260 | | |
| |||
302 | 327 | | |
303 | 328 | | |
304 | 329 | | |
305 | | - | |
306 | | - | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
307 | 334 | | |
| 335 | + | |
| 336 | + | |
308 | 337 | | |
309 | 338 | | |
310 | 339 | | |
| |||
1725 | 1754 | | |
1726 | 1755 | | |
1727 | 1756 | | |
| 1757 | + | |
| 1758 | + | |
| 1759 | + | |
| 1760 | + | |
| 1761 | + | |
| 1762 | + | |
| 1763 | + | |
| 1764 | + | |
| 1765 | + | |
| 1766 | + | |
| 1767 | + | |
| 1768 | + | |
| 1769 | + | |
| 1770 | + | |
1728 | 1771 | | |
1729 | 1772 | | |
1730 | 1773 | | |
| |||
0 commit comments