Skip to content

Enabling ai co author by default#310226

Merged
dmitrivMS merged 2 commits intomainfrom
dear-alpaca
Apr 16, 2026
Merged

Enabling ai co author by default#310226
dmitrivMS merged 2 commits intomainfrom
dear-alpaca

Conversation

@cwebster-99
Copy link
Copy Markdown
Member

No description provided.

@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

📬 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

Copy link
Copy Markdown
Contributor

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 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

],
"scope": "resource",
"default": "off",
"default": "all",
Copy link

Copilot AI Apr 15, 2026

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

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)

@dmitrivMS dmitrivMS merged commit 7049f52 into main Apr 16, 2026
25 of 26 checks passed
@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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants