Skip to content

Conversation

matifali
Copy link
Member

As we run clone in parallel to startup_script, The clone does not exist when a new workspace is created.

@matifali matifali requested a review from mafredri January 31, 2024 14:50
Copy link

@cdr-bot cdr-bot bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR is a hotfix and has been automatically approved.

  • ✅ Base is main
  • ✅ Has hotfix label
  • ✅ Head is from coder/coder
  • ✅ Less than 100 lines

@mafredri
Copy link
Member

We really need script dependencies :(

I would suggest waiting until a file is present. E.g.

while ! [[ -f repo/site/package.json ]]; do
    sleep 1
done

This way we can delay operation until the file we want exists. Thoughts?

@matifali matifali merged commit 4604db0 into main Jan 31, 2024
@matifali matifali deleted the sfi branch January 31, 2024 15:01
@github-actions github-actions bot locked and limited conversation to collaborators Jan 31, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants