Skip to content

Add AI-assisted issue reproduction via label - #86022

Merged
akhera99 merged 5 commits into
dotnet:mainfrom
akhera99:add_reproduction_action
Oct 19, 2026
Merged

akhera99 merged 5 commits into
dotnet:mainfrom
akhera99:add_reproduction_action

Conversation

@akhera99

@akhera99 akhera99 commented Oct 12, 2026 •

Copy link
Copy Markdown
Member

Adds an agentic workflow that investigates open issues labeled ai-repro and comments with a minimal reproduction, execution evidence, or specific missing information. Clearly distinguishes verified reproductions from unverified candidates without attempting a fix.

Microsoft Reviewers: Open in CodeFlow

@akhera99
akhera99 requested a review from a team as a code owner October 12, 2026 17:36
Copilot AI balanced review requested due to automatic review settings October 12, 2026 17:36
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
2 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

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.

🟡 Changes recommended

The workflow requests unnecessary pull-request write access and names the output tool incorrectly.

1 open finding
What changed in this PR

Adds a label-triggered agentic workflow to reproduce Roslyn issues without proposing fixes.

Changes:

  • Restricts execution to authorized users and open ai-repro issues.
  • Produces one evidence-based reproduction comment.
  • Adds the generated workflow lockfile.

Holistic assessment: Focused design, but tool naming and excessive permissions need correction.

File Description
.github/​workflows/​ai-issue-repro.md Defines the reproduction agent and safety constraints.
.github/​workflows/​ai-issue-repro.lock.yml Generated executable workflow.

🧠 Review effort: Balanced

Comment thread .github/workflows/ai-issue-repro.md Resolved
Copilot AI balanced review requested due to automatic review settings October 12, 2026 17:56

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.

🔵 Needs a closer look

The security-sensitive workflow processes untrusted issue content and executes unrestricted shell commands, warranting final human review despite its sandboxing controls.

0 open findings

1 resolved since last review

🧠 Review effort: Balanced

Comment thread .github/workflows/ai-issue-repro.md Outdated
- dotnet

engine: copilot
model: gpt-5-mini

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I'll be curious to see if this model is strong enough to reproduce issues. Do we have example usages? I'd bias towards 6-luna, if available.

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.

Yeah, I wanted to see what would happen with the cheapest possible model first. Figured it would be easy enough to upgrade if it's not proving useful.

Copilot AI balanced review requested due to automatic review settings October 14, 2026 20:51
@akhera99
akhera99 requested a review from davidwengier October 14, 2026 20:59

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.

🔵 Needs a closer look

Credential isolation and queued-run handling need correction, followed by human validation of end-to-end execution and comment publishing.

2 open findings

🧠 Review effort: Balanced

Comment thread .github/workflows/ai-issue-repro.md Resolved

@JoeRobich JoeRobich left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Worth a shot!

Regenerate the workflow with gh-aw v0.92.0 so agent and threat-detection sandboxes do not inherit host telemetry credentials.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 7e08e9da-cfff-4be0-8bdf-f4e6c555a98f
Copilot AI balanced review requested due to automatic review settings October 19, 2026 16:27

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.

🔵 Needs a closer look

Community-report access needs correction, and execution isolation and publishing require end-to-end human validation.

3 open issues

Review effort: Balanced

Comment thread .github/workflows/ai-issue-repro.md Resolved
Copilot AI balanced review requested due to automatic review settings October 19, 2026 16:50

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.

🔵 Needs a closer look

Running issue-derived reproductions and publishing results requires human validation of sandbox boundaries and end-to-end workflow behavior.

No open issues 🎉

3 resolved since last review

Review effort: Balanced

@akhera99
akhera99 merged commit bd31e3f into dotnet:main Oct 19, 2026
3 of 5 checks passed
@dotnet-policy-service dotnet-policy-service Bot added this to the Next milestone Oct 19, 2026
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.

5 participants