Repository navigation
Attribute and harden hosted native accessibility validation - #895
Merged
Merged
Conversation
Co-authored-by: Copilot App <[email protected]> Copilot-Session: 1b5c8644-46f4-4f37-b15a-1fec1f883cea Signed-off-by: Colin Neilens <[email protected]>
Preserve first-occurrence PATH order and exact restoration while removing duplicate setup growth before cmd. Attribute each native stage, require 204 checks, and exercise native provider changes on PRs. Co-authored-by: Copilot App <[email protected]> Copilot-Session: 1b5c8644-46f4-4f37-b15a-1fec1f883cea Signed-off-by: Colin Neilens <[email protected]>
coneilen
force-pushed
the
coneilen-hosted-native-provider-validation
branch
from
October 19, 2026 13:34
28b744c to
ab3ab76
Compare
Collaborator
Author
|
Hosted validation result: the manual \Full pinned Windows validation\ job 118054295765 (run 39250943852, head 28b744c) completed successfully at 13:34Z. This is the green run the body records as pending. It clears the native accessibility provider step's exit 255 (#890) on the hosted runner, with the PATH dedup in place. The upstream repeated Swift PATH prepends remain tracked separately in #893. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Make hosted native accessibility validation attributable and defend its MSVC setup against inherited duplicate PATH growth. Add direct PR coverage for provider, native-fixture, and harness changes without changing product behavior.
Refs #890. Upstream repeated Swift PATH prepends are tracked separately in #893; this change does not modify
validate.ps1.Changes
204 checks, 0 failuressummary.Test plan
RED: ./Tools/windows/validate.ps1 -Task all -SkipTrayLive -SkipWslRemoteE2E -> own run 39242733774 / job 118027204744 failed at vcvars: The input line is too long; The syntax of the command is incorrect; cmd exit 255, before discovery, compilation, or native assertions.
GREEN: pwsh -NoProfile -File Tools\windows\Tests\AccessibilityProvider.Native.Tests.Harness.Tests.ps1 -> 25 checks, 0 failures; mock tools only, not native provider behavior.
REGRESSION: & 'C:\Program Files\Git\bin\bash.exe' Tools\ci\tests\classify-changes.test.sh -> 80 passed, 0 failed, including requested paths, docs-only skip, unknown/diff failures, PR merge-base semantics, and workflow wiring.
Attribution: First own dispatch, attempt 1, head
df7531ec81b7c5207e16f719da083987b642dafe, full-pinned job. vcvars resolved to VS 2022 Enterprise v17.14.41 and aborted cmd with 255. Historical failure PATH length was not recorded. The initial logging change also changed execution form, but it still reproduced the hosted failure; no claim that changing cmd chaining alone fixed it.Additional retained REDs: the classifier initially failed 67 contracts before the new output/job existed; the abrupt-255 harness initially lacked explicit stage attribution; overlong inherited PATH was discarded by cmd and discovery failed with 9009 before deduplication. New batch-file Unicode and spaced-path regressions were reproduced and corrected separately; they are not the historical hosted cause.
Final local native evidence: the corrected actual fixture ran in
pwsh -NoProfile -NonInteractive, with owned Unicode TEMP and deliberately repeated inherited PATH: 204 checks, 0 failures, all four native stage exits and raw cmd exit 0. PATH measured 12143 inherited → 4074 deduplicated → 5792 post-vcvars, including setup additions; both launch boundaries were below 8191. Exact original PATH restoration and zero remaining owned native scratch directories were asserted. Source SHA-256:32388EE6E5B3A104410925225037FEEDF077E41B9795181AB707B0E8FBEF4953. vcvars was VS 2022 v17.14.42;where clhonestly selected the inherited installed VS 2019 MSVC 14.29 tool, not a claimed VS 2022 compiler.Final manual full-pinned gate is not yet verified GREEN: Second and final authorized own dispatch, attempt 1, head
28b744c791bbc22e00666479a8b56b9022e9a698, Full pinned Windows validation job. Latest verified snapshot at 2026-10-19 13:04:40Z: job stillin_progress, executingRun complete release gate; the post-release real hardening matrix had not completed. No hosted GREEN or clearance of #890 is claimed by this receipt. The dispatch budget is exhausted; no rerun, third dispatch, or automatic extension beyond the 13:07:49Z hard stop is authorized. The remote job is left uncancelled; its eventual result must be recorded separately if it is not available before handoff.Review: one fresh default code-review agent reviewed the six-file change and reported no significant issues.
Limits: the separate Windows 2025 access-denied identity-guard false refusal is not this change's gate or fix; the earlier exit-race premise is retired. No macOS
make test/make check, physical keyboard, screen-reader, visual parity, daemon persistence, or ledger promotion is claimed. The manual full-pinned dispatch is distinct from PR-native coverage configuration and is not a PR required-check result.Checklist
git commit -s) per the DCOmake test)make check)