Skip to content

Restore PackagedApp localization units removed by stale OneLoc update - #11855

Merged
Amaury Levé (Evangelink) merged 1 commit into
mainfrom
dev/amauryleve/main-pipeline-repair
Oct 9, 2026
Merged

Amaury Levé (Evangelink) merged 1 commit into
mainfrom
dev/amauryleve/main-pipeline-repair

Conversation

@Evangelink

Copy link
Copy Markdown
Member

Fixes the Windows and Linux build failures in main pipeline run 20261009.1. The stale OneLoc update in #11839 removed TestCaseFilterOptionDescription from all 13 PackagedApp catalogs, although #11805 had correctly generated those units.

Regenerated the catalogs through the owning project's UpdateXlf target. This restores only the missing units (65 added lines), preserves existing translations, and does not change runtime behavior or relax CI's localization checks.

Validation

  • Before repair, the pinned-toolchain Release build reproduced the same four out-of-date catalog errors as CI.
  • .\.dotnet\dotnet.exe build src\Platform\Microsoft.Testing.Extensions.PackagedApp\Microsoft.Testing.Extensions.PackagedApp.csproj -c Release --no-restore /p:UpdateXlfOnBuild=false -bl:artifacts\log\Release\PackagedApp-Validation.binlog -v:minimal -m - passed all four target frameworks, with zero warnings and errors.
  • python .github\scripts\test_check_localization.py - passed all 41 tests.
  • python .github\scripts\check_localization.py - all 364 catalogs passed.
  • Repeated UpdateXlf was byte-for-byte idempotent; git diff --check passed.

Validation was performed locally on Windows. The full solution, Linux build, and remote pipeline have not been rerun.

… update

Regenerate all 13 catalogs using the owning project UpdateXlf target. This restores TestCaseFilterOptionDescription without changing existing translations and fixes the Windows and Linux failures in main build 20261009.1 (3100512).

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 35759180-1b9e-4dd3-bd06-83fa9a1b465e
Copilot AI balanced review requested due to automatic review settings October 9, 2026 08:03
@github-actions github-actions Bot added the state/needs-review Awaiting review from the team. label Oct 9, 2026

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note

🤖 Automated review by GitHub Copilot. Generated by the Expert Code Review workflow. To request a follow-up action, reply by tagging @copilot directly.

Review outcome: No actionable findings — this is a clean, mechanical restoration of a localization unit accidentally dropped by a stale OneLoc update.

Change classification

  • Localization catalogs only: 13 ExtensionResources.*.xlf files under src/Platform/Microsoft.Testing.Extensions.PackagedApp/Resources/xlf/ each gain one identical <trans-unit id="TestCaseFilterOptionDescription"> block (65 additions, 0 deletions, no other content touched).

Confidence at a glance

🟢 Localization — restoration verified against source of truth, verbatim across all 13 catalogs
  • Why it applies: All changed files are .xlf catalogs; dimension 9 (Localization & Resources) applies directly.
  • Evidence: TestCaseFilterOptionDescription exists in ExtensionResources.resx with identical <value> text and the same {Locked="(learn.microsoft.com/redacted) comment; PackagedAppControllerFilterCommandLineOptionsProvider.csreferencesExtensionResources.TestCaseFilterOptionDescription, confirming the id isn't a typo/mismatch of a similarly named resource. The locked URL token occurs verbatim in /and, being a full URL, cannot collide with a substring of another translatable word. All 13 locale files received the exact same unit withstate="new"(correctly untranslated, since OneLoc hasn't translated it for any locale yet) and matching. Diff is additions-only, inserted directly before , with no reordering or modification of any pre-existing . XML parses cleanly on all 13 files at HEAD (validated with xml.etree.ElementTree`), and the "no newline at EOF" convention is unchanged between base and head (byte-identical trailing bytes).
  • Gap or disposition: None. The PR's own validation (build pass, check_localization.py across all 364 catalogs, idempotent UpdateXlf) is consistent with the diff shape and plausible for this narrow a fix; I did not re-run CI but found nothing contradicting those claims.
  • Action: None.

⚪ Not applicable: Correctness & design (no logic changed), Concurrency & lifecycle, Security & protocol, API & compatibility, Performance, Tests, Analyzers, Build/dependencies/scripts (no source, resx, csproj, or non-xlf file touched).

@microsoft-github-policy-service microsoft-github-policy-service Bot added state/needs-review Awaiting review from the team. and removed state/needs-review Awaiting review from the team. labels Oct 9, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The generated units match the neutral resource, and all 364 localization catalogs pass validation.

0 open findings

What changed in this PR

Restores the generated PackagedApp localization unit removed by a stale OneLoc update.

Changes:

  • Re-adds TestCaseFilterOptionDescription to all 13 locale catalogs.
  • Preserves the neutral text and locked documentation URL.
File Description
ExtensionResources.cs.xlf Restores Czech unit.
ExtensionResources.de.xlf Restores German unit.
ExtensionResources.es.xlf Restores Spanish unit.
ExtensionResources.fr.xlf Restores French unit.
ExtensionResources.it.xlf Restores Italian unit.
ExtensionResources.ja.xlf Restores Japanese unit.
ExtensionResources.ko.xlf Restores Korean unit.
ExtensionResources.pl.xlf Restores Polish unit.
ExtensionResources.pt-BR.xlf Restores Brazilian Portuguese unit.
ExtensionResources.ru.xlf Restores Russian unit.
ExtensionResources.tr.xlf Restores Turkish unit.
ExtensionResources.zh-Hans.xlf Restores Simplified Chinese unit.
ExtensionResources.zh-Hant.xlf Restores Traditional Chinese unit.

🧠 Review effort: Balanced


💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@github-actions github-actions Bot added state/needs-review Awaiting review from the team. and removed state/needs-review Awaiting review from the team. labels Oct 9, 2026
@Evangelink
Amaury Levé (Evangelink) enabled auto-merge (squash) October 9, 2026 08:20
@microsoft-github-policy-service microsoft-github-policy-service Bot added state/needs-review Awaiting review from the team. and removed state/needs-review Awaiting review from the team. labels Oct 9, 2026
@Evangelink
Amaury Levé (Evangelink) merged commit 1da6c64 into main Oct 9, 2026
23 of 24 checks passed
@Evangelink
Amaury Levé (Evangelink) deleted the dev/amauryleve/main-pipeline-repair branch October 9, 2026 09:25
@microsoft-github-policy-service microsoft-github-policy-service Bot removed the state/needs-review Awaiting review from the team. label Oct 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants