fix(vscuse): Auto-fix DA_Oauth_ts_Local_Debug (progress 39→55 steps) - #16498
fix(vscuse): Auto-fix DA_Oauth_ts_Local_Debug (progress 39→55 steps)#16498Tian Yuan (xiaolang124) wants to merge 8 commits into
Conversation
…p_6f17d0b9 (click "M365 Agents Toolkit" activity-bar icon) in group__debug_in_copilot_local.json; the debug config dropdown is now a quickpick with an extra search box/C# entry that stays open and dims the background, so the icon-region dhash never matched → 30s precondition timeout. Clearing the preconditions lets the click execute (dismissing the dropdown); fresh dhashes are auto-recomputed after passing.
…step_f1471ec9 in group__debug_in_copilot_local.json) to the proven-working reference (629,484 + matching dhashes + delay:3 from step_1c0bfb73), replacing stale 635,487 coords/dhashes that caused the 30s precondition timeout.
…p_db5979ea ("Declarative Agent" click in the New Project quickpick); the new search box / extra C# entry changed the (348,92) region pixels so the perceptual hash never matched → 30s precondition timeout. Coordinate 348,92 is unchanged (matches sibling DA_Oauth plans).
…YPE step (step_0fec5113) in group__debug_in_copilot_local.json so the freshly-launched Chrome debug page has time to settle focus — without it the email never landed (field stayed empty), leaving Next at y≈516 and causing step_f1471ec9's y=484 filled-state precondition to time out; this mirrors the proven-working first-login type step (step_399e458d, which has delay:3).
…roup__debug_in_copilot_local.json from "${{var:app_name}}local displayed on the main section of the screen." to "${{var:app_name}}local can be found." — the app launched successfully (name visible in the Copilot Agents sidebar and message input placeholder) but the new M365 Copilot greeting UI no longer shows the app name in the main section, so the location-restricted wording failed; the new wording mirrors the passing remote-debug assertion.
…p_b4728564 ("Click the input box in the M365 Copilot chat page") in group__validation_DA_repair_Oauth.json — the 96px-wide dhash band at 376:409 covered the input placeholder "Message vscuse_app_*local" (randomized per-run app name) and the changed M365 Copilot greeting UI, so the hash could never match → 30s precondition timeout; coordinate (376,409) is unchanged and matches sibling validation groups, and fresh dhashes auto-recompute after the step passes.
…:512:384:0:20:11dc6346f8e6e4e8`) on step_22c29569 (type "show repair records assigned to karin blair") in group__validation_DA_repair_Oauth.json — the wide band centered at 512,384 covered the M365 Copilot main area, which now shows the new greeting "Hi, I can help you recap and prep for meetings" plus randomized per-run app name, so the hash could never match → 30s precondition timeout; the input box is confirmed present/ready (prior OCR click succeeded), and fresh dhash auto-recomputes after the step passes.
…_0115ed3f in group__debug_in_copilot_local.json) to the proven-working first-login click (step_be23e3b3: coords 369,350 + its three dhashes) — the Chrome sign-in page IS present in the failing screenshot, but step_0115ed3f's stale dhashes (389,351) never matched, causing the 180s precondition timeout; the sibling's hashes just matched the identical page this run, keeping the "wait for sign-in page" gate intact instead of removing it (which would fire the click before Chrome loads).
❌ VscUse Test Plan — Tests failureWhy these tests: Selected 10 impacted test plan(s) changed in this PR (no product code modified). Branch diff: Results: ✅ 2 passed · ❌ 8 failed (of 10 plans) Plans run:
ℹ️ How were these tests selected?GitHub Copilot (Claude Sonnet 4.6, high reasoning) analysed the PR title, description, and the diff between |
E2E Test Selection — AI SelectedWhy these tests: All changed files are under packages/tests/vscuse/** which maps to rule 8 (vscuse UI tests, not e2e tests) — no e2e test cases needed. Cases selected (0): Need to run more tests?Comment on this PR:
Then re-run the workflow. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## dev #16498 +/- ##
=======================================
Coverage 87.87% 87.87%
=======================================
Files 648 648
Lines 34246 34246
Branches 8086 8086
=======================================
+ Hits 30093 30095 +2
+ Misses 2337 2335 -2
Partials 1816 1816 🚀 New features to boost your workflow:
|
VscUse Auto-Fix Results
Plan:
DA_Oauth_ts_Local_DebugStatus: ❌ FAILED (8/8 attempts exhausted)
Initial Report: Link
Final Report: Link
Iteration Summary
delay: 3to the second-login email TYPE step (step_0fec5113) in group__ddhash:512:384:0:20:11dc6346f8e6e4e8) onHow to Review
plans/DA_Oauth_ts_Local_Debug.jsonChanges Made to Test Plan
View diff
Generated by
vscuse-auto-fix.yml| model:claude-opus-4.8