From f3f71a25c8ce16451d63ffeda34a5851f302e837 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96mer=20TEKTA=C5=9E?= Date: Sat, 22 Aug 2026 16:38:01 +0300 Subject: [PATCH 1/2] chore: verify published Loop 0.5.35 --- .github/workflows/verify-npm-0.5.35.yml | 51 +++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 .github/workflows/verify-npm-0.5.35.yml diff --git a/.github/workflows/verify-npm-0.5.35.yml b/.github/workflows/verify-npm-0.5.35.yml new file mode 100644 index 0000000..6bc03ea --- /dev/null +++ b/.github/workflows/verify-npm-0.5.35.yml @@ -0,0 +1,51 @@ +name: Verify published Loop 0.5.35 + +on: + pull_request: + paths: + - .github/workflows/verify-npm-0.5.35.yml + +permissions: + contents: read + +jobs: + verify: + runs-on: ubuntu-latest + timeout-minutes: 6 + steps: + - uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6 + with: + node-version: "24" + registry-url: "https://registry.npmjs.org" + package-manager-cache: false + - name: Verify exact version, latest tag, bins, and clean consumer + shell: bash + run: | + set -euo pipefail + EXPECTED="0.5.35" + VERSION="" + LATEST="" + BIN_INSTALLER="" + BIN_DAEMON="" + for attempt in $(seq 1 36); do + VERSION="$(npm view "@bybrawe/opencode-loop@$EXPECTED" version --registry=https://registry.npmjs.org 2>/dev/null || true)" + LATEST="$(npm view "@bybrawe/opencode-loop@latest" version --registry=https://registry.npmjs.org 2>/dev/null || true)" + BIN_INSTALLER="$(npm view "@bybrawe/opencode-loop@$EXPECTED" bin.opencode-loop --registry=https://registry.npmjs.org 2>/dev/null || true)" + BIN_DAEMON="$(npm view "@bybrawe/opencode-loop@$EXPECTED" bin.opencode-loopd --registry=https://registry.npmjs.org 2>/dev/null || true)" + echo "attempt=$attempt exact=$VERSION latest=$LATEST installer=$BIN_INSTALLER daemon=$BIN_DAEMON" + if [ "$VERSION" = "$EXPECTED" ] && [ "$LATEST" = "$EXPECTED" ] && [ "$BIN_INSTALLER" = "scripts/install-with-goals.mjs" ] && [ "$BIN_DAEMON" = "scripts/loopd.mjs" ]; then + break + fi + sleep 5 + done + test "$VERSION" = "$EXPECTED" + test "$LATEST" = "$EXPECTED" + test "$BIN_INSTALLER" = "scripts/install-with-goals.mjs" + test "$BIN_DAEMON" = "scripts/loopd.mjs" + + VERIFY_DIR="$(mktemp -d)" + trap 'rm -rf "$VERIFY_DIR"' EXIT + cd "$VERIFY_DIR" + INSTALLED_VERSION="$(npm exec --yes --package="@bybrawe/opencode-loop@$EXPECTED" -- opencode-loop --version)" + echo "clean_consumer_version=$INSTALLED_VERSION" + test "$INSTALLED_VERSION" = "$EXPECTED" From 41c2fb998e5c49360129325e1862d51fef5a2cd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96mer=20TEKTA=C5=9E?= Date: Sat, 22 Aug 2026 16:38:43 +0300 Subject: [PATCH 2/2] chore: remove temporary npm verifier --- .github/workflows/verify-npm-0.5.35.yml | 51 ------------------------- 1 file changed, 51 deletions(-) delete mode 100644 .github/workflows/verify-npm-0.5.35.yml diff --git a/.github/workflows/verify-npm-0.5.35.yml b/.github/workflows/verify-npm-0.5.35.yml deleted file mode 100644 index 6bc03ea..0000000 --- a/.github/workflows/verify-npm-0.5.35.yml +++ /dev/null @@ -1,51 +0,0 @@ -name: Verify published Loop 0.5.35 - -on: - pull_request: - paths: - - .github/workflows/verify-npm-0.5.35.yml - -permissions: - contents: read - -jobs: - verify: - runs-on: ubuntu-latest - timeout-minutes: 6 - steps: - - uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6 - with: - node-version: "24" - registry-url: "https://registry.npmjs.org" - package-manager-cache: false - - name: Verify exact version, latest tag, bins, and clean consumer - shell: bash - run: | - set -euo pipefail - EXPECTED="0.5.35" - VERSION="" - LATEST="" - BIN_INSTALLER="" - BIN_DAEMON="" - for attempt in $(seq 1 36); do - VERSION="$(npm view "@bybrawe/opencode-loop@$EXPECTED" version --registry=https://registry.npmjs.org 2>/dev/null || true)" - LATEST="$(npm view "@bybrawe/opencode-loop@latest" version --registry=https://registry.npmjs.org 2>/dev/null || true)" - BIN_INSTALLER="$(npm view "@bybrawe/opencode-loop@$EXPECTED" bin.opencode-loop --registry=https://registry.npmjs.org 2>/dev/null || true)" - BIN_DAEMON="$(npm view "@bybrawe/opencode-loop@$EXPECTED" bin.opencode-loopd --registry=https://registry.npmjs.org 2>/dev/null || true)" - echo "attempt=$attempt exact=$VERSION latest=$LATEST installer=$BIN_INSTALLER daemon=$BIN_DAEMON" - if [ "$VERSION" = "$EXPECTED" ] && [ "$LATEST" = "$EXPECTED" ] && [ "$BIN_INSTALLER" = "scripts/install-with-goals.mjs" ] && [ "$BIN_DAEMON" = "scripts/loopd.mjs" ]; then - break - fi - sleep 5 - done - test "$VERSION" = "$EXPECTED" - test "$LATEST" = "$EXPECTED" - test "$BIN_INSTALLER" = "scripts/install-with-goals.mjs" - test "$BIN_DAEMON" = "scripts/loopd.mjs" - - VERIFY_DIR="$(mktemp -d)" - trap 'rm -rf "$VERIFY_DIR"' EXIT - cd "$VERIFY_DIR" - INSTALLED_VERSION="$(npm exec --yes --package="@bybrawe/opencode-loop@$EXPECTED" -- opencode-loop --version)" - echo "clean_consumer_version=$INSTALLED_VERSION" - test "$INSTALLED_VERSION" = "$EXPECTED"