TL;DR
An unexpected Error: the offset is lower than the number of bytes written. appears when we upload files.
Expected behavior
Uploading the files always works
Observed behavior
we have been observing this behavior where pipelines randomly fail since April with the mentioned error, if we re-run those pipelines they work perfectly
Action YAML
- name: 📤 Update commit build on Google Cloud
uses: google-github-actions/upload-cloud-storage@v2
with:
path: ./build
destination: ${{ env.GCP_BUCKET_NAME }}/${{ env.GCP_BUCKET_PATH }}/${{ github.sha }}
parent: false
Log output
Error: google-github-actions/upload-cloud-storage failed with: the offset is lower than the number of bytes written. The server has 0 bytes and while 10 bytes has been uploaded - thus 10 bytes are missing. Stopping as this could result in data loss. Initiate a new upload to continue.
Additional information
It seems that this only happens when we are using the managed runners, with self-hosted we have not observed this problem, but as I said it happens randomly so it may or may not happen in the future
TL;DR
An unexpected Error: the offset is lower than the number of bytes written. appears when we upload files.
Expected behavior
Uploading the files always works
Observed behavior
we have been observing this behavior where pipelines randomly fail since April with the mentioned error, if we re-run those pipelines they work perfectly
Action YAML
Log output
Additional information
It seems that this only happens when we are using the managed runners, with self-hosted we have not observed this problem, but as I said it happens randomly so it may or may not happen in the future