Attempt Details
Package: npm:monaco-editor 0.52.0
Artifact: monaco-editor-0.52.0.tgz
Status: Failed
Run ID: 2025-04-28T21:58:30Z
Started: 2025-04-28 22:27:12
Created: 2025-04-28 22:34:04
Finished: 0001-01-01 00:00:00
Duration: 6m52s
Logs: View in Cloud Storage
Strategy
{
"npm_custom_build": {
"repo": "https://github.com/microsoft/monaco-editor",
"ref": "f6dc0eb8fce67e57f6036f4769d92c1666cdf546",
"dir": ".",
"npm_version": "10.8.2",
"node_version": "20.17.0",
"command": "build",
"registry_time": "2024-09-19T11:38:20.32Z",
"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 'f6dc0eb8fce67e57f6036f4769d92c1666cdf546' wget -O - https://unofficial-builds.nodejs.org/download/release/v20.17.0/node-v20.17.0-linux-x64-musl.tar.gz | tar xzf - --strip-components=1 -C /usr/local/ /usr/local/bin/npx --package=npm@10.8.2 -c 'npm_config_registry=http://npm:2024-09-19T11:38:20Z@localhost:8080 npm install --force' EOF RUN cat <<'EOF' >/build set -eux /usr/local/bin/npx --package=npm@10.8.2 -c 'npm run build && rm -rf node_modules && npm pack' mkdir /out && cp /src/monaco-editor-0.52.0.tgz /out/ EOF WORKDIR "/src" ENTRYPOINT ["/bin/sh","/build"]