You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
is not highlighted as invalid by the extension.
Having such a config seems to cause the extension to crash repeatedly
Error: Internal error: Supposedly valid service did not have command
at on._checkForCyclesAndSortDependencies (c:\Users\Temm\.vscode\extensions\google.wireit-0.6.0\server.js:42:20959)
at on.analyzeFiles (c:\Users\Temm\.vscode\extensions\google.wireit-0.6.0\server.js:42:4600)
at async ii.getDiagnostics (c:\Users\Temm\.vscode\extensions\google.wireit-0.6.0\server.js:42:24688)
at async Au (c:\Users\Temm\.vscode\extensions\google.wireit-0.6.0\server.js:42:29636)
[Error - 2:30:09 AM] The wireit server server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.
It seems that the extension does not properly check the rule that service scripts must have a command
This way later scripts can assume locally-valid means no failures in the script that are locally determinable.
I think this was the original intent, and some code seems to assume this. See e.g. #803
* Don't upgrade a script to locally-valid if it has errors
This way later scripts can assume locally-valid means no failures in the script that are locally determinable.
I think this was the original intent, and some code seems to assume this. See e.g. #803
* Update changelog
A config like
is not highlighted as invalid by the extension.
Having such a config seems to cause the extension to crash repeatedly
It seems that the extension does not properly check the rule that service scripts must have a command
wireit/src/analyzer.ts
Lines 1529 to 1537 in 28cb48b
Very amusing comment.
Notably, a service script with an invalid dependency will properly throw
results in these two errors:
The text was updated successfully, but these errors were encountered: