← 返回列表
全部 Skill›测试与安全 Testing & Security›ui-tests-pipeline-ci

ui-tests-pipeline-ci

作者 @microsoft · 语言 en
Microsoft FTE-only completion workflow for PowerToys UI-test implementation: automatically continue after successful local VM suites, commit and push scoped changes, queue CI, wait synchronously, and stabilize through Azure CLI and Azure DevOps REST APIs. No separate push/run-CI request is needed for create, migrate, or stabilize tasks unless the user limited scope. Also use for explicit UITests CI, setup preflight, 401/403 diagnosis, build reuse, recordings/artifacts, and the three-run limit. Keywords: FTE, az, Azure CLI, Azure DevOps, pipeline, UI Test Automation, UITests CI, commit, push, local-to-CI handoff, buildNow, specificBuildId, uiTestModules, CI flake.
测试与安全 Testing & Security测试通用待翻译
最近源活动
—
检测 SKILL.md 语言
en
星标 ★
141,354
分支 Fork
0
安装选项
提示
指令
使用 AI 助手安装
将下面的提示复制到你正在使用的 AI 助手中。
下载完整 Skill 目录(含全部配套文件)。 下载压缩包 ↓
SKILL.md 原文预览

PowerToys UI Tests Pipeline CI

Queue and stabilize the manual UI Test Automation Azure DevOps pipeline only after the target

UITest suite is proven locally. Use the existing Azure CLI sign-in plus Azure DevOps REST APIs for

discovery, preview, queueing, status, timelines, logs, tests, artifacts, and result attachments.

[!IMPORTANT]
Microsoft FTE only. Queueing requires authorized access to the target Azure DevOps project.
Use shine-oss/PowerToys for current-source manual UI tests; its logs and artifacts are public.
Use microsoft/Dart explicitly for signed-build testing or historical runs. External contributors
stop after local validation. Never store credentials, tokens, or internal evidence in the repository
or transfer Dart-only artifacts to OSS.

When to use

Invoke this skill automatically when an authorized Microsoft FTE's **create, migrate, or stabilize

UI tests** task passes its full local VM matrix. That task includes scoped commit/push and CI

validation; do not wait for an additional "run CI" request.

Also use it when an authorized Microsoft FTE asks to:

  • Queue PowerToys UITests in the manual UI Test Automation pipeline.
  • Validate Azure CLI and Azure DevOps readiness before queueing or after a 401/403 response.
  • Monitor a UITests pipeline run or summarize its stages, tests, and artifacts.
  • Iterate on a failure that passed the complete local VM matrix.
  • Reuse a prior successful product build while rebuilding only one or more UITest projects.
  • Find and share failed-test screenshots, logs, or recording links.

Do not use this skill for local execution. Complete

ui-tests-local-vm first. Use

ui-tests-migration for test implementation and stabilization.

Automatic handoff and scope

The three skills form one delivery workflow, not three independently complete tasks. Local success

means ready for publication and CI, not done. Follow

references/agentic-loop.md

to review the diff, commit only task-owned files, push a feature branch without force, and record

the exact remote SHA before queueing. Never include unrelated work or secrets.

Honor explicit local-only/no-push/no-CI instructions. A status question, read-only investigation,

VM setup, or local execution of an existing suite does not authorize publishing changes. External

contributors or failed access/push preflights stop at the exact blocker; do not bypass sign-in,

permissions, protected branches, or local gates. For an end-to-end task, keep CI pending until

verified terminal success or a documented blocker/three-run escalation.

Non-negotiable gates

  1. Setup preflight first. Before the first Azure operation in a session, run

Test-AzureDevOpsSetup.ps1 and require Ready=true with

every required check PASS. It performs reads and a non-mutating pipeline preview only. Re-run it

after account changes or any 401/403 response.

  1. Local first. Do not queue CI until all required local runs are green, including full suites on

the default and Constrained profiles for Windows 10 and Windows 11, plus the applicable

architecture builds/guests required by ui-tests-local-vm.

  1. Pushed revision. Queue only a pushed branch. Record its exact commit and verify the queued

run's sourceVersion matches it. Creating and pushing that scoped commit is part of the

implementation workflow, not an optional user follow-up.

  1. One run per branch. Before queueing, discover active runs for UI Test Automation. Wait for

or cancel a relevant superseded run on the target branch; runs on other branches may continue in

parallel. Never cancel another branch's unrelated run.

  1. Always scope modules. uiTestModules must be non-empty and contain the exact current UITest

project stem, for example [FancyZonesEditor.UITests.Next].

  1. Three-run ceiling. A CI stabilization sequence may queue at most three runs total. Keep an

attempt ledger. If run 3 is not green, stop and ask the user for assistance. Also stop when three

consecutive runs show no stabilization progress.

  1. Evidence before edits. Read the failed result, logs, screenshot, and recording before forming

a fix hypothesis. Preserve assertions and classify infrastructure failures separately.

  1. Tracked runs remain unfinished work. After queueing, persist the build ID, branch, source SHA,

attempt number, and parameters in session/task state. Run

Wait-AzureDevOpsBuild.ps1 as one attached background

command bound to those exact identifiers. It checks every 20 minutes by default. Wait for the

completion notification instead of repeatedly reading the shell. Then verify the terminal

result and continue stabilization without user input. Do not call task_complete while the

build is nonterminal.

Pipeline targets

| Setting | Value |

|---|---|

| Default organization / project | shine-oss / PowerToys |

| Dart fallback organization / project | microsoft / Dart |

| Pipeline name | UI Test Automation |

| Known d

评论
Mmicrosoft
microsoft
microsoft/PowerToys
查看 GitHub 仓库 查看作者的其他 Skill
来源信息
作者@microsoft
所属大类测试与安全 Testing & Security / 测试
国内可用性通用
最近源活动—
风险提示无
提示:风险标签为程序静态扫描结果,仅作提示,不代表安全认证。安装前请阅读 SKILL.md 及其引用的脚本、权限,自行判断是否可信。