Skip to content

fix(cli): correct GitLab output paths and line numbers - #1792

Merged
josefpihrt merged 5 commits into
mainfrom
fix/cli/gitlab-output
Aug 8, 2026
Merged

fix(cli): correct GitLab output paths and line numbers#1792
josefpihrt merged 5 commits into
mainfrom
fix/cli/gitlab-output

Conversation

@josefpihrt

Copy link
Copy Markdown
Collaborator

Summary

  • GitLab Code Quality output now uses repository-relative paths with forward slashes
  • Line numbers are 1-based to match GitLab expectations

Fixes #1744

Test plan

  • dotnet build src/CommandLine/CommandLine.csproj

Made with Cursor

Use repository-relative paths with forward slashes and 1-based line
numbers in GitLab Code Quality reports.

Fixes #1744

Co-authored-by: Cursor <cursoragent@cursor.com>
Comment thread ChangeLog.md Outdated
Comment thread src/CommandLine/Json/DiagnosticGitLabJsonSerializer.cs Outdated
Comment thread src/CommandLine/Commands/AnalyzeCommand.cs Outdated
@josefpihrt
josefpihrt merged commit a874c1f into main Aug 8, 2026
17 checks passed
@josefpihrt
josefpihrt deleted the fix/cli/gitlab-output branch August 8, 2026 20:55
This was referenced Aug 16, 2026
This was referenced Aug 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Wrong line numbers and absolute paths in GitLab output

1 participant