From 16:51 (past two hours), all of my builds have been unsuccessful. Everything up until step 7 - deploy site looks normal. The feedback from step 7 and on in the build log (build ID: 6228e09649f56216fb093ea0) is:
6:38:40 PM: ────────────────────────────────────────────────────────────────
6:38:40 PM: 7. Deploy site
6:38:40 PM: ────────────────────────────────────────────────────────────────
6:38:40 PM:
6:38:40 PM: Starting to deploy site from 'out'
6:38:44 PM: Creating deploy upload records
6:38:40 PM: Creating deploy tree
6:38:41 PM:
6:38:41 PM: ────────────────────────────────────────────────────────────────
6:38:41 PM: Internal error during "Deploy site"
6:38:41 PM: ────────────────────────────────────────────────────────────────
6:38:44 PM: Failed during stage 'building site': Build script returned non-zero exit code: 4 (https://ntl.fyi/exit-code-4)
6:38:41 PM:
6:38:41 PM: Error message
6:38:41 PM: Error: Deploy did not succeed: Failed to execute deploy: [PUT /sites/{site_id}/deploys/{deploy_id}][500] updateSiteDeploy default &{Code:0 Message:}
6:38:41 PM:
6:38:41 PM: Error location
6:38:41 PM: During Deploy site
6:38:41 PM: at handleDeployError (file:///opt/buildhome/node-deps/node_modules/@netlify/build/src/plugins_core/deploy/buildbot_client.js:87:18)
6:38:41 PM: at deploySiteWithBuildbotClient (file:///opt/buildhome/node-deps/node_modules/@netlify/build/src/plugins_core/deploy/buildbot_client.js:68:12)
6:38:41 PM: at runMicrotasks (<anonymous>)
6:38:41 PM: at processTicksAndRejections (node:internal/process/task_queues:96:5)
6:38:41 PM: at async coreStep (file:///opt/buildhome/node-deps/node_modules/@netlify/build/src/plugins_core/deploy/index.js:45:5)
6:38:41 PM: at async fireCoreStep (file:///opt/buildhome/node-deps/node_modules/@netlify/build/src/steps/core_step.js:39:9)
6:38:41 PM: at async tFireStep (file:///opt/buildhome/node-deps/node_modules/@netlify/build/src/time/main.js:20:59)
6:38:41 PM: at async runStep (file:///opt/buildhome/node-deps/node_modules/@netlify/build/src/steps/run_step.js:88:7)
6:38:41 PM: at async pReduce.index (file:///opt/buildhome/node-deps/node_modules/@netlify/build/src/steps/run_steps.js:91:11)
6:38:41 PM: at async runSteps (file:///opt/buildhome/node-deps/node_modules/@netlify/build/src/steps/run_steps.js:51:7)
6:38:41 PM:
6:38:41 PM: Resolved config
6:38:41 PM: build:
6:38:41 PM: command: CI= npm run build && npm run export
6:38:41 PM: commandOrigin: config
6:38:41 PM: environment:
6:38:41 PM: - ADMIN_auth_provider_x509_cert_url
6:38:41 PM: - ADMIN_auth_uri
6:38:41 PM: - ADMIN_client_email
6:38:41 PM: - ADMIN_client_id
6:38:41 PM: - ADMIN_client_x509_cert_url
6:38:41 PM: - ADMIN_private_key
6:38:41 PM: - ADMIN_private_key_id
6:38:41 PM: - ADMIN_project_id
6:38:41 PM: - ADMIN_token_uri
6:38:41 PM: - ADMIN_type
6:38:41 PM: - DISCORD_CLIENT_ID
6:38:41 PM: - DISCORD_SECRET
6:38:41 PM: - FIREBASE_apiKey
6:38:41 PM: - FIREBASE_appId
6:38:41 PM: - FIREBASE_authDomain
6:38:41 PM: - FIREBASE_measurementId
6:38:41 PM: - FIREBASE_messagingSenderId
6:38:41 PM: - FIREBASE_projectId
6:38:41 PM: - FIREBASE_storageBucket
6:38:41 PM: - ONEGRAPH_AUTHLIFY_TOKEN
6:38:41 PM: - SENTRY_AUTH_TOKEN
6:38:41 PM: - SENTRY_ORG
6:38:41 PM: - SENTRY_PROJECT
6:38:41 PM: - NETLIFY_NEXT_PLUGIN_SKIP
6:38:41 PM: - NODE_VERSION
6:38:41 PM: publish: /opt/build/repo/out
6:38:41 PM: publishOrigin: config
6:38:41 PM: functions:
6:38:41 PM: '*':
6:38:41 PM: external_node_modules:
6:38:41 PM: - firebase-admin
6:38:41 PM: - node-fetch
6:38:41 PM: - axios
6:38:41 PM: - date-fns
6:38:41 PM: node_bundler: esbuild
6:38:41 PM: triggerAutomations:
6:38:41 PM: schedule: '@hourly'
6:38:41 PM: functionsDirectory: /opt/build/repo/functions
6:38:41 PM: plugins:
6:38:41 PM: - inputs: {}
6:38:41 PM: origin: ui
6:38:41 PM: package: '@netlify/plugin-nextjs'
6:38:41 PM: - inputs: {}
6:38:41 PM: origin: config
6:38:41 PM: package: '@sentry/netlify-build-plugin'
6:38:41 PM: redirects:
6:38:41 PM: - from: /api/*
status: 200
to: /.netlify/functions/:splat
redirectsOrigin: config
Caching artifacts
6:38:41 PM: Started saving node modules
6:38:41 PM: Finished saving node modules
6:38:41 PM: Started saving build plugins
6:38:41 PM: Finished saving build plugins
6:38:41 PM: Started saving pip cache
6:38:41 PM: Finished saving pip cache
6:38:41 PM: Started saving emacs cask dependencies
6:38:41 PM: Finished saving emacs cask dependencies
6:38:41 PM: Started saving maven dependencies
6:38:41 PM: Finished saving maven dependencies
6:38:41 PM: Started saving boot dependencies
6:38:41 PM: Finished saving boot dependencies
6:38:41 PM: Started saving rust rustup cache
6:38:41 PM: Finished saving rust rustup cache
6:38:41 PM: Started saving go dependencies
6:38:41 PM: Finished saving go dependencies
6:38:44 PM: Build failed due to an internal system error: Build script returned non-zero exit code: 4
6:38:44 PM: Failing build: Failed to build site
6:38:44 PM: Finished processing build request in 4m36.496725047s
At first I assumed it was related to Netlify Status - Increased errors and latency affecting multiple services but that now states resolved, so maybe not.