这是indexloc提供的服务,不要输入任何密码
Skip to content

Copilot: Remove the formatting instructions, as they're confusing CCR. #20128

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

aschackmull
Copy link
Contributor

The instructions about formatting was confusing CCR quite a lot. Firstly they caused it to regain confidence in editing QL effectively undoing the instruction above about not reviewing QL (example: #20121 (comment)). Secondly, it mistook the notes about formatting to be relevant for CCR (example: #20127 (comment))

@aschackmull aschackmull added the no-change-note-required This PR does not need a change note label Jul 25, 2025
@Copilot Copilot AI review requested due to automatic review settings July 25, 2025 13:03
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR removes confusing formatting instructions for CodeQL files from the Copilot instructions to improve code review behavior. The formatting instructions were causing conflicts with existing guidance about not reviewing CodeQL code and were being misinterpreted as relevant to code review rather than code editing.

  • Removes the "When editing .ql and .qll files" section that contained autoformatting instructions
  • Eliminates confusion between code editing and code review instructions
  • Maintains the existing guidance about reviewing .ql/.qll files only for typos and comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-change-note-required This PR does not need a change note
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant