Add filename to graph report - #4984
Conversation
leonardehrenfried
left a comment
There was a problem hiding this comment.
I don't think we want to add mutable state to the issue store. @t2gran and @vpaturet can advise how to implement this without it.
There are two possibilities that I can think of:
- pass the file name down the call stack
- make a custom implementation of the issue store that has a fixed file name, instantiate it per file and merge the results with the main one afterwards
This would be a good topic for Gitter, the dev meeting or a GH issue.
|
Please resolve the conflicts. |
t2gran
left a comment
There was a problem hiding this comment.
After looking at this, I think the approach is ok. But, I have a few suggestions for improvment.
…e the source, rename filename to currentSource, rename methods to indicate the intention, add javadoc to the renamed methods
… that it delegates the type and message to the wrapped issue
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## dev-2.x #4984 +/- ##
=============================================
+ Coverage 64.08% 64.13% +0.05%
- Complexity 13592 13617 +25
=============================================
Files 1675 1676 +1
Lines 66255 66418 +163
Branches 7149 7164 +15
=============================================
+ Hits 42459 42598 +139
- Misses 21422 21435 +13
- Partials 2374 2385 +11
... and 22 files with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
Summary
adds the file path to the dataImportIssue-message-output of the graph report to localize errors more easily