This repository was archived by the owner on Oct 8, 2025. It is now read-only.
Commit 06acca3
committed
fix: ensure some elixir internals are ready (#478)
Frequently we'd see the following error in tests, and some users were
seeing in production:
```
[error] Bad RPC call to node nextls-runtime-1715431446385794000@MacBook
-XXX: {:EXIT, {:badarg, [{:ets, :lookup, [:elixir_config,
:parser_options], [error_info: %{cause: :id, module: :erl_stdlib_errors}]
}, {:elixir_config, :get, 1, [file: ~c"src/elixir_config.erl", line: 21]}
, {:elixir_compiler, :string, 3, [file: ~c"src/elixir_compiler.erl", line
: 7]}, {Module.ParallelChecker, :verify, 1, [file: ~c"lib/module/parallel
_checker.ex", line: 112]}, {Code, :compile_file, 1, []}]}}
```
I believe that this is caused by an internal ETS table not being booted
yet, so we not await on it being present on the project node.
Closes #4671 parent 4559d1a commit 06acca3
File tree
3 files changed
+54
-32
lines changed- .github/workflows
- lib/next_ls
- priv/monkey
3 files changed
+54
-32
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
250 | 260 | | |
251 | 261 | | |
252 | 262 | | |
| |||
275 | 285 | | |
276 | 286 | | |
277 | 287 | | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
278 | 302 | | |
279 | 303 | | |
280 | 304 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1032 | 1032 | | |
1033 | 1033 | | |
1034 | 1034 | | |
| 1035 | + | |
| 1036 | + | |
1035 | 1037 | | |
1036 | 1038 | | |
1037 | 1039 | | |
1038 | 1040 | | |
1039 | | - | |
1040 | | - | |
1041 | | - | |
1042 | | - | |
| 1041 | + | |
1043 | 1042 | | |
1044 | 1043 | | |
1045 | 1044 | | |
| |||
1049 | 1048 | | |
1050 | 1049 | | |
1051 | 1050 | | |
1052 | | - | |
1053 | 1051 | | |
1054 | 1052 | | |
1055 | 1053 | | |
| |||
0 commit comments