Skip to content

427847 dont return comments only

Andras Herczeg requested to merge 427847-dont-return-comments-only into main

What does this merge request do and why?

This MR removes code completions and generations if they contain comments only. We use tree-sitter to identify comments.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Merge request checklist

  • Tests added for new functionality. If not, please raise an issue to follow up.
  • Documentation added/updated, if needed.

Closes gitlab-org/gitlab#427847 (closed)

Edited by Andras Herczeg

Merge request reports