HNHacker News
TopNewBestAskShowJobs

dmitriv

221 karma · joined May 2, 2026

submissionscomments
dmitriv··on VS Code inserting 'Co-Authored-by Copilot' into commits regardless of usage
FYI - we have posted update on the subject with more details, links and analysis here: https://github.com/microsoft/vscode/issues/314311

Hopefully this answers some more of the questions raised here. It also incorporates a lot of feedback from this thread with respect to next steps (thank you!).

dmitriv··on VS Code inserting 'Co-Authored-by Copilot' into commits regardless of usage
The fact that non-AI changes are attributed to Copilot is a bug. The intent was to allow customers to add attribution of AI-generated code. As with any bug, it was not intetional.
dmitriv··on VS Code inserting 'Co-Authored-by Copilot' into commits regardless of usage
Thank you so much for explaining the exact reason I did it!

I am reading all pings from GitHub on VS Code and this was just turning into a stream of spam that wasn't adding much new information.

dmitriv··on VS Code inserting 'Co-Authored-by Copilot' into commits regardless of usage
I did both, didn't I? :-)
dmitriv··on VS Code inserting 'Co-Authored-by Copilot' into commits regardless of usage
Correct.
dmitriv··on VS Code inserting 'Co-Authored-by Copilot' into commits regardless of usage
I really did create a new account to respond :)
dmitriv··on VS Code inserting 'Co-Authored-by Copilot' into commits regardless of usage
I think this is a good point - perhaps there should be some commit-time UI which would let the user make the choice. Thanks for the suggestion!
dmitriv··on VS Code inserting 'Co-Authored-by Copilot' into commits regardless of usage
First comment does not sound constructive - are you interested in my opinion on (n)vim?

I am not a legal, so can't comment on legal things. However, I have already responded elsewhere here that this feature has nothing to do with licensing or ownership and was added for those that want the attribution. I understand the desire to see anything Microsoft as bad and evil, but we are really just trying to make a better experience.

I'll respond to the third one, thanks!

dmitriv··on VS Code inserting 'Co-Authored-by Copilot' into commits regardless of usage
Agreed, fixed disableAiFeatures in my PR: https://github.com/microsoft/vscode/pull/313931 Will work on making it better later.
dmitriv··on VS Code inserting 'Co-Authored-by Copilot' into commits regardless of usage
The change was about helping teams ensure AI-generated code is attributed in commits - nothing to do with copyrights and the like. If you don't have to take my word for it - query VS Code repo for changes and issues that went into implementing this and you will see.
dmitriv··on VS Code inserting 'Co-Authored-by Copilot' into commits regardless of usage
Sorry about that, it's being reverted: https://github.com/microsoft/vscode/pull/313931
dmitriv··on VS Code inserting 'Co-Authored-by Copilot' into commits regardless of usage
Switched back to opt-in here: https://github.com/microsoft/vscode/pull/313931
dmitriv··on VS Code inserting 'Co-Authored-by Copilot' into commits regardless of usage
That's ok :-)
dmitriv··on VS Code inserting 'Co-Authored-by Copilot' into commits regardless of usage
Thanks. Done here: https://github.com/microsoft/vscode/pull/313931
dmitriv··on VS Code inserting 'Co-Authored-by Copilot' into commits regardless of usage
It would be tricky, yes, since it depends on core editor functionality which is not exposed through the API.
dmitriv··on VS Code inserting 'Co-Authored-by Copilot' into commits regardless of usage
I don't refuse - what would you like to ask?
dmitriv··on VS Code inserting 'Co-Authored-by Copilot' into commits regardless of usage
Correct, this was the ask.
dmitriv··on VS Code inserting 'Co-Authored-by Copilot' into commits regardless of usage
Good feedback, there needs to be a more explicit opt-in into this for teams that want it. FWIW nobody's performance here will improve from having this metric :-)
dmitriv··on VS Code inserting 'Co-Authored-by Copilot' into commits regardless of usage
It is the middle of the night and I am responding. Anything specific you'd like me to respond to?
dmitriv··on VS Code inserting 'Co-Authored-by Copilot' into commits regardless of usage
Agreed on both points. Having it shown before going into the commit would let the developer decide whether they want it. #2 is fixed in my PR.
dmitriv··on VS Code inserting 'Co-Authored-by Copilot' into commits regardless of usage
I am reverting it because there are bug in the feature and it obviously does not work as expected. Any feedback is important, HN or not.
dmitriv··on VS Code inserting 'Co-Authored-by Copilot' into commits regardless of usage
Fair point. We did catch it internally in testing (as we use VS Code for all our work, so some folks did stumble on it), but I think we underestimated the impact and should do a better job at that.
dmitriv··on GitHub Copilot silently inserts itself as a co-author
Here you go: https://github.com/microsoft/vscode/pull/313931
dmitriv··on VS Code inserting 'Co-Authored-by Copilot' into commits regardless of usage
There are customers who would like to see attribution on changes where AI contributed (companies, users, etc). True, that's not everyone, but you can query our repo for the issues for which this feature was implemented.

The rationale I suppose is those customers what to be more careful with code that was contributed by AI.

HTH

dmitriv··on GitHub Copilot silently inserts itself as a co-author
Thanks for the PR, I'll work on getting this in.
dmitriv··on VS Code inserting 'Co-Authored-by Copilot' into commits regardless of usage
If what you described would make it to our PR queue, it would definitely not pass the gates.

The idea was to track AI-only changes and add the trailer when such changes were detected AND the setting was enabled. Obviously, we didn't want to attribute all changes to AI. There is a bug in change detection (which slipped through testing), which led to even non-AI changes being tracked. And thus we have this problem.

The PR linked here wasn't even implementing the feature, it was changing the default for the setting.

dmitriv··on VS Code inserting 'Co-Authored-by Copilot' into commits regardless of usage
Thanks. I guess...
dmitriv··on VS Code inserting 'Co-Authored-by Copilot' into commits regardless of usage
I didn't. I have locked the comments on a closed PR, and many of those comments were not constructive.
dmitriv··on VS Code inserting 'Co-Authored-by Copilot' into commits regardless of usage
I'm here, what would you like to know?
dmitriv··on VS Code inserting 'Co-Authored-by Copilot' into commits regardless of usage
I'm here in case you have something to say to me directly.
Page 1 of 2Next →