Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion crates/socket-patch-cli/tests/vlt-leg-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -962,7 +962,15 @@
"1.0.10",
"1.1.0",
"1.1.1",
"1.2.0"
"1.2.0",
"1.3.0",
"1.3.1",
"1.3.2",
"1.3.3",
"1.3.4",
"1.3.5",
"1.3.6",
"1.3.7"
],
"excluded": [
"0.0.0-0",
Expand Down
11 changes: 7 additions & 4 deletions docs/testing/vlt-compatibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ vlt project, and the caveats users meet, are in
| C | 1.0.0-rc.15 … 1.0.0-rc.32 | `1` | `~` / `+` + `_x` escapes (`~npm~name@ver`), `peer.N` | absent |
| D | 1.0.0-rc.33 … 1.0.7 | `1` | as C | the registry URL |
| E | 1.0.8 … 1.1.1 | `1` | as C, `peer.<16 hex>` | the registry URL |
| F | 1.2.0 | `1` | as E; the global store (`store-linker`) | the registry URL |
| F | 1.2.0 … 1.3.7 | `1` | as E; the global store (`store-linker`) | the registry URL |

On every release that writes slot [3], it is omitted when the project
configures `registry` and the node's tarball URL starts with it (vlt's
Expand Down Expand Up @@ -203,15 +203,18 @@ toolchain problem a failure, and so does `CI=true` with `_JS` unset.
| supported | `1.0.0-rc.1`, `1.0.0-rc.2`, `1.0.0-rc.3`, `1.0.0-rc.4`, `1.0.0-rc.5`, `1.0.0-rc.6`, `1.0.0-rc.7`, `1.0.0-rc.8`, `1.0.0-rc.9`, `1.0.0-rc.10`, `1.0.0-rc.11`, `1.0.0-rc.12`, `1.0.0-rc.13`, `1.0.0-rc.14`, `1.0.0-rc.15`, `1.0.0-rc.16`, `1.0.0-rc.17`, `1.0.0-rc.18` |
| supported | `1.0.0-rc.22`, `1.0.0-rc.23`, `1.0.0-rc.24`, `1.0.0-rc.25`, `1.0.0-rc.26`, `1.0.0-rc.27`, `1.0.0-rc.28`, `1.0.0-rc.29`, `1.0.0-rc.30`, `1.0.0-rc.31`, `1.0.0-rc.32`, `1.0.0-rc.33`, `1.0.0-rc.34` |
| supported | `1.0.1`, `1.0.2`, `1.0.3`, `1.0.4`, `1.0.5`, `1.0.6`, `1.0.7`, `1.0.8`, `1.0.9`, `1.0.10`, `1.1.0`, `1.1.1`, `1.2.0` |
| supported | `1.3.0`, `1.3.1`, `1.3.2`, `1.3.3`, `1.3.4`, `1.3.5`, `1.3.6`, `1.3.7` |
| excluded (broken install) | `0.0.0-0` |
| excluded (Deno-compiled wrappers) | `0.0.0-2`, `0.0.0-3`, `0.0.0-4`, `0.0.0-5`, `0.0.0-6`, `0.0.0-7`, `0.0.0-8`, `0.0.0-9`, `0.0.0-10` |
| excluded (`vlt install` exits 13 on Node 24 after "Done") | `0.0.0-22` |
| excluded (never published) | `1.0.0-rc.19`, `1.0.0-rc.20`, `1.0.0-rc.21` |
| excluded (unrelated 2017 publishes) | `0.0.1`, `1.0.0` |

`0.0.0-0.<timestamp>` builds are excluded too. Every supported release was
run through all five capstones on macOS during SP-9 (the CI matrix samples
them per OS).
`0.0.0-0.<timestamp>` builds are excluded too. Every supported release
through 1.2.0 was run through all five capstones on macOS during SP-9;
1.3.0 … 1.3.7 were run through them on Linux, and the nightly canary ran
1.3.x `vlt@latest` through them on Linux, macOS and Windows (the CI matrix
samples them per OS).

## Leg inventory

Expand Down
11 changes: 6 additions & 5 deletions scripts/tests/test_backtest_harnesses.py
Original file line number Diff line number Diff line change
Expand Up @@ -753,9 +753,9 @@ def test_exclusions(self):
for version in vlt.VERSIONS:
self.assertEqual(vlt.release_status(version, self.supported, self.excluded),
'supported')
self.assertEqual(vlt.release_status('1.3.0', self.supported, self.excluded), 'unlisted')
self.assertEqual(vlt.unlisted_releases(['1.2.0', '0.0.0-22', '1.3.0', '0.0.0-0.17'],
self.supported, self.excluded), ['1.3.0'])
self.assertEqual(vlt.release_status('9.9.9', self.supported, self.excluded), 'unlisted')
self.assertEqual(vlt.unlisted_releases(['1.3.7', '0.0.0-22', '9.9.9', '0.0.0-0.17'],
self.supported, self.excluded), ['9.9.9'])

def test_main_refuses_an_excluded_release(self):
with self.assertRaises(SystemExit), patch('sys.stderr'):
Expand All @@ -770,9 +770,10 @@ def test_versions_order_and_eras(self):
'1.2.0'])
eras = {v: vlt.era_of(v) for v in ('0.0.0-18', '0.0.0-19', '1.0.0-rc.8', '1.0.0-rc.9',
'1.0.0-rc.14', '1.0.0-rc.15', '1.0.0-rc.32',
'1.0.0-rc.33', '1.0.7', '1.0.8', '1.1.1', '1.2.0')}
'1.0.0-rc.33', '1.0.7', '1.0.8', '1.1.1', '1.2.0',
'1.3.7')}
self.assertEqual(list(eras.values()),
['A0', 'A', 'A', 'B', 'B', 'C', 'C', 'D', 'D', 'E', 'E', 'F'])
['A0', 'A', 'A', 'B', 'B', 'C', 'C', 'D', 'D', 'E', 'E', 'F', 'F'])

def test_pinned_integrity_covers_every_supported_release(self):
pinned = json.loads(vlt.HISTORICAL_INTEGRITY.read_text())
Expand Down
10 changes: 9 additions & 1 deletion scripts/vlt-historical-integrity.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,13 @@
"1.0.10": "sha512-yawzDKPtzO8a8Sa3b4Kxe5/f2HFhlYasmjPZX/8iqWV3t6vlelhKDKsK3+vvzetf3xDNEkyQoHgp/mQc5Q6GpQ==",
"1.1.0": "sha512-Udlf9V9La9uE6ROgHoglIo1is2fH4uAMneLfVU1P/hbJH/y7FfHankLd7tc/+O8JZHiWDQNunG1ys5Csyp7CTA==",
"1.1.1": "sha512-kLDMPqK7LrqJ19xmFIVKrf03F7SCTZpXJ8M0Qm4qd3ftnb8pXvyPmwO1hmFwMOm3TO1TH4J7qbKdE7KkkVo2pw==",
"1.2.0": "sha512-t7ONkM8YgRlY0g+6l+OU4oS2WS/dp7DK/vmFwNqxA0D+ehPWprNOTTH3uUYURAnCg5lr9vzJSmX9nNCcG5xGXA=="
"1.2.0": "sha512-t7ONkM8YgRlY0g+6l+OU4oS2WS/dp7DK/vmFwNqxA0D+ehPWprNOTTH3uUYURAnCg5lr9vzJSmX9nNCcG5xGXA==",
"1.3.0": "sha512-Z4drBAkOA8JeBUKyfrTgnOx5CuvttuD9r9T9YUHUUOORtIS2yiVm2zZGq7GJ7qRaaf7KR7Fa6r0S3H98PISDoA==",
"1.3.1": "sha512-j9/ncs54sE9lvmsPQVruc5xKZ8xsuXqnBT/W3dCVUH1vq9ikT3wwt+MeoRcDqA5kC57jyNN+N0l4n+Ctkk6m/w==",
"1.3.2": "sha512-xA8N7NNaKp07v5+WhqyROS0LtVjEtc28kYQKQw0CNpoO/Q8tGnA5By+ulHdIv7U86k+9Da27zdy5UGnZsLyjgw==",
"1.3.3": "sha512-M5EsGzoHbMudvJyJmIeImAlCLnoz7gEGg3mPwOYIAsz1tMUZ2a4ffkD1F3WUgLUtiSEjnNFUJm3Iwr7fFfWH8Q==",
"1.3.4": "sha512-W9d0LfZbGltW4la6U4YZnEDEnNyu2OVRnqTuKRCfjY+ck5BB/7b8bQmmk+J4RHZ94U7OT+GepU1og5p8o6QE0g==",
"1.3.5": "sha512-UR4yVcULH9vccyatHI+rU5gTI1rdWcJKYMuLkXI5O18q6hsUoCiEGqBxqPbFDFROsEhkBAOkGCFDVyGd2RqRfg==",
"1.3.6": "sha512-ooaGujc9YBedp6OOIbDc8OvCaUEvwjwgMEJji1NySzVdfd3u6d0q90Sey4IEYctGUD249LSOxyE/+6aG4QvqWw==",
"1.3.7": "sha512-ULCK3PDWY6HTkle9+OLyNbfqyA9xW1b6HVgYVIlPu/hbJFFizrionsNUpffSc+BS3VD842GfzslvRzX3y+5B6g=="
}
Loading