Repository navigation
[rel/4.5] Fix Retry TRX artifact publication - #12290
Merged
Merged
Conversation
Adapt #12241 (f76d452) across Core, Retry, TRX and both release PackagedApp controller layouts. Preserve compatibility overloads, release framework assets and existing SDK wire models; retain focused upstream failure-path and package-consumer regressions. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Amaury Levé (Evangelink)
enabled auto-merge (squash)
November 9, 2026 18:25
Amaury Levé (Evangelink)
disabled auto-merge
November 9, 2026 18:39
Preserve both Retry artifact replay APIs and the release JSON-RPC nullable-error API baselines. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Petr Pokorny (0101)
approved these changes
Nov 9, 2026
This was referenced Nov 9, 2026
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.
Backport the coordinated Core/Retry/TRX/PackagedApp portion of #12241 to
rel/4.5as one independently squashable servicing change.Relates to #12287 (split source; this PR does not close or modify that bundle).
Latest servicing-base sync
Merged
origin/rel/4.5at2882ebc66bfa290b57e179ce4416a4441c075e50into this branch;origin/mainwas not merged. Current head isdda0b91b1d8f51395bc0e89f85a7639852ec52ca, with parents05fb9f8860f3a9cbba6acb3082b8507a03c9bfe9and2882ebc66bfa290b57e179ce4416a4441c075e50, and treebb3880efe0f635e2a1f7e55d5b9fa07babea6908.The only conflict was the Core
InternalAPI.Unshipped.txt; its resolution retains the exact union of Retry artifact-replay entries and the release nullable-error entries. All other 26 feature-file blobs are unchanged. The PR still has exactly the original 27-file Retry/TRX scope relative to the updated release base.Fresh validation on this merge commit passed: full Release build/pack with zero warnings/errors; all 130 Retry/TRX/Core/forwarding unit executions; 84 incoming nullable-error protocol/host unit executions across
net8.0,net9.0, andnet462; and all 17 exact package-consuming cases. Discovery and execution identities match, with zero skipped cases.All eight embedded controller payloads match this merge commit's producer packages. The current generated consumer's Core/Retry/TRX/CTRF/HTML/JUnit DLLs and restored package hashes match those packages. Actual shipping SDK
10.0.403was rerun on a fresh-cache rebuilt ordinary consumer: recovery exit 0 and persistent failure expected exit 2, each with exactly two physical reports, four unique execution IDs, correct names/outcomes, and advertised paths equal to the existing reports.Current exact commands, discovery plans, TRX files, package provenance, and SDK10 report/path checks are retained under
$M; the initial standalone evidence below remains historical. AppX activation, hosted UI rendering, and CI on the updated head remain unverified.Only owned raw-TRX notifications are deferred. Artifacts are copied before identified final raw reports are deleted, earlier attempts and attachments remain intact, and partial mappings are replayed without replacing the original failure. TRX process-lifetime registration, the shared manifest, PackagedApp forwarding, and both controller layouts remain coordinated.
Compatibility overloads, all release TFMs, existing public platform annotations, and shipped/public API baselines are preserved. The change adds four Retry and six Core internal API entries. No fixture, cleanup, IPC-stability, main-only coverage, Bazel, or retargeting slice is included.
Initial independent provenance
f76d4524b917e64d6fd93a2cce35ecf1ec6440f6(#12241)826ef0f11a51e59861ceeb6e994917587add82d5(#12287)6be7eec3169d5324fdcf75c425b5e0e16a46fadf039c61b6c880b7a54b9bafb5cf9c6d67ab7005d0a39964ce2cf09c4abcbaa7bb8f4e5818638a9de305fb9f8860f3a9cbba6acb3082b8507a03c9bfe9391bfdd0ed4ed274cc4fc5a89bf7051d8d2ea8eaThe initial standalone version had exactly one commit and 27 changed files. Its source/prepared stable patch IDs both equal
98035c0be712e24cce63e620a0f5a2ac114fc01b. The original commit message/coauthor and UTF-8 BOMs are retained.Initial standalone validation (before base sync)
All results below were executed against the new standalone commit and its own freshly packed packages, not borrowed from the bundled PR.
12.0.100-alpha.1.26480.103net8.0,net9.0,net462,net472net8.0,net9.0,net462net8.0,net9.0net8.0andnet9.010.0.403, ordinary fresh-cache rebuiltnet10.0consumerThe 17 cases are the seven TRX layouts, two
.trx-named attachment controls, two native-SDK existing-path cases, and six CTRF/HTML/JUnit controls. Independent discovery names and fresh TRX execution identities/counters were checked, not just process success. The retained assertions check report names, outcomes, execution identities, final paths, and attachment associations.Both controller layouts were compared byte-for-byte to current Core/Retry/TRX producer
lib/net8.0orlib/net9.0assets, and PackagedApp's corresponding Windows lib assets. Producer nuspecrepository.commitvalues equal the standalone SHA. The generated consumer's six report/platform DLLs onnet8.0/net10.0match current nupkg bytes and restored package SHA-512 values; primary restore caches and outputs are isolated in this checkout.Each shipping-SDK10 run has exactly two physical reports, four unique execution IDs and one logical run ID. The earlier report contains
TestMethod1=Failed,TestMethod2=Passed,TestMethod3=Passed; the root report contains onlyTestMethod1=Passed(recovery) orFailed(persistent failure). Distinct advertised absolute TRX paths equal exactly the two existing physical paths. SDK10 was run without its unsupported--no-artifact-post-processingswitch. This is a new10.0.403run, not the historical bundled10.0.401result.Executed entrypoints and evidence:
Each focused unit/acceptance host was invoked directly with
--filter,--report-trx --report-trx-filename results.trx --results-directory <its evidence directory> --no-ansi --progress off --show-test-results failed. Exact executable/argv, start timestamps, discovery output, fresh TRX files and execution-gate results are retained in each run directory'scommand.json,discovery.json,results.trx, andverified.json; the independentexpected*.jsonplans are alongside these runs. All build invocations have distinct binlogs. The native rebuild's exact argv/cache/binlog are innative-rebuild-command.json; native SDK argv/environment and identity/path checks are undernative-sdk10\recoveryandnative-sdk10\failure.The acceptance filter was:
Resolved setup attempts are excluded from the green counts: an initial full pack needed an existing Aspire archive staged into the private producer cache; an initial native harness used empty rather than absent method-control environment variables. Both were corrected without changing the retained source or weakening assertions.
Remaining gaps
Actual AppX activation was not rerun: the source investigation was blocked by non-elevation and an existing preflight
installationPatherror. Forwarding and package/controller layout checks are not activation proof, and the platform guards remain unchanged. Hosted Azure DevOps/IDE rendering and current-head CI have not been verified. Historical counterfactual results are not counted as fresh standalone executions. No merge or auto-merge is requested.