Skip to content

chore: Exclude autotest artifacts from VSIX package#1659

Merged
wenytang-ms merged 1 commit into
microsoft:mainfrom
wenytang-ms:fix/exclude-autotest-artifacts-from-vsix
Jun 9, 2026
Merged

chore: Exclude autotest artifacts from VSIX package#1659
wenytang-ms merged 1 commit into
microsoft:mainfrom
wenytang-ms:fix/exclude-autotest-artifacts-from-vsix

Conversation

@wenytang-ms

@wenytang-ms wenytang-ms commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Exclude E2E test fixtures, test plans, and generated test results from VSIX packaging.
  • Prevent test-only Maven/JUnit fixture metadata and screenshots from being distributed with the extension.

Validation

  • npx @vscode/vsce@latest package -o vscode-java-pack-exclude-check.vsix
  • Inspected the generated VSIX and confirmed it contains no extension/test-fixtures/, extension/test-plans/, extension/test-results/, or JUnit entries.

The VSIX package was unintentionally including E2E test plans, fixtures, and local test results. Exclude those directories so test-only Maven fixtures and generated screenshots are not distributed with the extension.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown

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 tightens VSIX packaging by excluding end-to-end (E2E) test assets and generated test outputs so they aren’t shipped to extension users.

Changes:

  • Exclude test-fixtures/ from VSIX contents via .vscodeignore.
  • Exclude test-plans/ from VSIX contents via .vscodeignore.
  • Exclude test-results/ (generated artifacts) from VSIX contents via .vscodeignore.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@wenytang-ms wenytang-ms changed the title Exclude autotest artifacts from VSIX package chore: Exclude autotest artifacts from VSIX package Jun 9, 2026
@wenytang-ms wenytang-ms merged commit c2d9d29 into microsoft:main Jun 9, 2026
52 checks passed
@wenytang-ms wenytang-ms deleted the fix/exclude-autotest-artifacts-from-vsix branch June 9, 2026 07:00
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