Repository navigation
[ci] Remove label-based test configuration - #27416
rolfbjarne wants to merge 3 commits into
Conversation
Ignore pull request labels that disable tests and remove the obsolete pipeline skip paths. Keep command-line test selection and labels that enable tests. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: c67666e9-65ac-4e6f-bb7a-9acefd611319
Match the current configuration output, including Xcode settings and the removal of Tags. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: c67666e9-65ac-4e6f-bb7a-9acefd611319
Stop loading external labels in xharness and remove obsolete Azure Pipelines label configuration. Preserve the internal test matrix selectors and full PR numbers for manual builds. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: c67666e9-65ac-4e6f-bb7a-9acefd611319
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues remain for the removal of GitHub-label controls from CI and xharness.
No open issues 🎉
What changed in this PR
Removes GitHub-label controls from the Apple-platform CI pipelines and xharness while preserving command-line --label selectors for test-matrix partitioning.
Changes:
- Removes label-based test, packaging, signing, and API-diff configuration.
- Renames configuration-step output references and fixes PR-number handling when a lookup returns a single ID.
- Updates CI documentation, regression coverage, and fixtures; deletes unused GitHub helpers.
| File | Description |
|---|---|
tools/devops/README.md |
Documents CI configuration without PR-label controls. |
tools/devops/automation/templates/tests/stage.yml |
Removes label-based test gating and updates PR output references. |
tools/devops/automation/templates/tests/publish-results.yml |
Removes the label-triggered skipped-tests reporting job. |
tools/devops/automation/templates/tests-stage.yml |
Removes label variables and updates PR output references. |
tools/devops/automation/templates/mac/stage.yml |
Uses the renamed configuration output for PR IDs. |
tools/devops/automation/templates/common/load_configuration.yml |
Renames the configuration step and updates its description. |
tools/devops/automation/templates/common/configure.yml |
Renames the configuration step and updates its description. |
tools/devops/automation/templates/build/build.yml |
Replaces label parsing with direct build-directory setup. |
tools/devops/automation/templates/build/build-stage.yml |
Removes label variables and updates PR output references. |
tools/devops/automation/templates/build/build-pkgs.yml |
Removes the label-derived NuGet build condition. |
tools/devops/automation/templates/build/build-mac-tests-stage.yml |
Uses the renamed configuration output for PR IDs. |
tools/devops/automation/templates/build/api-diff-stage.yml |
Removes label forwarding and updates the PR output reference. |
tools/devops/automation/scripts/VSTS.Tests.ps1 |
Updates configuration expectations and tests full PR-number output. |
tools/devops/automation/scripts/VSTS.psm1 |
Removes label/tag plumbing and normalizes PR lookup results to an array. |
tools/devops/automation/scripts/TestResults.Tests.ps1 |
Aligns fixtures with the revised pipeline outputs. |
tools/devops/automation/scripts/parse_pr_labels.ps1 |
Deletes the label-based build configuration script. |
tools/devops/automation/scripts/GitHub.Tests.ps1 |
Removes tests for the deleted PR-information helper. |
tools/devops/automation/scripts/GitHub.psm1 |
Removes the unused PR-information helper and export. |
tools/devops/automation/scripts/bash/configure-decisions.sh |
Bases test decisions on enabled platforms rather than labels. |
tools/devops/automation/run-nightly-codeql.yml |
Removes the label-derived NuGet build condition. |
tests/xharness/Jenkins/TestSelector.cs |
Restricts label input to command-line selectors. |
tests/xharness/Jenkins/Jenkins.cs |
Constructs the test selector without a GitHub dependency. |
tests/xharness/GitHub.cs |
Deletes the unused xharness GitHub integration. |
Review effort: Balanced
✅ API diff for current PR / commitNET (empty diffs)✅ API diff vs stableNET (empty diffs)ℹ️ Generator diffGenerator Diff: vsdrops (html) vsdrops (raw diff) gist (raw diff) - Please review changes) Pipeline on Agent |
🔥 [CI Build #b01aa78] Test results 🔥Test results❌ Tests failed on VSTS: test results 0 tests crashed, 2 tests failed, 195 tests passed. Failures❌ introspection tests1 tests failed, 3 tests passed.Failed tests
Html Report (VSDrops) Download ❌ Tests on macOS Golden Gate (27) tests1 tests failed, 4 tests passed.Failed tests
Html Report (VSDrops) Download Successes✅ assembly-processing: All 1 tests passed. Html Report (VSDrops) Download macOS tests✅ Tests on macOS Sonoma (14): All 5 tests passed. Html Report (VSDrops) Download Linux Build VerificationPipeline on Agent |
Remove GitHub-label controls from xharness and Azure Pipelines, including test, signing, packaging, and API-diff decisions. Keep the command-line
--labelselectors used to partition test matrices. Also fix PR-number output when the lookup returns a single ID and update the CI documentation and fixtures.🤖 Pull request created by Copilot