Attempt Details

Package: npm:snyk 1.1309.0

Artifact: snyk-1.1309.0.tgz

Status: Failed

Run ID: deps-dev

Started: 2026-11-19 15:10:42

Created: 2026-11-19 15:10:42

Finished: 2026-11-19 15:15:25

Duration: 4m43s

Logs: View in Cloud Storage

Strategy

{
  "npm_custom_build": {
    "repo": "https://github.com/snyk/snyk",
    "ref": "b5c0067b63d147f80e4c08ff45022746d5d4a40f",
    "dir": "",
    "npm_version": "11.16.0",
    "node_version": "22.22.3",
    "version_override": "1.1309.0",
    "command": "build",
    "registry_time": "2026-11-19T14:59:19.455Z",
    "prepack_remove_deps": true
  }
}

Full Message

executing rebuild: rpc error: code = FailedPrecondition desc = rebuild content mismatch

Dockerfile

#syntax=docker/dockerfile:1.10
FROM docker.io/library/alpine:3.21
RUN sed 's/^ //' <<'EOF' | sh
 set -eux
 apk add curl
 curl -f https://storage.googleapis.com/google-rebuild-bootstrap-tools/v0.0.0-20261118191906-6a97fe1f62ab/timewarp > timewarp
 chmod +x timewarp
 apk add git npm
EOF
RUN sed 's/^ //' <<'EOF' | sh
 set -eux
 mkdir /src && cd /src
 git clone https://github.com/snyk/snyk .
 git checkout --force 'b5c0067b63d147f80e4c08ff45022746d5d4a40f'
EOF
RUN sed 's/^ //' <<'EOF' | sh
 set -eux
 ./timewarp -port 8080 &
 while ! nc -z localhost 8080;do sleep 1;done
 cd /src
 wget -O - https://unofficial-builds.nodejs.org/download/release/v22.22.3/node-v22.22.3-linux-x64-musl.tar.gz | tar xzf - --strip-components=1 -C /usr/local/
 /usr/local/bin/npx --package=npm@11.16.0 -c 'npm_config_registry=http://npm:2026-11-19T14:59:19Z@localhost:8080 npm install --force --no-audit --replace-registry-host=never --allow-remote=all'
EOF
RUN sed 's/^ //' <<'EOF' >/build
 set -eux
 PATH=/usr/bin:/bin:/usr/local/bin npm version --ignore-scripts --no-git-tag-version 1.1309.0
 /usr/local/bin/npx --package=npm@11.16.0 -c 'npm run build && rm -rf node_modules && npm pack'
 mkdir /out && cp /src/snyk-1.1309.0.tgz /out/
EOF
WORKDIR "/src"
ENTRYPOINT ["/bin/sh","/build"]