Skip to content

[Blazor] Clarify internal JS/.NET compatibility during servicing - #69706

Merged
kotlarmilos merged 1 commit into
dotnet:mainfrom
PureWeen:pureween-servicing-architecture-accuracy
Nov 16, 2026
Merged

kotlarmilos merged 1 commit into
dotnet:mainfrom
PureWeen:pureween-servicing-architecture-accuracy

Conversation

@PureWeen

@PureWeen PureWeen commented Oct 7, 2026 •

Copy link
Copy Markdown
Member

[Blazor] Clarify internal JS/.NET compatibility during servicing

  • 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.

Clarify the existing servicing qualification for internal Blazor protocols.

Description

Append one sentence to the JavaScript and .NET Integration section of src/Components/ARCHITECTURE.md: within a servicing branch for a released major version, keep the internal boundary compatible unless the change is explicitly approved.

The existing architecture statement already correctly limits the compatibility exemption to different major framework versions. This is a useful clarification, not a correction of that statement or a change in shipping policy. Readers of the architecture overview can now see the servicing limit without consulting agent-specific instructions.

The qualification is established in src/Components/AGENTS.md, lines 96–103, on main at 851622243f8aad5d72636142ec2414be966c2449. It was introduced by merged PR #68979 (c6ff925c6da53dbb6b8e0a2033d5915a2ae07e30, September 2, 2026), before PR #69147 added the architecture overview (a2ac63c3a56d2304948ef90f9af2a13f61270b0e, September 10, 2026). The same qualification was present when that overview was introduced; this does not apply newer policy retroactively to older source.

The cross-major internal-protocol exemption, recommendation to update both sides together, and public .NET/JavaScript contract exclusions are unchanged. No product code, public APIs, agent guidance, diagrams, or other sections are changed.

Validation:

  • git diff --check — passed before commit.
  • Node assertions against frozen base 851622243f8aad5d72636142ec2414be966c2449 and head 5640f19f091c07a4385c3ad638c6041a58c95daf — passed: worktree bytes match the head; exactly one sentence appended; the servicing scope and explicit-approval exception match the target's AGENTS wording; the cross-major exemption and public-contract exclusions remain unchanged; only the assigned architecture file changed.
  • git diff --check 851622243f8aad5d72636142ec2414be966c2449 5640f19f091c07a4385c3ad638c6041a58c95daf — passed.
  • npm_config_loglevel=error npm_config_fetch_retries=0 npm_config_fetch_timeout=20000 npx --yes --registry=https://packagefeedproxy.microsoft.io/npm/ --package markdownlint-cli@0.45.0 markdownlint src/Components/ARCHITECTURE.md — passed. The configured feed originally returned HTTP 401 and the public npm registry retry failed with ENOTCONN; the available Microsoft package proxy resolved the tooling blocker. No repository dependency/configuration files changed.
  • npm_config_loglevel=error npx --offline --yes --registry=https://packagefeedproxy.microsoft.io/npm/ --package markdownlint-cli@0.45.0 markdownlint src/Components/ARCHITECTURE.md — passed on repeat from cache. The existing Markdownlint workflow targets docs/**/*.md, not this source-area document.
  • Two independent reviewers validated frozen base 851622243f8aad5d72636142ec2414be966c2449 and head 5640f19f091c07a4385c3ad638c6041a58c95daf and each returned ACCEPT, with no blocking or non-blocking findings. Each independently critiqued the sentence and inspected source, area guidance, servicing policy, and history; neither received the other's verdict. Both identified this as a useful clarification of an established policy, not correction of a contradiction. No source corrections were required.
  • Runtime/browser tests are not applicable to this prose-only clarification. Validation is documentation/source-level only; no claim is made about runtime servicing combinations or approval authority beyond the existing written policy.

Fixes: N/A — no linked issue; this is a small documentation clarification, not a new feature or policy proposal.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 760f8ca0-68fc-498e-b1b2-23811dd04fbc
@github-actions github-actions Bot added the area-blazor Includes: Blazor, Razor Components label Oct 7, 2026
@PureWeen
PureWeen marked this pull request as ready for review October 7, 2026 21:22
@PureWeen
PureWeen requested a review from a team as a code owner October 7, 2026 21:22
Copilot AI balanced review requested due to automatic review settings October 7, 2026 21:22

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 change accurately matches existing Components guidance without altering policy or runtime behavior.

0 open findings

What changed in this PR

Clarifies Blazor’s internal JS/.NET compatibility policy for servicing releases.

Changes:

  • Documents that servicing branches must preserve the internal boundary unless explicitly approved.
File Description
src/​Components/​ARCHITECTURE.md Adds the established servicing compatibility qualification.

🧠 Review effort: Balanced


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

@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Looks like this PR hasn't been active for some time and the codebase could have been changed in the meantime.
To make sure no conflicting changes have occurred, please rerun validation before merging. You can do this by leaving an /azp run comment here (requires commit rights), or by simply closing and reopening.

@dotnet-policy-service dotnet-policy-service Bot added the pending-ci-rerun When assigned to a PR indicates that the CI checks should be rerun label Oct 15, 2026

@kubaflo kubaflo 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.

Current-head review — 5640f19f091c07a4385c3ad638c6041a58c95daf

No new actionable finding identified in this one-sentence clarification. I compared the surrounding architecture boundary with src/Components/AGENTS.md's “JavaScript and .NET compatibility boundary”: the servicing restriction and explicit-approval exception match the existing policy, while the cross-major internal-boundary exemption and public-API exclusions remain intact. This is a policy clarification, not runtime proof that mixed asset versions work.

Prior feedback: The previous review raised no concrete defect; the complete review, inline-comment, and issue-comment surfaces contain no additional defect to reconcile.

Validation and limits: Documentation/source review only; no runtime tests or mixed-version experiment performed. The frozen head has failed Build Analysis/Build Insights and Linux Mono Components E2E checks, alongside successful CoreCLR E2E/template/lint checks. I have not investigated their raw Azure logs, so I neither attribute those failures to this sentence nor dismiss them as unrelated. Skipped/neutral jobs provide no passing evidence, and this COMMENT does not establish merge readiness.

Scope: GPT-6.1 Sol; no model campaign and no visual/browser validation (no changed visual artifact).

@kotlarmilos

Copy link
Copy Markdown
Member

/ba-g md change

@kotlarmilos
kotlarmilos merged commit b3a1375 into dotnet:main Nov 16, 2026
22 of 24 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

✅ No documentation PR was created.

Confidence that documentation is needed: 3%

No docs needed: internal architecture doc clarification only, with no public or observable behavior change.

Documentation surfaces considered

  • Conceptual article: Not required — Only src/Components/ARCHITECTURE.md changed, clarifying existing internal servicing policy; no user-visible behavior.
  • Migration guidance: Not required — No upgrade action for users.
  • Breaking change: Not required — No compatibility impact; prose-only change to an internal source doc.

This branch was previously deployed

1 inactive deployment
copilot-pat-pool — 5640f19f Deployed Nov 16, 2026 by kotlarmilos via conclusion #336
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-blazor Includes: Blazor, Razor Components pending-ci-rerun When assigned to a PR indicates that the CI checks should be rerun

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants