Skip to content

Project Components permanent E2E boundary and preserve verifier candidate claims - #70271

Merged
PureWeen merged 4 commits into
dotnet:mainfrom
PureWeen:review-followup-1-e2e-boundary-and-packaging
Nov 4, 2026
Merged

PureWeen merged 4 commits into
dotnet:mainfrom
PureWeen:review-followup-1-e2e-boundary-and-packaging

Conversation

@PureWeen

@PureWeen PureWeen commented Nov 3, 2026 •

Copy link
Copy Markdown
Member

Project Components permanent E2E boundary and preserve verifier candidate claims

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

Preserve review claims and require correct Components test boundaries

Description

This PR follows #70250 and the 16-PR review validation tracked by #70231.

Two failures in that validation triggered this change.

Trigger 1: #70073 changed a valid review claim

In #70073 Arm G, the coordinator added “and circuit termination” to a worker finding.

The source evidence did not support that added effect.

The verifier returned DROP with dropBasis: unestablished for the combined claim.

The other three validation arms kept the original source-backed finding.

This PR tells the coordinator to preserve the worker's trigger, mechanism, and material effect.

The coordinator must not add an unsupported downstream effect.

Trigger 2: #70112 used the wrong permanent test boundary

The #70112 review examined reconnection behavior in CircuitManager.ts.

Its .test.ts tests mocked collaborators and did not exercise the complete producer-to-UI flow.

The Components review bundle did not include the permanent regression-test boundary.

This gap could hide a missing src/Components/test/E2ETest regression test.

This PR links that policy from BlazorComponentsGuidance.md.

prepare-review.cs now projects the policy into the Components worker bundle.

What changes

  1. The coordinator keeps provisional verifier claims faithful to the worker evidence.
  2. Components guidance includes the permanent regression-test boundary.
  3. Web.JS unit tests remain valid when the module contract is the final observable.
  4. Browser, circuit, reconnection, navigation, and interop flows require faithful end-to-end coverage.
  5. Manifest tests verify policy resolution, content, assignment, byte length, and hash.

Validation

Deterministic tests

  • PrepareReviewTests: 9 ran / 9 passed / 0 failed.
  • Adaptive validation fixtures: 1 ran / 1 passed / 0 failed.
  • Publication preflight fixtures: 1 ran / 1 passed / 0 failed.

The tests include red and green verification for the new policy projection.

Review behavior matrix

The Web.JS matrix ran eight cases with GPT-5.6 Sol and Claude Opus 5.5.

All eight cases passed.

Case Expected result Result
#70112 reconnection flow Report missing E2E boundary Both models reported the finding. The verifier returned KEEP.
#66275 historical reconnection flow Report missing E2E boundary Both models reported the finding.
#67660 structural DOM helper Allow focused unit tests Both models returned no boundary finding.
#66007 structural DOM with E2E coverage Allow existing coverage Both models returned no boundary finding.

Candidate packaging replay

The #70073 baseline added the unsupported circuit-termination effect.

The verifier dropped that combined claim.

The treatment preserved the source-backed renderer failure effect.

The verifier kept the corrected claim.

Relates to #70231.

Copilot AI balanced review requested due to automatic review settings November 3, 2026 17:01
@PureWeen
PureWeen requested review from a team, SamMonoRT and wtgodbe as code owners November 3, 2026 17:01

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 regression-test policy links and verifier-candidate guidance updates.

No open issues 🎉

What changed in this PR

This follow-up strengthens review tooling by including the Components permanent regression-test policy in review bundles and keeping verifier candidates faithful to workers’ source-backed claims.

Changes:

  • Links the permanent regression-test boundary and narrows the exemption to generic Microsoft.JSInterop library work outside Components browser or UI runtime paths.
  • Extends policy-link tests to resolve included links against repository files and check that the permanent boundary includes the E2E test location.
  • Instructs the coordinator not to append unsupported downstream consequences to verifier candidates.
File Description
docs/​BlazorComponentsGuidance.md Links the permanent regression-test policy and clarifies its scope.
.github/​skills/​review-pull-request/​tests/​PrepareReviewTests.cs Checks policy-link resolution and inclusion of the permanent E2E boundary.
.github/​skills/​review-pull-request/​SKILL.md Requires faithful preservation of source-backed candidate claims.

Review effort: Balanced

Copilot AI balanced review requested due to automatic review settings November 3, 2026 18:17

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 block the policy-bundling and verifier-candidate changes.

No open issues 🎉

Review effort: Balanced

Copilot AI balanced review requested due to automatic review settings November 3, 2026 19:01

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 are recorded for the candidate-packaging and regression-test guidance updates.

No open issues 🎉

Review effort: Balanced

@PureWeen PureWeen left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

No issues found at 4e574b3f5c5beecb45eaf338b0d273f29187ad1b.

The policy link resolves and is projected only into the Blazor Components worker assignment, the coordinator/verifier role boundary remains intact, and the added tests cover link resolution, manifest projection, assignment integrity, and the load-bearing prompt contract. Three independent reviewers with adversarial consensus examined the pinned PR diff and full source context; single-reviewer test-strength concerns were rejected after source-backed dispute review.

Test coverage: The changed contracts have focused deterministic coverage in PrepareReviewTests.cs. This review was source-only and did not rerun tests.

Prior review status: Three existing COMMENT reviews reported no issues, including one on this head; there are no existing inline review threads.

Copilot AI balanced review requested due to automatic review settings November 4, 2026 00:05

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 candidate-packaging guidance, regression-test policy clarification, or supporting test changes.

No open issues 🎉

Review effort: Balanced

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

Review summary - 95ab60692d30

No actionable defects found. Reviewed the three-file change against base/merge-base d12d02b1435efa91839d341afc78126ff8a86b06, including the linked Components policy, bundle producer/checker path, fixture setup and affected test bodies. This was a direct GPT-6.1 Sol source review, not a new multi-model replay or hosted review execution.

Assessment

  • The new policy link resolves to the existing src/Components/AGENTS.md#permanent-regression-test-boundary, which is unchanged from the target base. GuideLinks treats anchored Markdown links as delegated criteria, and bundle preparation resolves the section, writes its required-text artifact and assigns that artifact to the routed guide. The new integration test exercises PrepareAsync and CheckAsync, checks the real policy body, and verifies its worker-assignment path, byte length and hash.
  • The guidance preserves the lower-boundary allowance when a deterministic module contract is the final observable. It distinguishes that case from a browser/circuit/reconnection flow tested only through mocked collaborators, internal-state mutation or manual callback injection. The generic Microsoft.JSInterop library exception is explicitly scoped outside Web.JS and Components UI/browser-runtime work, consistent with the linked policy.
  • Preserving the worker's source-backed trigger, mechanism and material effect prevents the coordinator from inflating a candidate with untraced consequences. It does not remove independent source adjudication, contract checks or the verifier's corrected-anchor/repro rules.
  • The title and description match the implementation. The author-reported replay outcomes are useful context but were not independently reproduced in this round.

Prior review reconciliation

Checked review bodies, inline review comments and PR conversation comments. Existing reviews report no active issues; no outstanding error-level findings were found to reconcile. The previous human summary was on an older head; this assessment covers the current head.

Validation and evidence boundaries

Locally at the reviewed head:

  • node .github/workflows/tests/pull-request-review-adaptive-validation.test.mjs - passed, including 37 clarification-collection cases.
  • node .github/workflows/tests/pull-request-review-publication-preflight.test.mjs - passed, 46 cases.
  • git diff --check d12d02b1435efa91839d341afc78126ff8a86b06 95ab60692d302f52ed60e261e0ea9ae3fff76b04 - passed.
  • dotnet run --project .github/skills/review-pull-request/scripts/PrepareReview.Tests.csproj -- -method PrepareReviewTests.ClassifiesEveryRepositoryRelativeMarkdownLinkInEachRoutedGuide -method PrepareReviewTests.ProjectsRealBlazorComponentsGuidancePermanentBoundaryPolicyIntoWorkerManifest -method PrepareReviewTests.IncludesPoliciesLinkedByDifferentlyNamedRoutedGuide -method PrepareReviewTests.ProjectsDisjointPerGuideWorkerInputsWithTrustedMetadata -method PrepareReviewTests.CurrentRoutingTablePreservesExistingGuideSelection - could not execute locally, exit 155: the repository-pinned SDK was unavailable. No claim of a local C# pass.

Separately verified the CI fixture run belongs to this exact head. Its raw log records 116 producer tests, zero errors, failures, skips or unrun cases, plus successful JavaScript workflow fixtures. Required checks reported passing. Broader product pipelines and live skill evaluations were skipped, not passing coverage.

Visual/multimodal boundary: no UI changes or supplied screenshot/video evidence are present. No browser/device execution or visual-runtime validation was performed. No new model replay was launched, including the non-GPT arms described by the author.

Conclusion: no code-change requests from this round. Overall safety confidence remains low for shared review-agent infrastructure: deterministic bundle coverage is established, but the behavioral accuracy of the new instruction wording was not independently replayed here. This is a COMMENT-only review, not formal approval.

@PureWeen
PureWeen enabled auto-merge (squash) November 4, 2026 11:50
@PureWeen
PureWeen disabled auto-merge November 4, 2026 11:51
@PureWeen
PureWeen merged commit 1c94b15 into dotnet:main Nov 4, 2026
20 checks passed
@PureWeen
PureWeen temporarily deployed to copilot-pat-pool November 4, 2026 19:56 — with GitHub Actions Inactive
@PureWeen
PureWeen temporarily deployed to copilot-pat-pool November 4, 2026 19:56 — with GitHub Actions Inactive
@PureWeen
PureWeen temporarily deployed to copilot-pat-pool November 4, 2026 19:57 — with GitHub Actions Inactive
@PureWeen
PureWeen temporarily deployed to copilot-pat-pool November 4, 2026 19:59 — with GitHub Actions Inactive
@PureWeen
PureWeen temporarily deployed to copilot-pat-pool November 4, 2026 20:00 — with GitHub Actions Inactive
@github-actions

github-actions Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

✅ No documentation PR was created.

Confidence that documentation is needed: 3%

No docs needed: the PR changes only internal repository automation (review-pull-request skill and tests) and contributor guidance in the aspnetcore repo.

Documentation surfaces considered

  • Conceptual article: Not required — Changes limited to repo review skill, its tests, and internal contributor guidance; no public behavior.
  • Migration guidance: Not required — No upgrade action for users.
  • Breaking change: Not required — No compatibility impact; internal tooling only.

This branch was previously deployed

1 inactive deployment
copilot-pat-pool — 95ab6069 Deployed Nov 4, 2026 by PureWeen via conclusion #193
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.

4 participants