You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Review agent] Pass PR description and linked issue context to review-candidate-verifier to avoid false intent-downgrade questions #70335
Is your feature request related to a problem? Please describe the problem.
Summary
During review of #70304 (Renderer.Dispose / DisposeAsync early return in Renderer.HandleComponentException when _rendererIsDisposed is set, fixing #66322), review-candidate-verifier returned DOWNGRADE (downgradeKind: "intent", confidence: question) asking whether ignoring ComponentBase.DispatchExceptionAsync during synchronous renderer disposal was intended.
Root cause
Although prepare-review.cs fetches pull.json (which links #66322 and states that late DispatchExceptionAsync calls during/after renderer disposal should be safely ignored) and the PR includes unit test DispatchExceptionAsync_DuringRendererDisposal_DoesNotThrow, the coordinator only passed candidate claims, diff paths, and docs/*Guidance.md paths to review-candidate-verifier. Under review-candidate-verifier.agent.md's rule that a PR-added test alone establishes PR intent rather than a binding contract, any deliberate bug fix that changes edge-case behavior without an existing baseTip doc explicitly requiring the new behavior is downgraded to intent (question) when the verifier lacks the linked issue / PR intent context.
Describe the solution you'd like
Include pull.json (and linked issue summary when available in the frozen bundle) in the verifier input contract and distinguish addressing the linked bug report's target scenario from unmentioned collateral behavior changes.
The PR description explicitly stated: "This intentionally stops automatically including host-assembly exports and removes the fallback to the main assembly when no assembly name is supplied."
Because pull.json was not passed to review-candidate-verifier (and WebWorkerClient.cs:8,17-18 sets DefaultAssemblyName = typeof(WebWorkerClient).Assembly.GetName().Name! and resolves assemblyName ?? DefaultAssemblyName), the reviewer published [UNRESOLVED] Host-assembly [JSExport] methods may no longer be callable when WebWorkerClient is supplied by a separate worker library (P2 · confidence: unresolved), questioning the exact intentional behavior change stated in the PR description (see also the Copilot app auto-reply under @maraf in r4548341925).
Additional Evidence (dotnet/aspnetcore#70534 at dc94c971302ec3d144c72428b141a1202af9f3e1)
During review of dotnet/aspnetcore#70534 (dc94c971302ec3d144c72428b141a1202af9f3e1, fixing dotnet/aspnetcore#19638, "Two-way databinding + CaptureUnmatchedValues + missing EventCallback"), two independent review runs evaluated the same candidate on src/Components/Components/src/Reflection/ComponentProperties.cs:160-164 (if (parameter.RawValue is IEventCallback { IsBinding: true }) calling ThrowForUnknownIncomingParameterName) — whether throwing when an incoming unmatched parameter has IsBinding = true breaks wrapper components that declare [Parameter(CaptureUnmatchedValues = true)] without declaring the bound callback parameter themselves and forward @attributes to a child component — and reached opposite verifier outcomes:
Run without pull.json / linked-issue context in the verifier assignment (KEEP, P2verified): While .github/skills/review-pull-request/SKILL.md:286-287 passes "the exact assigned issue, API, base-tip, or primary-repository contract paths" when assigned, prepare-review.cs bundles pull.json (which references #19638) without bundling the linked issue body, and this run did not pass pull.json to review-candidate-verifier. Even though the throw at ComponentProperties.cs:160-164 executes during the outer capture component's own SetParameterProperties (before any @attributes splatting occurs) — the exact entry path exercised by ComponentBindingTest.MissingBoundCallbackWithCapture_Throws (src/Components/Components/test/ComponentBindingTest.cs:39-52) and the raw-forwarding negative assertion at ComponentBindingTest.cs:415-417, alongside the positive declared/read forwarding tests at ComponentBindingTest.cs:149-168, 179-231, 380-414 (which strip IsBinding via callback.WithoutBinding() at src/Components/Components/src/ParameterValue.cs:27) — the verifier treated the capture-and-splat wrapper narrative as an untested input (intent: "n/a", contract: "n/a") and returned decision: "KEEP" (confidence: verified).
Run citing linked issue #19638 as contract (DROP, contradictedLink: "contract"): A second run on the same commit cited linked issue #19638 (which establishes the reported missing-callback scenario on a component declaring CaptureUnmatchedValues = true) as a contract (review-candidate-verifier.agent.md:65) and returned decision: "DROP" (dropBasis: "contradicted", contradictedLink: "contract").
Concrete Addition to the Solution
Bundle linked-issue metadata alongside pull.json and pass both to review-candidate-verifier (.github/skills/review-pull-request/scripts/prepare-review.cs and .github/skills/review-pull-request/SKILL.md:274-289): Ensure every verifier run receives the same frozen PR description (pull.json) and linked-issue context rather than depending on ad-hoc coordinator assignment.
Evaluate intent at the changed-line entry point before treating downstream wrapper narratives as untested inputs (.github/agents/review-candidate-verifier.agent.md:72-77): Clarify that when a candidate's throw or effect at changedLine (ComponentProperties.cs:160-164) occurs on the outer component before the candidate's downstream forwarding narrative is reached, a PR-added head test that exercises that exact entry condition and asserts the throw (ComponentBindingTest.cs:39-52, 415-417) establishes intent (and, when backed by the assigned issue #19638, confirms the intended behavior rather than an untested KEEP).
Activity
github-actions commentedon Nov 6, 2026
Triage Summary
Area:
area-infrastructure(review agent tooling:review-candidate-verifier,prepare-review.cs)Type:
Task(agent input-contract change; no shipped product behavior)Potential Duplicates
Notes
PureWeen commentedon Nov 12, 2026
Additional live campaign example where the PR description directly answered the reviewer's concern:
43043310215, inline commentr4539519917onsrc/ProjectTemplates/Web.ProjectTemplates/content/BlazorWebWorker-CSharp/wwwroot/dotnet-web-worker.js:8):pull.jsonwas not passed toreview-candidate-verifier(andWebWorkerClient.cs:8,17-18setsDefaultAssemblyName = typeof(WebWorkerClient).Assembly.GetName().Name!and resolvesassemblyName ?? DefaultAssemblyName), the reviewer published[UNRESOLVED] Host-assembly [JSExport] methods may no longer be callable when WebWorkerClient is supplied by a separate worker library(P2 · confidence: unresolved), questioning the exact intentional behavior change stated in the PR description (see also the Copilot app auto-reply under@marafinr4548341925).PureWeen commentedon Nov 12, 2026
Additional Evidence (
dotnet/aspnetcore#70534atdc94c971302ec3d144c72428b141a1202af9f3e1)During review of
dotnet/aspnetcore#70534(dc94c971302ec3d144c72428b141a1202af9f3e1, fixingdotnet/aspnetcore#19638, "Two-way databinding + CaptureUnmatchedValues + missing EventCallback"), two independent review runs evaluated the same candidate onsrc/Components/Components/src/Reflection/ComponentProperties.cs:160-164(if (parameter.RawValue is IEventCallback { IsBinding: true })callingThrowForUnknownIncomingParameterName) — whether throwing when an incoming unmatched parameter hasIsBinding = truebreaks wrapper components that declare[Parameter(CaptureUnmatchedValues = true)]without declaring the bound callback parameter themselves and forward@attributesto a child component — and reached opposite verifier outcomes:pull.json/ linked-issue context in the verifier assignment (KEEP,P2verified): While.github/skills/review-pull-request/SKILL.md:286-287passes "the exact assigned issue, API, base-tip, or primary-repository contract paths" when assigned,prepare-review.csbundlespull.json(which references#19638) without bundling the linked issue body, and this run did not passpull.jsontoreview-candidate-verifier. Even though the throw atComponentProperties.cs:160-164executes during the outer capture component's ownSetParameterProperties(before any@attributessplatting occurs) — the exact entry path exercised byComponentBindingTest.MissingBoundCallbackWithCapture_Throws(src/Components/Components/test/ComponentBindingTest.cs:39-52) and the raw-forwarding negative assertion atComponentBindingTest.cs:415-417, alongside the positive declared/read forwarding tests atComponentBindingTest.cs:149-168, 179-231, 380-414(which stripIsBindingviacallback.WithoutBinding()atsrc/Components/Components/src/ParameterValue.cs:27) — the verifier treated the capture-and-splat wrapper narrative as an untested input (intent: "n/a",contract: "n/a") and returneddecision: "KEEP"(confidence: verified).#19638ascontract(DROP,contradictedLink: "contract"): A second run on the same commit cited linked issue#19638(which establishes the reported missing-callback scenario on a component declaringCaptureUnmatchedValues = true) as acontract(review-candidate-verifier.agent.md:65) and returneddecision: "DROP"(dropBasis: "contradicted",contradictedLink: "contract").Concrete Addition to the Solution
pull.jsonand pass both toreview-candidate-verifier(.github/skills/review-pull-request/scripts/prepare-review.csand.github/skills/review-pull-request/SKILL.md:274-289): Ensure every verifier run receives the same frozen PR description (pull.json) and linked-issue context rather than depending on ad-hoc coordinator assignment.intentat the changed-line entry point before treating downstream wrapper narratives as untested inputs (.github/agents/review-candidate-verifier.agent.md:72-77): Clarify that when a candidate's throw or effect atchangedLine(ComponentProperties.cs:160-164) occurs on the outer component before the candidate's downstream forwarding narrative is reached, a PR-added head test that exercises that exact entry condition and asserts the throw (ComponentBindingTest.cs:39-52, 415-417) establishesintent(and, when backed by the assigned issue#19638, confirms the intended behavior rather than an untestedKEEP).