BETA — Сайт у режимі бета-тестування. Можливі помилки та зміни.
UK | EN |
LIVE
Технології 🇺🇸 США

VS Code inserting 'Co-Authored-by Copilot' into commits regardless of usage

Hacker News indrora 1 переглядів 31 хв читання
/ vscode Public

Conversation

@cwebster-99 Copy link Copy Markdown Member

@cwebster-99 cwebster-99 commented Apr 15, 2026

No description provided.

@cwebster-99 Enabling ai co author by default cfcebf4 @cwebster-99 cwebster-99 requested review from Copilot and dmitrivMS April 15, 2026 21:22 @cwebster-99 cwebster-99 marked this pull request as ready for review April 15, 2026 21:22 @vs-code-engineering Copy link Copy Markdown Contributor

vs-code-engineering Bot commented Apr 15, 2026 • edited Loading

Uh oh!

There was an error while loading. Please reload this page.

📬 CODENOTIFY

The following users are being notified based on files changed in this PR:

@lszomoru

Matched files:

  • extensions/git/package.json
  • extensions/git/src/repository.ts
Copilot started reviewing on behalf of cwebster-99 April 15, 2026 21:23 View session @vs-code-engineering vs-code-engineering Bot assigned cwebster-99 Apr 15, 2026 Copilot AI reviewed Apr 15, 2026 View reviewed changes Copy link Copy Markdown Contributor

Copilot AI 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.

Pull request overview

This PR changes the Git extension’s git.addAICoAuthor setting so that AI co-author trailers are enabled by default, making the default behavior automatically add a Co-authored-by trailer when AI-generated code contributions are detected.

Changes:

  • Updates git.addAICoAuthor configuration default from "off" to "all".
Show a summary per file
File Description
extensions/git/package.json Switches the default value of git.addAICoAuthor to enable AI co-author trailers by default.

Copilot's findings

  • Files reviewed: 1/1 changed files
  • Comments generated: 1
Comment thread extensions/git/package.json
],
"scope": "resource",
"default": "off",
"default": "all",
Copy link

Copilot AI Apr 15, 2026

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.

The configuration schema default was changed to "all", but the runtime fallback in extensions/git/src/repository.ts still calls config.get('addAICoAuthor', 'off'). This is now out of sync and can lead to unexpected behavior in contexts where the contributed configuration defaults aren't loaded (e.g., some tests/hosts), and it makes the intended default unclear. Update the runtime fallback to match the schema default (or omit the fallback so the contributed default is used).

Suggested change
"default": "all",
"default": "off",
Copilot uses AI. Check for mistakes. @github-actions Copy link Copy Markdown Contributor

github-actions Bot commented Apr 15, 2026 • edited Loading

Uh oh!

There was an error while loading. Please reload this page.

Screenshot Changes

Base: 3c1b53dd Current: eec3f9cf

Changed (3)

chat/aiCustomizations/aiCustomizationManagementEditor/McpBrowseMode/Light
Before After
before after
editor/inlineCompletions/other/JumpToHint/Dark
Before After
before after
agentSessionsViewer/NeedsInput/Light
Before After
before after

blocks-ci screenshots changed

Replace the contents of test/componentFixtures/blocks-ci-screenshots.md with:

Updated blocks-ci-screenshots.md <!-- auto-generated by CI — do not edit manually --> #### editor/codeEditor/CodeEditor/Dark ![screenshot](https://hediet-screenshots.azurewebsites.net/images/cb32a3e854b5734fe5aaca2318f2e0a42ee821b05ea97883ea42c5ba95edb3c3) #### editor/codeEditor/CodeEditor/Light ![screenshot](https://hediet-screenshots.azurewebsites.net/images/42624fbba5e0db7f32c224b5eb9c5dd3b08245697ae2e7d2a88be0d7c287129b)
@cwebster-99 Updating the fallback 35a83af dmitrivMS dmitrivMS approved these changes Apr 16, 2026 View reviewed changes Hide details View details @dmitrivMS dmitrivMS merged commit 7049f52 into main Apr 16, 2026 25 of 26 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@dmitrivMS dmitrivMS deleted the dear-alpaca branch April 16, 2026 01:27 @vs-code-engineering vs-code-engineering Bot added this to the 1.117.0 milestone Apr 16, 2026 @rgs2151 Copy link Copy Markdown

rgs2151 commented Apr 25, 2026

Why in the world would you default this! 😡

@anonymni-hlasatel Copy link Copy Markdown

anonymni-hlasatel commented Apr 25, 2026

Wth.. makeing this default behaviour and not notifying users is crazy

@flying-sheep Copy link Copy Markdown Contributor

flying-sheep commented Apr 26, 2026

please revert until it actually works.

I have "chat.disableAIFeatures": true and co-authored by copilot still gets inserted into most commits. This is absolutely unacceptable.

@edenchazard Copy link Copy Markdown

edenchazard commented Apr 26, 2026

Any explanation for the choice to make this default?

Now I know why random commits of mine were suddenly being "co-authored by copilot" despite not using copilot with that commit. I just don't get the point of this at all.

@jamiejcole Copy link Copy Markdown

jamiejcole commented Apr 27, 2026 • edited Loading

Uh oh!

There was an error while loading. Please reload this page.

This is absolutely ridiculous and should not at all be defaulted. Especially when not using Copilot whatsoever.

@marxoffice Copy link Copy Markdown

marxoffice commented Apr 27, 2026 • edited Loading

Uh oh!

There was an error while loading. Please reload this page.

So the logic here was: "Let's inject our own name into every commit, even for users who never used Copilot, and ship it as a silent default." Who thought that was okay? It's vandalism. Shameful.

Update: I can personally confirm this: on multiple recent commits I hand-wrote every commit message and never touched Copilot while coding, yet there it is — Co-authored-by: Copilot copilot@github.com — injected anyway. At the very least, people who write their own commit messages in the vscode git UI deserve WYSIWYG. That's the bare minimum of respect for the user.

@ringoz Copy link Copy Markdown

ringoz commented Apr 28, 2026

I am not using copilot, I have "chat.disableAIFeatures" and co-authored by copilot still gets inserted into commits.

NoiceBroice referenced this pull request in ThomasSnowden37/Harmoniq-Charts Apr 29, 2026 @ThomasSnowden37 added admin profiles 5c22231 Co-authored-by: Copilot <copilot@github.com> @cloudyluna Copy link Copy Markdown

cloudyluna commented May 2, 2026

what the hell

@gabereiser Copy link Copy Markdown

gabereiser commented May 2, 2026

I guess when no one uses your service, you have to pretend people are by adding it to commit messages without their knowledge. Whether they used it or not. This is exactly why Microsoft can’t be trusted with your code, your commits, or your SDLC.

@0xku Copy link Copy Markdown

0xku commented May 2, 2026

I was warming up to zed. Stuff like this leaves me no choice but switch completely.

@gokaygurcan Copy link Copy Markdown

gokaygurcan commented May 2, 2026

sigh.. lemme add "git.addAICoAuthor": "off" in my config file and get it done with.

thank you micros~1.

@GerardoSuarezRamos Copy link Copy Markdown

GerardoSuarezRamos commented May 2, 2026

Cursor handles this differently — there's no automatic attribution because the workflow assumes you're reviewing every diff before commit. The author is whoever ran git commit, full stop. The Microsoft approach feels off because it conflates "I used the editor" with "I co-authored this," which devalues the signal that Co-Authored-by is supposed to carry.
The deeper issue: if every commit made in any IDE with AI features carries a Co-Authored-by tag, the metadata becomes noise. We already have a hard time tracking real authorship in PR-heavy workflows; auto-tagging makes it worse.

@snehesht Copy link Copy Markdown

snehesht commented May 2, 2026 • edited Loading

Uh oh!

There was an error while loading. Please reload this page.

Why force this on unsuspecting users, I guess Zed 1.0 will see better adoption.

Congrats, you've made it to HN1 front page and not in a good light if I might add.

Footnotes

  1. https://news.ycombinator.com/item?id=47989883

@whitequark Copy link Copy Markdown

whitequark commented May 2, 2026

Quick question: what the fuck is wrong with you?

@edenchazard edenchazard mentioned this pull request May 2, 2026 Default git.addAICoAuthor to off #313725 Open @opticaldrive Copy link Copy Markdown

opticaldrive commented May 2, 2026 • edited Loading

Uh oh!

There was an error while loading. Please reload this page.

This is dumb?
Microslop.....

Oh well. Time to figure out how to properly use vim and zed .

@SpriteOvO Copy link Copy Markdown

SpriteOvO commented May 2, 2026

When I see this, I realize it's time to move to Zed completely, at this perfect timing -- they just released version 1.0, and best of all, it has a single option to disable all AI features globally.

Goodbye VSC.

@FlykeSpice Copy link Copy Markdown

FlykeSpice commented May 2, 2026 • edited Loading

Uh oh!

There was an error while loading. Please reload this page.

Microsoft flushing all the reputation they tried to recover by "embracing" the open-source community down the toilet.

We were the frogs giving the scorpion Microslop another chance riding on our backs, but they never let go of their true nature.

@opticaldrive Copy link Copy Markdown

opticaldrive commented May 2, 2026

Zed is very nice and we should all just move to it now.

@claudiug Copy link Copy Markdown

claudiug commented May 2, 2026

just use https://zed.dev/

@TeriyakiBomb Copy link Copy Markdown

TeriyakiBomb commented May 2, 2026

Jesus, what is this?! It's times like this I'm so glad I dumped VSCode years ago.

Zed is good, Neovim is good, Helix is good, Kakoune is good. There are choices people. Sack this shite application off.

@slackline Copy link Copy Markdown

slackline commented May 2, 2026

Perhaps a good reason to seek out a different IDE.

FOSS software is a good choice in this regard. I use Emacs myself.

@woctezuma Copy link Copy Markdown

woctezuma commented May 2, 2026

🍿

@ArmanJR Copy link Copy Markdown

ArmanJR commented May 2, 2026

back in 2009 I used windows to buy a software engineering book from amazon. go ahead add Co-Authored-by Bill Gates to my PRs. come on i'm waiting.

@mateolafalce Copy link Copy Markdown

mateolafalce commented May 2, 2026

Average PM 🤡

@yzqzss Copy link Copy Markdown

yzqzss commented May 2, 2026

Uninstalling, good bye, I'll never switch back to the M$ slop editor.

@ikidd Copy link Copy Markdown

ikidd commented May 2, 2026

Do they give you the lobotomy before your initial job orientation at Microsoft, or after? I wonder if you have to use up vacation days for the recovery time.

@alxndr42 Copy link Copy Markdown

alxndr42 commented May 2, 2026

Slopya Nadella likes this.

@Atulin Copy link Copy Markdown

Atulin commented May 2, 2026

What in the actual fuck?

@lisanna-dettwyler Copy link Copy Markdown

lisanna-dettwyler commented May 2, 2026

This is batshit insane

@ImKventis Copy link Copy Markdown

ImKventis commented May 2, 2026

misplay

@ItsMrCube Copy link Copy Markdown

ItsMrCube commented May 2, 2026

This is insanity, please revert

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters Show hidden characters Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

20 participants

@cwebster-99 @rgs2151 @anonymni-hlasatel @flying-sheep @edenchazard @jamiejcole @marxoffice @ringoz @cloudyluna @gabereiser @0xku @gokaygurcan @GerardoSuarezRamos @snehesht @whitequark @opticaldrive @SpriteOvO @FlykeSpice @claudiug @TeriyakiBomb Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Поділитися

Схожі новини