gitpod icon indicating copy to clipboard operation
gitpod copied to clipboard

ws-daemon: ignore error when workspace persistent state location not exist

Open jenting opened this issue 2 years ago • 1 comments

Description

The initial workspace failed at the beginning, so the workspace's persistent state location never exist.

Related Issue(s)

Fixes #11715

How to test

Probably make the workspace init fail by triggering this error

  • Create workspace by branch
  • Immediately delete the branch
cannot initialize workspace: git initializer clone: git checkout -B feature/holding origin/feature/holding failed (exit status 128): fatal: 'origin/feature/holding' is not a commit and a branch 'feature/holding' cannot be created from it

Release Notes

None

Documentation

None

Werft options:

  • [x] /werft with-preview

jenting avatar Aug 10 '22 01:08 jenting

started the job as gitpod-build-jenting-11715.1 because the annotations in the pull request description changed (with .werft/ from main)