Repository navigation
Define storage for release note validation samples - #10596
Merged
Merged
Conversation
Document versioned, component-owned validation samples in dotnet/core and retain scratch projects for one-off compile checks. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 637615df-deba-4407-bf00-9a3bd4e569b5
danroth27
marked this pull request as draft
September 25, 2026 20:51
Keep upgrade coverage within a major release while avoiding copied scenarios between major versions. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 637615df-deba-4407-bf00-9a3bd4e569b5
danroth27
marked this pull request as ready for review
September 25, 2026 20:54
State that the fixtures verify release notes and do not replace officially documented product samples. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 637615df-deba-4407-bf00-9a3bd4e569b5
danroth27
requested review from
BillWagner,
KlausLoeffelmann,
SamMonoRT,
agocke,
baronfel,
davidortinau,
jeffhandley,
jongalloway,
kotlarmilos,
richlander and
subhajitm
and
a lite review from Copilot
September 25, 2026 21:00
Contributor
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
An unresolved moderate documentation conflict and a clarification nit remain.
Get a fresh assessment by requesting another Copilot review.
Review effort: Lite
Findings: 1
What changed in this PR
Defines storage and maintenance conventions for release-note validation samples, with updated breaking-change guidance.
Changes:
- Establishes per-major/component sample storage and lifecycle guidance.
- Clarifies ownership, expected results, artifacts, and scratch-project usage.
- Links breaking-change validation to maintained sample sets.
| File | Summary |
|---|---|
.github/skills/validate-code-samples/SKILL.md |
Adds sample storage and maintenance guidance; includes one moderate documentation conflict and one nit requiring clarification. |
.github/skills/release-notes/references/format-template.md |
Updates breaking-change guidance to reference maintained sample sets. |
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Avoid implying that committed sample content is exempt from normal repository checks. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 637615df-deba-4407-bf00-9a3bd4e569b5
Use the existing build-metadata.json as the SDK source of truth and delegate scoped installation to the official dotnet-install script. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 637615df-deba-4407-bf00-9a3bd4e569b5
Use fresh SDK directories and explicit version checks on Windows and POSIX; require build provenance to match the actual release-notes change set. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 637615df-deba-4407-bf00-9a3bd4e569b5
Use the product commit as the immutable change-set head and stop when the SDK and regenerated metadata cannot be aligned. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 637615df-deba-4407-bf00-9a3bd4e569b5
Verify the installed SDK matches build-metadata.json without requiring productCommit lineage or regeneration of release-notes artifacts. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 637615df-deba-4407-bf00-9a3bd4e569b5
Keep the required version and installation safeguards while letting the validation workflow read JSON with its available tools. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 637615df-deba-4407-bf00-9a3bd4e569b5
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 637615df-deba-4407-bf00-9a3bd4e569b5
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 637615df-deba-4407-bf00-9a3bd4e569b5
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 637615df-deba-4407-bf00-9a3bd4e569b5
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 637615df-deba-4407-bf00-9a3bd4e569b5
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 637615df-deba-4407-bf00-9a3bd4e569b5
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 637615df-deba-4407-bf00-9a3bd4e569b5
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 637615df-deba-4407-bf00-9a3bd4e569b5
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 637615df-deba-4407-bf00-9a3bd4e569b5
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 637615df-deba-4407-bf00-9a3bd4e569b5
jongalloway
approved these changes
Sep 26, 2026
jongalloway
approved these changes
Sep 26, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.



Summary
release-notes/<major>.0/samples/<component>/build-metadata.jsondotnet-installscriptbuild.sdk_versionrelease-notes/<major>.0/samples/README.mdFollow-up to #10516.
Validation
git diff --checkpassedreleases.mdblank-line error