Commit 9af86c1
authored
Make the important requests run async (#55)
* CommandRunner: Return running process if needed
* BazelTargetStore: Add caching and locking
* Lock BazelTargetStore when needed
* Add WaitUpdatesHandler
* PrepareHandler: Remove unneeded cache
* PrepareHandler: Run in the background
* Process messages concurrently
* Update README
* Bump all rules_
* Update the example README
* Bump sourcekit-lsp
* Add support for running aqueries separately
* WatchedFileHandler: Do not notify on regular changes
* Add output base prewarming, move requests to run async
* CommandRunner: Clean up base protocol
* Bump BSP to 0.1.0, fix mismatched bzlmod integration
* Improve thread-safety handling in general, update tests
* Remove log call that didn't compile1 parent b34ae06 commit 9af86c1
File tree
37 files changed
+676
-343
lines changed- .bsp
- Example
- .bsp
- Sources
- SourceKitBazelBSP
- RequestHandlers
- BuildTargets
- SKOptions
- WatchedFiles
- Server
- MessageHandler
- sourcekit-bazel-bsp/Commands
- Tests/SourceKitBazelBSPTests
- Fakes
- rules
37 files changed
+676
-343
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | 8 | | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | 12 | | |
20 | | - | |
| 13 | + | |
21 | 14 | | |
22 | 15 | | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
0 commit comments