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
Extension command additions can be missed when registration and constructor changes are in different files. Repeated reviews can also request an experiences spec again for contracts already covered by earlier threads.
The review procedure now traces base/head command registrations across files, records each contract item, and matches earlier threads even when they are grouped, unmarked, resolved, or outdated. Merged findings must name every covered item so later reviews can recognize that coverage. Findings must be anchored on changed diff lines; unchanged constructors are inspected only for context. The companion skill version is bumped to 1.3.
Seven new eval tasks include six contract-review regressions covering cross-file command registration, multiple independent commands, command-tree-preserving refactors, grouped existing threads, partial thread coverage with a new flag, and explicit item coverage in merged findings, plus a JSON-extraction regression for leading diagnostics, trailing logs, nested objects, and escaped strings.
Validation: the full 15-task suite passed after the initial review fixes. Subsequent targeted duplicate-matching and merged-finding evals passed. waza check, spelling, and whitespace checks passed.
Azure Pipelines:
27 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
The evaluation fixtures require an out-of-scope service-API thread match and allow comments with incorrect file/side anchors or missing experiences-spec requests to pass.
This PR strengthens azd’s extension contract-review tooling to catch commands registered separately from their constructors while avoiding false positives for command-tree-preserving refactors.
Changes:
Adds cross-file tracing of base/head registrations, constructors, and parent commands.
Expands per-contract coverage tracking and the parent reviewer’s completion audit.
Adds three regression evaluations and bumps the companion skill to version 1.3.
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
The evaluation cases lack changed-line coordinates and a registration-only scenario, leaving inline-anchor behavior and command-path tracing through unchanged source untested.
No open issues 🎉
2 previously missed issues
In code that hasn't changed since last review
Test tracing command paths through unchanged declarations
The prompt supplies the resolved command path and places the constructor in an added file, so it does not exercise tracing into unchanged source. Add a registration-only case that supplies the unchanged constructor and parent declarations without spelling out the resolved path. Assert the full command path in the resulting comment.
This refactor case supplies no changed-line coordinates, although the harness says tasks provide them. That leaves the zero-comment check untested against valid inline anchors for the extracted registrations. Add LEFT coordinates for the removed calls and RIGHT coordinates for the replacement call and helper.
The reason will be displayed to describe this comment to others. Learn more.
Warning
Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.
The reason will be displayed to describe this comment to others. Learn more.
Warning
Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
The shared grader’s greedy extraction fails when output contains an earlier diagnostic object, and the regression checks only the task-local selector rather than exercising that shared extraction path.
The reason will be displayed to describe this comment to others. Learn more.
Warning
Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
A balanced but invalid trailing JSON-like candidate can make JSON.parse throw, rejecting an earlier valid review instead of continuing to the previous candidate.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Extension command additions can be missed when registration and constructor changes are in different files. Repeated reviews can also request an experiences spec again for contracts already covered by earlier threads.
The review procedure now traces base/head command registrations across files, records each contract item, and matches earlier threads even when they are grouped, unmarked, resolved, or outdated. Merged findings must name every covered item so later reviews can recognize that coverage. Findings must be anchored on changed diff lines; unchanged constructors are inspected only for context. The companion skill version is bumped to 1.3.
Seven new eval tasks include six contract-review regressions covering cross-file command registration, multiple independent commands, command-tree-preserving refactors, grouped existing threads, partial thread coverage with a new flag, and explicit item coverage in merged findings, plus a JSON-extraction regression for leading diagnostics, trailing logs, nested objects, and escaped strings.
Validation: the full 15-task suite passed after the initial review fixes. Subsequent targeted duplicate-matching and merged-finding evals passed.
waza check, spelling, and whitespace checks passed.Fixes #10821