Improve goanalysis issue-cache reuse for well-typed packages #6677
|
I would like to contribute a small goanalysis cache improvement. Currently, when a lint run contains typechecking / ill-typed package errors, goanalysis issue-cache saves can be skipped for the run. In large repositories this means packages that were successfully analyzed are not reused by later runs, even though only a subset of packages had errors. The proposed change is to save issue-cache entries for packages that were successfully analyzed, while continuing to skip packages with typechecking or analysis errors. The PR would also add Planned scope:
Out of scope for the first PR:
Local validation so far: I also attempted |
Replies: 1 comment 1 reply
|
Thank you but I will decline the proposal. This will only create unwanted side effects for a minor edge-case. |
Thank you but I will decline the proposal.
This will only create unwanted side effects for a minor edge-case.