From 418a4e9ff0c031cd908421264641ae5251ad85e8 Mon Sep 17 00:00:00 2001 From: Master0fFate Date: Sun, 11 Oct 2026 02:47:29 +0200 Subject: [PATCH] Move CI to Node 24 actions and wait longer for npm checkout and setup-node v4 run on the deprecated Node 20 runtime. The registry check after publish also gave up after 30 seconds, while npm can take a few minutes to show a new version. Bump to 1.0.2. --- .github/workflows/ci.yml | 8 ++++---- .github/workflows/publish.yml | 4 ++-- CHANGELOG.md | 6 ++++++ package-lock.json | 4 ++-- package.json | 2 +- scripts/publish.mjs | 2 +- 6 files changed, 16 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4d42b32..42e88e0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,8 +16,8 @@ jobs: os: [ubuntu-latest, windows-latest, macos-latest] node: [20, 22] steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - uses: actions/checkout@v6 + - uses: actions/setup-node@v6 with: node-version: ${{ matrix.node }} cache: npm @@ -31,8 +31,8 @@ jobs: needs: check runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - uses: actions/checkout@v6 + - uses: actions/setup-node@v6 with: node-version: 22 cache: npm diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 1123362..bf906ab 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -14,8 +14,8 @@ jobs: runs-on: ubuntu-latest environment: npm steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - uses: actions/checkout@v6 + - uses: actions/setup-node@v6 with: node-version: 22 registry-url: https://registry.npmjs.org diff --git a/CHANGELOG.md b/CHANGELOG.md index ab6a44c..3bfc617 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to the Parallax Engine will be documented in this file. ## [Unreleased] +## [1.0.2] - 2026-10-11 + +### Changed +- CI and publish workflows use `actions/checkout@v6` and `actions/setup-node@v6`, which run on Node 24 instead of the deprecated Node 20 runtime. +- Release registry verification waits up to three minutes for npm to make a new version visible. + ## [1.0.1] - 2026-10-11 ### Fixed diff --git a/package-lock.json b/package-lock.json index 17bf39a..9bad909 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "parallax-opencode", - "version": "1.0.1", + "version": "1.0.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "parallax-opencode", - "version": "1.0.1", + "version": "1.0.2", "license": "MIT", "dependencies": { "@opencode-ai/plugin": "^1.18.35" diff --git a/package.json b/package.json index 0f3d776..8c8bbcd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "parallax-opencode", - "version": "1.0.1", + "version": "1.0.2", "description": "Verified change loop for OpenCode: preflight gate, bounded project checks with durable receipts, and Horizon, a resumable supervisor for long-running goals", "type": "module", "main": "./dist/plugin.js", diff --git a/scripts/publish.mjs b/scripts/publish.mjs index 46fbf79..ae08bfb 100644 --- a/scripts/publish.mjs +++ b/scripts/publish.mjs @@ -51,7 +51,7 @@ function authorize(pkg) { async function verifyRegistry(pkg, tag) { let last - for (let attempt = 0; attempt < 10; attempt++) { + for (let attempt = 0; attempt < 60; attempt++) { try { const response = await fetch(`https://registry.npmjs.org/${pkg.name}`, { cache: "no-store", signal: AbortSignal.timeout(10_000) }) if (!response.ok) throw new Error(`registry HTTP ${response.status}`)