Attempt Details

Package: npm:openai 7.45.0

Artifact: openai-7.45.0.tgz

Status: Failed

Run ID: deps-dev

Started: 2026-10-26 20:05:34

Created: 2026-10-26 20:06:34

Finished: 0001-01-01 00:00:00

Duration: 1m1s

Logs: View in Cloud Storage

Strategy

{
  "npm_custom_build": {
    "repo": "https://github.com/openai/openai-node",
    "ref": "af8336b8c13bd5402868cf2ca0d9c64530c3848f",
    "dir": ".",
    "npm_version": "11.6.2",
    "node_version": "24.21.0",
    "command": "build",
    "registry_time": "2026-10-26T19:27:19.231Z"
  }
}

Full Message

executing rebuild: executing rebuild: waiting for operation: fetching operation: Get "https://us-central1-cloudbuild.googleapis.com/v1/operations/build/oss-rebuild/YWYzNjZhMjctODBiNi00ZTllLWFiNGItY2Q3OGZiY2M3NDEy?alt=json&prettyPrint=false": read tcp [fddf:3978:feb1:d745::c001]:38724->[2001:4860:4847:400::]:443: read: connection reset by peer

Dockerfile

#syntax=docker/dockerfile:1.10
FROM docker.io/library/alpine:3.21
RUN <<'EOF'
 set -eux
 wget https://storage.googleapis.com/google-rebuild-bootstrap-tools/v0.0.0-20251211001310-499b5fb97512/timewarp
 chmod +x timewarp
 apk add git npm
EOF
RUN <<'EOF'
 set -eux
 ./timewarp -port 8080 &
 while ! nc -z localhost 8080;do sleep 1;done
 mkdir /src && cd /src
 git clone https://github.com/openai/openai-node .
 git checkout --force 'af8336b8c13bd5402868cf2ca0d9c64530c3848f'
 wget -O - https://unofficial-builds.nodejs.org/download/release/v24.21.0/node-v24.21.0-linux-x64-musl.tar.gz | tar xzf - --strip-components=1 -C /usr/local/
 /usr/local/bin/npx --package=npm@11.6.2 -c 'npm_config_registry=http://npm:2026-10-26T19:27:19Z@localhost:8080 npm install --force --no-audit'
EOF
RUN cat <<'EOF' >/build
 set -eux
 /usr/local/bin/npx --package=npm@11.6.2 -c 'npm run build && npm pack'
 mkdir /out && cp /src/openai-7.45.0.tgz /out/
EOF
WORKDIR "/src"
ENTRYPOINT ["/bin/sh","/build"]