Skip to content

docs: encourage resilient overlays - #19856

Merged
Christopher Co (christopherco) merged 1 commit into
microsoft:4.0from
tobiasb-ms:tobiasb-ms/overlay-token-guidance
Oct 31, 2026
Merged

Christopher Co (christopherco) merged 1 commit into
microsoft:4.0from
tobiasb-ms:tobiasb-ms/overlay-token-guidance

Conversation

@tobiasb-ms

Copy link
Copy Markdown
Contributor

Summary

Add a general overlay-authoring principle to the Copilot instructions: minimize dependence on unrelated source details while retaining enough context to target changes unambiguously. Avoid prescribing token-only matching or another specific technique.

Follows Reuben’s feedback in #19813 (comment) and #19752 (comment).

Validation

  • pre-commit run --files .github/copilot-instructions.md passed (EditorConfig and offline link checks; Python checks skipped as inapplicable).
  • git diff --cached --check passed before committing.
  • Documentation only; no RPM build required.

Guide agents to minimize coupling to unrelated source details while
retaining enough context to target changes unambiguously. This avoids
brittle overlays without prescribing a particular matching technique.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings October 30, 2026 23:02

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues remain for the overlay-authoring guidance update.

No open issues 🎉

What changed in this PR

Adds general overlay-authoring guidance to help Azure Linux customizations tolerate upstream changes without prescribing a specific matching technique.

Changes:

  • Minimize dependence on unrelated source content and formatting.
  • Retain enough context to target changes unambiguously.
File Description
.github/​copilot-instructions.md Adds a repository hygiene rule for resilient, precisely targeted overlays.

Review effort: Balanced

@tobiasb-ms

Copy link
Copy Markdown
Contributor Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
2 pipeline(s) were filtered out due to trigger conditions.

@tobiasb-ms
Tobias Brick (tobiasb-ms) marked this pull request as ready for review October 31, 2026 01:14
@tobiasb-ms
Tobias Brick (tobiasb-ms) requested a review from a team as a code owner October 31, 2026 01:14
@christopherco

Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
2 pipeline(s) were filtered out due to trigger conditions.

@christopherco
Christopher Co (christopherco) merged commit 4defdd4 into microsoft:4.0 Oct 31, 2026
8 checks passed
@tobiasb-ms
Tobias Brick (tobiasb-ms) deleted the tobiasb-ms/overlay-token-guidance branch October 31, 2026 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants