Conversation
Done by passing a context to the loading of the configured environment. This will prevent interactive terminals being launched when the server shutsdown. Currently targeting the PR branch in GAF. Change before merge.
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
PR Reviewer Guide 🔍
|
| defer referenceBranchScanWaitGroup.Done() | ||
| isSingleFileScan := pathToScan != folderPath | ||
| scanTypeCtx := ctx2.NewContextWithDeltaScanType(ctx2.Clone(ctx, context.Background()), ctx2.Reference) | ||
| scanTypeCtx := ctx2.NewContextWithDeltaScanType(ctx, ctx2.Reference) |
There was a problem hiding this comment.
We need clone here as we have a deferred cancel of ctx in L226. This means, we need to decouple the reference scan context from the parent, as the reference scan is running async.
|
I spoke with Basti, I am going to wait for his big LS changes, then I will jump on his context enriching in |
Description
Done by passing a context to the loading of the configured environment.
This will prevent interactive terminals being launched when the server shutsdown.
Currently targeting the PR branch in GAF (snyk/go-application-framework#564). Change before merge.
Checklist
make generate)make lint-fix)