Skip to content

[typespec-python] Remove generated test files from main#46996

Merged
iscai-msft merged 1 commit into
Azure:mainfrom
iscai-msft:remove-gen-from-main
May 19, 2026
Merged

[typespec-python] Remove generated test files from main#46996
iscai-msft merged 1 commit into
Azure:mainfrom
iscai-msft:remove-gen-from-main

Conversation

@iscai-msft
Copy link
Copy Markdown
Contributor

Summary

Remove the generated test files (eng/tools/emitter/gen/azure/ and eng/tools/emitter/gen/unbranded/) from the main branch. These files now live exclusively on the typespec-python-generated-tests branch.

Prerequisites

⚠️ Merge #46995 first — that PR updates the regeneration workflow to push to the dedicated branch. If this PR is merged first, the workflow will still try to create PRs to main.

What's kept\n\n- eng/tools/emitter/gen/README.md — documents the branch location\n- eng/tools/emitter/gen/template/ — README template used by the workflow\n\n## What's removed\n\n- eng/tools/emitter/gen/azure/ — 63MB of generated branded test code\n- eng/tools/emitter/gen/unbranded/ — generated unbranded test code\n\nThis eliminates false security reports triggered by generated code on the default branch.

Remove eng/tools/emitter/gen/azure/ and eng/tools/emitter/gen/unbranded/
from the main branch. These generated files now live exclusively on the
'typespec-python-generated-tests' branch, which is maintained by the
regeneration workflow.

The gen/README.md and gen/template/ are kept as they are needed by the
workflow and contain no generated code.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings May 19, 2026 19:06
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.

Copilot wasn't able to review this pull request because it exceeds the maximum number of files (300). Try reducing the number of changed files and requesting a review from Copilot again.

@iscai-msft iscai-msft merged commit 34a96ed into Azure:main May 19, 2026
21 checks passed
@iscai-msft iscai-msft deleted the remove-gen-from-main branch May 19, 2026 23:11
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