Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

sg: sg setup deadlocks on Arch Linux #38851

Open
LawnGnome opened this issue Jul 15, 2022 · 4 comments
Open

sg: sg setup deadlocks on Arch Linux #38851

LawnGnome opened this issue Jul 15, 2022 · 4 comments
Labels
bug An error, flaw or fault that produces an incorrect or unexpected result, or behavior. sg sg, the Sourcegraph developer command

Comments

@LawnGnome
Copy link
Contributor

  • Platform information: Arch Linux

Steps to reproduce:

  1. Run sg setup (or sg setup -c).

Expected behavior:

No hang.

Actual behavior:

sg hangs after displaying the initial progress tree.

This appears to be some sort of deadlock in the check concurrency — manually patching the runner concurrency to be 1 instead of 10 allows it to proceed as expected. An obvious workaround for now would be to drop the default concurrency on Linux, but I would like to get some input and understand what's causing the deadlock a little better before doing that.

@LawnGnome LawnGnome added bug An error, flaw or fault that produces an incorrect or unexpected result, or behavior. sg sg, the Sourcegraph developer command labels Jul 15, 2022
@bobheadxi
Copy link
Member

could this have been caused by the issue fixed in https://github.com/sourcegraph/sourcegraph/pull/38878 ?

@bobheadxi
Copy link
Member

bobheadxi commented Jul 18, 2022

Alternatively, would be happy to accept a PR to configure the concurrency via flags!

@sqs
Copy link
Member

sqs commented Sep 25, 2022

Check if https://github.com/sourcegraph/sourcegraph/pull/42031 fixed it! 🤞

@garythung
Copy link

I'm still getting this hanging on Ubuntu 22.04. Tried the prod sg download, and locally built sg.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug An error, flaw or fault that produces an incorrect or unexpected result, or behavior. sg sg, the Sourcegraph developer command
Projects
None yet
Development

No branches or pull requests

4 participants