Attempt Details
Package: npm:monaco-editor 0.40.0
Artifact: monaco-editor-0.40.0.tgz
Status: Failed
Run ID: 2025-05-09T15:12:32Z
Started: 2025-05-09 15:22:34
Created: 2025-05-09 15:35:57
Finished: 0001-01-01 00:00:00
Duration: 13m23s
Logs: View in Cloud Storage
Strategy
{
"npm_custom_build": {
"repo": "https://github.com/microsoft/monaco-editor",
"ref": "83b3cf23ca80c94cccca7c5b3e48351b220f8e35",
"dir": ".",
"npm_version": "8.19.4",
"node_version": "16.20.0",
"command": "build",
"registry_time": "2023-07-07T15:10:33.853Z",
"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.19 RUN <<'EOF' set -eux wget https://google-rebuild-bootstrap-tools.storage.googleapis.com/v0.0.0-20250428204534-b35098b3c7b7/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/microsoft/monaco-editor . git checkout --force '83b3cf23ca80c94cccca7c5b3e48351b220f8e35' wget -O - https://unofficial-builds.nodejs.org/download/release/v16.20.0/node-v16.20.0-linux-x64-musl.tar.gz | tar xzf - --strip-components=1 -C /usr/local/ /usr/local/bin/npx --package=npm@8.19.4 -c 'npm_config_registry=http://npm:2023-07-07T15:10:33Z@localhost:8080 npm install --force --no-audit' EOF RUN cat <<'EOF' >/build set -eux /usr/local/bin/npx --package=npm@8.19.4 -c 'npm run build && rm -rf node_modules && npm pack' mkdir /out && cp /src/monaco-editor-0.40.0.tgz /out/ EOF WORKDIR "/src" ENTRYPOINT ["/bin/sh","/build"]