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 your feature request related to a problem? Please describe.
When PR is created.
Codecov randomly reports indirect coverage changes.
relating to following two files.
I can't determine what's cause these coverage problems on CI environment.
Simple solution is to add following attribute to methods that cause coverage diff.
[ExcludeFromCodeCoverage(Justification = "When running CI Build. Codecov report Indirect changes.")]
The text was updated successfully, but these errors were encountered:
GitUtility.cs related indirect changes are suppressed by explicitly set ExcludeFromCodeCoverage.
ArrayDictionary.cs related indirect changes seems occurred by parallel execution.
If set maxParallelism to 1. This branch is not called.
On GitHub hosted runner. there are 2 CPU core. so race condition occurred occasionally.
On local environment. double-checked locking's lock wait is frequently occurs.
Thought it is not spend large lock-wait times. It might be better to optimize ArrayDictionary.cs code to lock-free.
Is your feature request related to a problem? Please describe.
When PR is created.
Codecov randomly reports indirect coverage changes.
relating to following two files.
-> It seems test is executed under
detached head
source randomly?-> It seems related test is not called or failed collect coverage data?
Describe the solution you'd like
I can't determine what's cause these coverage problems on CI environment.
Simple solution is to add following attribute to methods that cause coverage diff.
The text was updated successfully, but these errors were encountered: