Skip to content

chore: remove snapshot generation from copilot-instructions.md#8415

Merged
cameronmeissner merged 1 commit intomainfrom
cameissner/remove-snapshot-instructions
Apr 28, 2026
Merged

chore: remove snapshot generation from copilot-instructions.md#8415
cameronmeissner merged 1 commit intomainfrom
cameissner/remove-snapshot-instructions

Conversation

@cameronmeissner
Copy link
Copy Markdown
Contributor

What this PR does / why we need it:

removes snapshot generation instructions from copilot base prompt since we no longer have snapshots/testdata

Which issue(s) this PR fixes:

Fixes #

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

Removes outdated “run make generate to regenerate snapshot test data” guidance from the repository’s Copilot instruction prompt, aligning the prompt with the claimed removal of snapshot/testdata workflows.

Changes:

  • Deleted the snapshot/testdata regeneration instruction from .github/copilot-instructions.md.

Comment on lines 26 to 28
[parts](./parts/) serves both AgentBaker Service and VHD build. AgentBaker service and VHDs are coupled because of this shared component. When building VHD, packer maps and renames scripts from [parts](./parts/) depending on the OS / versions. The mappings can be found at [packer](./vhdbuilder/packer/).

> **IMPORTANT**: When making changes to files in the `parts` or `pkg` directories, you must run `make generate` afterward to regenerate the snapshot test data. This ensures consistency between the code and tests and prevents regressions.

Windows uses a different folder [cse](./staging/cse/windows/) for almost the same purpose. There are subtle differences as windows CSEs can be downloaded as a zip file during provisioning time due to restrictions on the file size on Windows system, while for linux based systems the cse/custom data are dropped in during provisioning time.
Copy link

Copilot AI Apr 28, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change removes the snapshot/testdata guidance here, but the same instruction still exists in other repo guidance (e.g., custom-instructions/repo/.github/copilot-instructions.md, README.md, AGENTS.md). If snapshot testdata is truly gone, those references should be updated too; otherwise Copilot/user-facing docs will be inconsistent and the PR may not fully achieve its stated goal (removing it from the Copilot base prompt).

Copilot uses AI. Check for mistakes.
@cameronmeissner cameronmeissner merged commit 8fab8ac into main Apr 28, 2026
24 checks passed
@cameronmeissner cameronmeissner deleted the cameissner/remove-snapshot-instructions branch April 28, 2026 17:33
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