Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement global project directory locking #3166

Open
lukaszcz opened this issue Nov 11, 2024 · 1 comment
Open

Implement global project directory locking #3166

lukaszcz opened this issue Nov 11, 2024 · 1 comment
Labels
CLI dev-tools enhancement New feature or request
Milestone

Comments

@lukaszcz
Copy link
Collaborator

The first thing the Juvix compiler should do is to lock the project directory to avoid unpredictable interference with other Juvix invocations. We tried fine-grained locking, but it was hard to get right because of Haskell's laziness. A global lock on the whole project directory acquired on startup should be easier to implement.

@lukaszcz lukaszcz added this to the 0.6.10 milestone Nov 11, 2024
@paulcadman paulcadman modified the milestones: 0.6.10, Sanalejo , 0.6.11 Dec 2, 2024
@paulcadman
Copy link
Collaborator

We don't want to lock the global project for vscode because it would make the extension too unresponsive. So we could add a flag to disable the global project lock.

The real solution to vscode responsiveness is lsp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLI dev-tools enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants