-
Notifications
You must be signed in to change notification settings - Fork 62
Solving missing line param on gitlab codequality #298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
This PR currently undoes some of my requested changes on #294. Please go back through those and ensure they are all done. In addition, I can tell just by looking that the given test will fail. Please run the tests and fix the failure. |
|
Hello, @braydonk. |
|
I still don't see evidence that the author of this PR actually ran the tests (I know they will fail by reading). In addition, old comments I made on the PR were undone in this reopen. |
|
Hi @braydonk , the local test output: marciovieira@MacBook-Pro-de-Marcio yamlfmt % make test |
|
Regarding the comments you mentioned in the other PR, I believe I've resolved them; I'm not understanding what the points in question are. |
The particular comment that was undone was referring the
Thanks for the test output. I'm sorry for sounding accusatory, I have to be cautious with the influx of AI Slop PRs. The problem is that your local branch is not properly based on latest main. I approved the GitHub Actions on your latest commit so you can see the failure related to the code error I saw. |
|
@braydonk can you review again please? |
|
2 things:
|
I used |
d128552 to
32ee3ef
Compare
|
@braydonk Rebased |
|
@braydonk can you review again? Still Waiting ur answer |
braydonk
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there any way to validate that this new codequality result will be properly loaded by Gitlab? I don't use Gitlab so I don't know and have no way of verifying.
braydonk
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Almost there, one new comment and one comment remains unaddressed.
internal/gitlab/testdata/changed_line/all_lines_changed/formatted.yaml
Outdated
Show resolved
Hide resolved
|
@braydonk can you review again please? |
A compliant report need to output lines on "location" object to work properly as doc in link show us: https://docs.gitlab.com/ci/testing/code_quality/
This commit write de "lines" property properly. If "location" object don't output the line, the gitlab show a message saying "Failed to load Code Quality report"
Issue: #272