Skip to content

Commit 0cf6e3b

Browse files
EvangelinkCopilot
andcommitted
Record shared-core UI regression evidence
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent d38b708 commit 0cf6e3b

1 file changed

Lines changed: 55 additions & 1 deletion

File tree

‎docs/decisions/shared-core-ui-contract.md‎

Lines changed: 55 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,12 +106,66 @@ and the two focused test owners, respectively. All four commands exited 0.
106106
The context hosts used `--treenode-filter "/*/*/TestContextTests/*"` with TRX
107107
export; every host exited 0. Logs/binlogs and TRX remain in task-owned storage.
108108

109-
At this checkpoint, behavior-removal sensitivity and real classic/modern UWP
109+
At the initial checkpoint, behavior-removal sensitivity and real classic/modern UWP
110110
activation are not yet established. Historical proof from the final source PR
111111
is not credited. No layout or UI rendering implementation changes in this layer;
112112
the executable API/result transcript is more useful than a staged screenshot.
113113
Historical proof from #12435 is not proof of this intermediate source.
114114

115+
### Test-value evidence
116+
117+
Runtime/test revision: `e22e899febaeee44ea3af385403e1c65c18164bb`, based on
118+
`8dd78e1347417e400c3ef8d786059a8bb346162f`. Later updates to this record do not
119+
change those executable sources.
120+
121+
An isolated detached comparison retained the same API, resource declarations,
122+
tests and scheduling. It removed the deployment guard and replaced five UI
123+
null overrides with the base property-bag getters (the sixth getter remained
124+
null). Counterfactual patch SHA-256:
125+
`EE03335E10599D3CBBA26D905C342B7D67457FBBC08ED5A70EC7480430C7C6F5`.
126+
The comparison lived outside the repository's ancestor analyzer configuration.
127+
Its initial child-launch attempt lacked the fixture's required `.dotnet` path;
128+
an owned SDK junction corrected setup, without source changes. That attempt is
129+
not red proof.
130+
131+
Both variants built and packed successfully with the pinned toolchain. The same
132+
17-case selector executed **13 passed / 4 failed / 0 skipped** without the two
133+
behaviors (outer exit 2), then **17 passed / 0 failed / 0 skipped** after restoring
134+
the exact original source bytes and rebuilding/repacking (outer exit 0).
135+
136+
| Contract / exact case | Counterfactual observation | Correct implementation |
137+
| --- | --- | --- |
138+
| Six UI directory getters / `SimpleWinUITestCase` | Executed: detected; child assertion reported `TestRunDirectory` was not null. | Executed: passed with all six bag entries populated. |
139+
| Pre-body deployment rejection / `Deployment_Reflection`, `Deployment_Rooting`, `Deployment_ReflectionFree` | Executed: detected; diagnostic assertions exposed `DEPLOYMENT_BODY_EXECUTED` for direct/inherited method/class attributes. | Executed: passed; each child reports four associated failed results with the unsupported-deployment diagnostic and one passed metadata-provider check. |
140+
| Shared-core identities/API / six core consumers and seven package API cases | These 13 unchanged controls passed; a separate core-flavor mutation was not executed. | Packed/cached/copied hash and loaded-path assertions passed. |
141+
142+
Loaded UI `MSTestAdapter.PlatformServices.dll` SHA-256 was
143+
`A3EB4489A813F89DC5EF1FAD89DA7F058A632C5A08ED3C721CF9681EF0866D16`
144+
in all three red consumers and
145+
`8DDCD025DF63F4BC50F9E2CF594F4A6CB53A1FDDF71F5E142B7BEDF41F7C75B7`
146+
in all three restored-green consumers. Primary green consumers matched the
147+
primary packed UI runtime hash
148+
`EDCEAAF4CD0548A9453CB391BA9A42F264C966E55AF95D56905CE17A11CF463B`.
149+
The primary framework/adapter packages were `MSTest.TestFramework.5.0.0-dev.nupkg`
150+
(SHA-256 `2C868DA86726A51A7B8965D9E9C2704FE8B8F84A10AA6AD93F7C649C3262FD0A`)
151+
and `MSTest.TestAdapter.5.0.0-dev.nupkg`
152+
(SHA-256 `C96BBEBD26D90ED384945B69E8F1DD35FFB6927B469662B12FF91EE83026613A`).
153+
The overwritten red ZIP is not retained; the counterfactual patch, build logs,
154+
resolved asset manifests, child binaries and TRX are retained.
155+
156+
The comparison used the same pack/fixture commands above, rebuilt the unchanged
157+
acceptance project directly, and repacked the restored adapter with
158+
`.\build.cmd -pack -c Release -msbuildEngine vs -projects src\Adapter\MSTest.TestAdapter\MSTest.TestAdapter.csproj -bl`
159+
(exit 0). Its test commands used the same filter with separate `layer1-red-2`
160+
and `layer1-restored-green` result directories and binary logs. Strict TRX
161+
checks reconciled the planned identities, actual outcomes and fresh timestamps.
162+
163+
Real classic/modern UWP activation and a full native Bazel run were not executed
164+
here. Modern UWP discovery is not activation proof; the package-extraction layer
165+
owns the composed activation/release-branch evidence. No CI result is credited
166+
for this head. The comparison source is restored and the primary worktree was
167+
never mutated for the counterfactual.
168+
115169
## Delivery boundary
116170

117171
This layer targets main only. The series coordinator owns the subsequent package

0 commit comments

Comments
 (0)