Skip to content

fix(vscuse): Auto-fix Sample_Copilot_Connection_Local_Debug (progress 12→35 steps, not a plan issue) - #16714

Closed
Tian Yuan (xiaolang124) wants to merge 3 commits into
devfrom
auto-fix/Sample_Copilot_Connection_Local_Debug/2026-09-09
Closed

Tian Yuan (xiaolang124) wants to merge 3 commits into
devfrom
auto-fix/Sample_Copilot_Connection_Local_Debug/2026-09-09

Conversation

@xiaolang124

Copy link
Copy Markdown
Contributor

VscUse Auto-Fix Results

Plan: Sample_Copilot_Connection_Local_Debug
Status: 🔍 NOT A PLAN ISSUE (AI diagnosis after 4 attempt(s))
Initial Report: Link
Final Report: Link

Iteration Summary

# Fix Applied Result Report
1 Corrected the Copilot connector page title assertion to match the visible headin ❌ Failed Report
2 Changed the failed Copilot connector assertion to target the exact visible READM ❌ Failed Report
3 Verified the Copilot connector title assertion passes with the visible casing; a ❌ Failed Report
4 NOT_PLAN_ISSUE: The corrected Copilot connector title assertion passes; the curr 🔍 Not a plan issue

AI Diagnosis

🔍 This failure is NOT caused by the test plan. The AI identified an external issue:

The corrected Copilot connector title assertion passes; the current run is blocked by external port 53000 already being occupied, preventing Teams debug launch and the expected sign-in page from opening.

👉 Action needed: Investigate the root cause above. No plan changes will fix this.

How to Review

  • Each commit represents one fix attempt for plans/Sample_Copilot_Connection_Local_Debug.json
  • Compare the initial report with the final report to verify the fix
  • Check that coordinate/dhash changes are reasonable for the current VS Code layout

Changes Made to Test Plan

.../plans/Sample_Copilot_Connection_Local_Debug.json                | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
View diff
diff --git a/packages/tests/vscuse/vscode-test-cases/plans/Sample_Copilot_Connection_Local_Debug.json b/packages/tests/vscuse/vscode-test-cases/plans/Sample_Copilot_Connection_Local_Debug.json
index 2cdbee6..a946da2 100644
--- a/packages/tests/vscuse/vscode-test-cases/plans/Sample_Copilot_Connection_Local_Debug.json
+++ b/packages/tests/vscuse/vscode-test-cases/plans/Sample_Copilot_Connection_Local_Debug.json
@@ -141,7 +141,7 @@
       "agent": "assertion",
       "tool": "",
       "parameters": {},
-      "description": "@assertion the page title contains 'Copilot connector app'",
+      "description": "@assertion 'Getting Started with Copilot connector App' is visible",
       "content_refs": [],
       "timeout": 30,
       "retry_count": 0,
@@ -215,7 +215,7 @@
         "x": 294,
         "y": 21
       },
-      "description": "Click the “+\"  browser tab in Microsoft Teams  to open the new page",
+      "description": "Click the \u201c+\"  browser tab in Microsoft Teams  to open the new page",
       "content_refs": [],
       "timeout": 30,
       "retry_count": 0,
@@ -526,4 +526,4 @@
     "step_868e410e": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCAMABAADASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmq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B7GtI05SV0hG19nh/54x/98ij7PD/zxj/75FSVEbm3W6W2M
... (truncated, see commit diff for full changes)

Generated by vscuse-auto-fix.yml | model: gpt-5.6-sol

…ssertion to match the visible heading’s exact `App` casing.
…on to target the exact visible README heading instead of the VS Code page/window title.
…on passes with the visible casing; added a post-authentication relaunch sequence to shared group `plan_r_0930_083113` because Teams lost the app-specific debug URL and opened generic Chat instead of the Add/Open dialog.
@github-actions

github-actions Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

❌ VscUse Test Plan — Tests failure

Why these tests: Selected 10 impacted test plan(s) changed in this PR (no product code modified).

Branch diff: auto-fix/Sample_Copilot_Connection_Local_Debug/2026-09-09dev

Results: ✅ 2 passed · ❌ 8 failed (of 10 plans)

Plans run:

  • Feature_Simple_Bot_ts_Local_Debug_With_Different_Account
  • Regular_LocalDebug_Remove_App_then_Rerun
  • Regular_Reusing_Simple_Bot
  • Sample_Adaptive_Card_Notification_Local_Debug
  • Sample_Contact_Exporter_Local_Debug
  • Sample_Copilot_Connection_Local_Debug
  • Sample_One_Productivity_Hub_using_Toolkit_Local_Debug
  • Sample_Stocks_Update_Notification_Bot_Local_Debug
  • Sample_Tab_And_Outlook_Addin_Local_Debug
  • Sample_Teams_Center_Dashboard_Local_Debug

Step Status
1️⃣ Build VSIX (CD) ✅ Done
2️⃣ Build Docker image ✅ Done
3️⃣ Run UI tests ❌ Tests failure (2/10 passed)

🎯 Actual UI test run
🔗 Full pipeline results
📊 Detailed test report

ℹ️ How were these tests selected?

GitHub Copilot (GPT-5.6-sol, high reasoning) analysed the PR title, description, and the diff between
auto-fix/Sample_Copilot_Connection_Local_Debug/2026-09-09 and dev
to pick the most relevant test plans from packages/tests/vscuse/Index.md.

@github-actions

github-actions Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

E2E Test Selection — AI Selected

Why these tests: Only vscuse UI test cases and plans changed, which run in a separate vscuse pipeline and require no e2e tests.

Cases selected (0):


View pipeline run

Need to run more tests?

Comment on this PR:

  • /e2e-run ./path/to/test.tests.ts — add specific cases to AI selection
  • /e2e-run-all — run all e2e cases

Then re-run the workflow.

@codecov

codecov Bot commented Sep 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.30%. Comparing base (f3fb2cd) to head (6da2b93).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##              dev   #16714   +/-   ##
=======================================
  Coverage   88.30%   88.30%           
=======================================
  Files         659      659           
  Lines       35995    35995           
  Branches     8724     8724           
=======================================
  Hits        31784    31784           
  Misses       2316     2316           
  Partials     1895     1895           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

This branch was previously deployed

1 inactive deployment
engineering 6da2b931 Deployed Sep 9, 2026 by teamstoolkitworkflowapp[bot] via run / report #1346
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.

1 participant