Line-specific information API
Problem to solve
Linters, specs, security tests, all display information specific to one of more lines. This should be visible when you look at any particular file in GitLab, but isn't now.
Further details
Code coverage in files is one of the most requested features. This is towards showing that, among other things.
Proposal
An API that allows you to attach any information to any particular line or lines of any file, or diff (this should work in MR)
This would allow our internal tools, but also external tools, to report directly in files which line does or doesn't meet particular criteria, is problematic, or otherwise worthy highlighting.
On top of files, you should be able to control what information is highlighted (e.g. which lines are blue/green/red). By clicking on any line with information, you should be able to see all warnings / messages / information for that line.
This includes:
- code quality
- code coverage
- security warnings
- test failure
- linter information
What does success look like, and how can we measure that?
TBD
(If no way to measure success, link to an issue that will implement a way to measure this)