Skip to content

Document Assumed internal assertions in diagnostic authoring skill - #15481

Merged
OvesN merged 1 commit into
dotnet:mainfrom
OvesN:dev/veronikao/document-assumed-in-skill
Nov 6, 2026
Merged

OvesN merged 1 commit into
dotnet:mainfrom
OvesN:dev/veronikao/document-assumed-in-skill

Conversation

@OvesN

@OvesN OvesN commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Related issue(s):

None.

Context

The diagnostic authoring skill does not explain internal assertions, and its blanket localization rules can encourage treating MSBuild invariant failures as user-facing diagnostics.

Changes Made

  • Document Assumed for MSBuild-internal invariants, including InternalErrorException, Debug/Release behavior, non-localized messages, and conditional interpolated string handlers.
  • Keep project, command-line, and public API input validation separate from internal assertions.
  • Scope existing quality, severity, resource, and localization guidance to user-facing diagnostics, and update skill metadata so assertion-related tasks can discover it.

@OvesN
OvesN requested a review from a team as a code owner November 6, 2026 15:40
Copilot AI balanced review requested due to automatic review settings November 6, 2026 15:40
@OvesN
OvesN temporarily deployed to copilot-pat-pool November 6, 2026 15:40 — with GitHub Actions Inactive
@OvesN
OvesN temporarily deployed to copilot-pat-pool November 6, 2026 15:40 — with GitHub Actions Inactive
@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

🔍 Skill Validator Results

✅ All checks passed

Scope Checked
Skills 1
Agents 0
Total 1
Severity Count
--- ---:
❌ Errors 0
⚠️ Warnings 0
ℹ️ Advisories 0

Summary

Level Finding
ℹ️ Found 1 skill(s)
ℹ️ [authoring-errors-and-warnings] 📊 authoring-errors-and-warnings: 1,519 BPE tokens [chars/4: 1,691] (detailed ✓), 14 sections, 5 code blocks
ℹ️ ✅ All checks passed (1 skill(s))
Full validator output ```text Found 1 skill(s) [authoring-errors-and-warnings] 📊 authoring-errors-and-warnings: 1,519 BPE tokens [chars/4: 1,691] (detailed ✓), 14 sections, 5 code blocks ✅ All checks passed (1 skill(s)) ```

@OvesN
OvesN temporarily deployed to copilot-pat-pool November 6, 2026 15:41 — with GitHub Actions Inactive
@OvesN
OvesN enabled auto-merge (squash) November 6, 2026 15:45

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 were identified in the documentation-only clarification of internal assertions versus user-facing diagnostics.

No open issues 🎉

What changed in this PR

This documentation-only PR clarifies the distinction between MSBuild internal assertions and user-facing diagnostics in the diagnostic authoring skill.

Changes:

  • Documents Assumed failure behavior, non-localized messages, and conditional interpolated string handlers.
  • Keeps input validation separate from internal assertions and scopes localization guidance to user-facing diagnostics.
  • Updates skill metadata to make assertion-related guidance discoverable.
File Description
.github/​skills/​authoring-errors-and-warnings/​SKILL.md Adds internal assertion guidance and clarifies the scope of diagnostic rules.

Review effort: Balanced

@OvesN
OvesN temporarily deployed to copilot-pat-pool November 6, 2026 15:48 — with GitHub Actions Inactive
@OvesN
OvesN temporarily deployed to copilot-pat-pool November 6, 2026 15:50 — with GitHub Actions Inactive

@github-actions github-actions Bot 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.

✅ 24/24 dimensions clean — no findings.

Warning

Firewall blocked 3 domains

The following domains were blocked by the firewall during workflow execution:

  • api.github.com
  • github.com
  • raw.githubusercontent.com

[!TIP]
api.github.com is blocked because GitHub API access uses the built-in GitHub tools by default. Instead of adding api.github.com to network.allowed, use tools.github.mode: gh-proxy for direct pre-authenticated GitHub CLI access without requiring network access to api.github.com:

tools:
  github:
    mode: gh-proxy

See GitHub Tools for more information on gh-proxy mode.

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "api.github.com"
    - "github.com"
    - "raw.githubusercontent.com"

See Network Configuration for more information.

Generated by Expert Code Review (on open) for #15481 · copilot · gpt56 · 383 AIC · ⌖ 0.522 AIC · ⊞ 20.8K

@OvesN
OvesN temporarily deployed to copilot-pat-pool November 6, 2026 15:50 — with GitHub Actions Inactive
@OvesN
OvesN merged commit 3df416b into dotnet:main Nov 6, 2026
21 checks passed

This branch was previously deployed

1 inactive deployment
copilot-pat-pool — 290d249b Deployed Nov 6, 2026 by OvesN via conclusion #1115
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