Skip to content

Add Components Server logging guidance - #69738

Merged
javiercn merged 1 commit into
mainfrom
javiercn-components-server-logging
Oct 9, 2026
Merged

javiercn merged 1 commit into
mainfrom
javiercn-components-server-logging

Conversation

@javiercn

@javiercn javiercn commented Oct 9, 2026

Copy link
Copy Markdown
Member

Add Components Server logging guidance

  • You've read the Contributor Guide and Code of Conduct.
  • You've included unit or integration tests for your change, where applicable.
  • You've included inline docs for your change, where applicable.
  • There's an open issue for the PR that you are making. If you'd like to propose a new feature or change, please open an issue to discuss the change or find an existing issue.

Add scoped guidance for Components Server and Endpoints logging.

Description

Adds .github/instructions/components.server.instructions.md, automatically scoped to src/Components/Server/** and src/Components/Endpoints/**. Links it from the Components instructions for server behavior implemented in shared code.

The guidance requires tracing client-driven logging paths before changing severity, keeping invalid-client-input failures out of alert-oriented events, separating application failures from shared catch-all diagnostics, and testing both failure categories when logging behavior changes.

Related to #52598 and #69693. This documentation-only PR does not implement or close the original issue, and does not change runtime behavior or the general Copilot instructions.

Validation: git diff --check passed before committing. Runtime tests were not run because only instruction files changed.

Copilot AI balanced review requested due to automatic review settings October 9, 2026 09:52
@javiercn
javiercn requested review from a team and wtgodbe as code owners October 9, 2026 09:52

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

The documentation-only changes are correctly scoped, internally consistent, and complete.

0 open findings

What changed in this PR

Adds scoped logging guidance for Components Server and Endpoints without changing runtime behavior.

Changes:

  • Defines severity, failure-classification, and testing guidance for server logging.
  • Links the guidance from the broader Components instructions.
File Description
.github/​instructions/​components.server.instructions.md Adds scoped server and endpoint logging guidance.
.github/​instructions/​components.instructions.md Links shared server behavior to the new guidance.

🧠 Review effort: Balanced


💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

@javiercn
javiercn enabled auto-merge (squash) October 9, 2026 11:24
@javiercn
javiercn merged commit 0adf95d into main Oct 9, 2026
14 checks passed
@javiercn
javiercn deleted the javiercn-components-server-logging branch October 9, 2026 11:24
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 12.0-preview1 milestone Oct 13, 2026
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