Skip to content

Commit 06621a8

Browse files
feat(shim): #260 S4 — finalise pins.js for v0.1.0 (partial), bump shim 0.1.1 (#291)
Closes the INT-10 wiring gap on #282: the LSP code path that resolves the compiler via `jsr:@hyperpolymath/affinescript@<pin>` (#287) was inert until pins.js had real sha256 values. Fills the two binaries that the v0.1.0 Release workflow (run 26124042846) produced before the macos-13 leg stalled in the runner queue: - linux-x64: c1ce65308bace96669d2a178732cd5ee180845d85a5775e119a221b98fe2a5da - macos-arm64: 2cac3ba54ae7778d31d1bd780d11b56a5cf78b5d5ee6c1d33edd3f8e753943d5 `macos-x64` stays fail-closed (empty sha256 ⇒ `resolveCompiler` refuses) per the rule documented at the top of pins.js — an unpinned binary is never executed. A follow-up release will fill it once the macos-13 build clears CI. SHAs were computed from binaries downloaded directly off the v0.1.0 Release (the canonical SHA256SUMS manifest only gets written by release.yml's `checksums` job after all three matrix legs succeed, so it does not yet exist on this Release). Bumps `@hyperpolymath/affinescript` 0.1.0 → 0.1.1 in lockstep (pins.js header rule), and tracks it in the LSP via `SHIM_SPEC = "jsr:@hyperpolymath/affinescript@0.1.1"`. Verification - `deno test` (packages/affinescript-cli): 6/6 green - `cargo test` (tools/affinescript-lsp): 26/26 green - Real end-to-end smoke (off the v0.1.0 Release, host = linux-x64): `resolveCompiler()` downloaded `affinescript-linux-x64`, checksum-verified against the new pin, cached, and execed `--version` → `0.1.0` (exit 0). Refs #282, #260, #181. ADR-019 in docs/specs/SETTLED-DECISIONS.adoc. Not `Closes #282` — owner-gated on the macos-x64 leg landing. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent db99ed6 commit 06621a8

3 files changed

Lines changed: 17 additions & 5 deletions

File tree

packages/affinescript-cli/deno.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hyperpolymath/affinescript",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"exports": {
55
".": "./mod.js"
66
},

packages/affinescript-cli/pins.js

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,20 @@ export const VERSION = "v0.1.0";
2626
export const PINS = {
2727
version: VERSION,
2828
targets: {
29-
"linux-x64": { url: assetUrl(VERSION, "linux-x64"), sha256: "" },
30-
"macos-x64": { url: assetUrl(VERSION, "macos-x64"), sha256: "" },
31-
"macos-arm64": { url: assetUrl(VERSION, "macos-arm64"), sha256: "" },
29+
"linux-x64": {
30+
url: assetUrl(VERSION, "linux-x64"),
31+
sha256: "c1ce65308bace96669d2a178732cd5ee180845d85a5775e119a221b98fe2a5da",
32+
},
33+
"macos-x64": {
34+
// v0.1.0 macos-13 build was stuck in the runner queue at tag time;
35+
// left fail-closed (empty sha256 ⇒ resolveCompiler refuses) until
36+
// a follow-up release re-attempts the macos-x64 leg.
37+
url: assetUrl(VERSION, "macos-x64"),
38+
sha256: "",
39+
},
40+
"macos-arm64": {
41+
url: assetUrl(VERSION, "macos-arm64"),
42+
sha256: "2cac3ba54ae7778d31d1bd780d11b56a5cf78b5d5ee6c1d33edd3f8e753943d5",
43+
},
3244
},
3345
};

tools/affinescript-lsp/src/compiler.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
2929
/// Pinned ADR-019 shim spec. Must track `packages/affinescript-cli/deno.json`
3030
/// `version` (and therefore the `pins.js` `VERSION`). Do not float this.
31-
pub const SHIM_SPEC: &str = "jsr:@hyperpolymath/affinescript@0.1.0";
31+
pub const SHIM_SPEC: &str = "jsr:@hyperpolymath/affinescript@0.1.1";
3232

3333
/// Environment variable naming an explicit compiler binary (precedence 1).
3434
pub const COMPILER_ENV: &str = "AFFINESCRIPT_COMPILER";

0 commit comments

Comments
 (0)