Skip to content

[release/v7.6.6] Localized file check-in by OneLocBuild Task: Build definition ID 13420: Build ID 2652124 - #27918

Merged
Patrick Meinecke (SeeminglyScience) merged 1 commit into
PowerShell:release/v7.6.6from
SeeminglyScience:backport/release/v7.6.6/27736-7acd67b5a
Sep 1, 2026
Merged

[release/v7.6.6] Localized file check-in by OneLocBuild Task: Build definition ID 13420: Build ID 2652124#27918
Patrick Meinecke (SeeminglyScience) merged 1 commit into
PowerShell:release/v7.6.6from
SeeminglyScience:backport/release/v7.6.6/27736-7acd67b5a

Conversation

@SeeminglyScience

Copy link
Copy Markdown
Contributor

Backport of #27736 to release/v7.6.6

Triggered by Patrick Meinecke (@SeeminglyScience) on behalf of olprod

Original CL Label: CL-BuildPackaging

/cc @PowerShell/powershell-maintainers

Impact

REQUIRED: Choose either Tooling Impact or Customer Impact (or both). At least one checkbox must be selected.

Tooling Impact

  • Required tooling change
  • Optional tooling change (include reasoning)

Checks in localized resource files generated by the downstream localization pipeline (OneLocBuild), required to keep the release branch's localized resources up to date after onboarding to Native2Native localization.

Customer Impact

  • Customer reported
  • Found internally

Regression

REQUIRED: Check exactly one box.

  • Yes
  • No

This is not a regression.

Testing

Automated localization check-in; cherry-picked cleanly with no conflicts. No additional testing required beyond standard CI.

Risk

REQUIRED: Check exactly one box.

  • High
  • Medium
  • Low

Automated localized resource file check-in from the OneLocBuild pipeline. No code behavior changes, only translated resource content.

Copilot AI lite review requested due to automatic review settings September 1, 2026 00:42
@SeeminglyScience Patrick Meinecke (SeeminglyScience) added the CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log label Sep 1, 2026
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

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.

Pull request overview

Backports OneLocBuild-generated localization updates to release/v7.6.6, adding/refreshing multiple .resx resource files across several locales. In addition, the PR updates internal GitHub composite actions to pass/read the changed-file list via a temp file (files_path) to avoid ARG_MAX limits on large PRs.

Changes:

  • Add localized .resx resources for multiple components/locales (System.Management.Automation and command modules).
  • Extend get-changed-files composite action to emit files_path and write the file list to a temp file.
  • Update infrastructure actions to consume the changed-file list from the temp file instead of an env-var JSON blob.

Reviewed changes

Copilot reviewed 90 out of 1954 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
src/System.Management.Automation/resources/zh-Hant/StringDecoratedStrings.zh-Hant.resx Adds localized resource(s) for zh-Hant.
src/System.Management.Automation/resources/zh-Hant/PSStyleStrings.zh-Hant.resx Adds localized resource(s) for zh-Hant.
src/System.Management.Automation/resources/zh-Hant/ExperimentalFeatureStrings.zh-Hant.resx Adds localized resource(s) for zh-Hant.
src/System.Management.Automation/resources/zh-Hans/StringDecoratedStrings.zh-Hans.resx Adds localized resource(s) for zh-Hans.
src/System.Management.Automation/resources/zh-Hans/PSStyleStrings.zh-Hans.resx Adds localized resource(s) for zh-Hans.
src/System.Management.Automation/resources/zh-Hans/ExperimentalFeatureStrings.zh-Hans.resx Adds localized resource(s) for zh-Hans.
src/System.Management.Automation/resources/tr/StringDecoratedStrings.tr.resx Adds localized resource(s) for tr.
src/System.Management.Automation/resources/tr/PSStyleStrings.tr.resx Adds localized resource(s) for tr.
src/System.Management.Automation/resources/tr/ExperimentalFeatureStrings.tr.resx Adds localized resource(s) for tr.
src/System.Management.Automation/resources/tr/DescriptionsStrings.tr.resx Adds localized resource(s) for tr.
src/System.Management.Automation/resources/tr/AuthorizationManagerBase.tr.resx Adds localized resource(s) for tr.
src/System.Management.Automation/resources/ru/StringDecoratedStrings.ru.resx Adds localized resource(s) for ru.
src/System.Management.Automation/resources/ru/PSStyleStrings.ru.resx Adds localized resource(s) for ru.
src/System.Management.Automation/resources/ru/ExperimentalFeatureStrings.ru.resx Adds localized resource(s) for ru.
src/System.Management.Automation/resources/pt-BR/StringDecoratedStrings.pt-BR.resx Adds localized resource(s) for pt-BR.
src/System.Management.Automation/resources/pt-BR/PSStyleStrings.pt-BR.resx Adds localized resource(s) for pt-BR.
src/System.Management.Automation/resources/pt-BR/ExperimentalFeatureStrings.pt-BR.resx Adds localized resource(s) for pt-BR.
src/System.Management.Automation/resources/pl/StringDecoratedStrings.pl.resx Adds localized resource(s) for pl.
src/System.Management.Automation/resources/pl/PSStyleStrings.pl.resx Adds localized resource(s) for pl.
src/System.Management.Automation/resources/pl/ExperimentalFeatureStrings.pl.resx Adds localized resource(s) for pl.
src/System.Management.Automation/resources/pl/DescriptionsStrings.pl.resx Adds localized resource(s) for pl.
src/System.Management.Automation/resources/ko/StringDecoratedStrings.ko.resx Adds localized resource(s) for ko.
src/System.Management.Automation/resources/ko/PSStyleStrings.ko.resx Adds localized resource(s) for ko.
src/System.Management.Automation/resources/ko/ExperimentalFeatureStrings.ko.resx Adds localized resource(s) for ko.
src/System.Management.Automation/resources/ja/StringDecoratedStrings.ja.resx Adds localized resource(s) for ja.
src/System.Management.Automation/resources/ja/PSStyleStrings.ja.resx Adds localized resource(s) for ja.
src/System.Management.Automation/resources/ja/ExperimentalFeatureStrings.ja.resx Adds localized resource(s) for ja.
src/System.Management.Automation/resources/it/StringDecoratedStrings.it.resx Adds localized resource(s) for it.
src/System.Management.Automation/resources/it/PSStyleStrings.it.resx Adds localized resource(s) for it.
src/System.Management.Automation/resources/it/ExperimentalFeatureStrings.it.resx Adds localized resource(s) for it.
src/System.Management.Automation/resources/it/DescriptionsStrings.it.resx Adds localized resource(s) for it.
src/System.Management.Automation/resources/fr/StringDecoratedStrings.fr.resx Adds localized resource(s) for fr.
src/System.Management.Automation/resources/fr/PSStyleStrings.fr.resx Adds localized resource(s) for fr.
src/System.Management.Automation/resources/fr/ExperimentalFeatureStrings.fr.resx Adds localized resource(s) for fr.
src/System.Management.Automation/resources/fr/DescriptionsStrings.fr.resx Adds localized resource(s) for fr.
src/System.Management.Automation/resources/es/StringDecoratedStrings.es.resx Adds localized resource(s) for es.
src/System.Management.Automation/resources/es/PSStyleStrings.es.resx Adds localized resource(s) for es.
src/System.Management.Automation/resources/es/ExperimentalFeatureStrings.es.resx Adds localized resource(s) for es.
src/System.Management.Automation/resources/es/DescriptionsStrings.es.resx Adds localized resource(s) for es.
src/System.Management.Automation/resources/es/AuthorizationManagerBase.es.resx Adds localized resource(s) for es.
src/System.Management.Automation/resources/de/StringDecoratedStrings.de.resx Adds localized resource(s) for de.
src/System.Management.Automation/resources/de/PSStyleStrings.de.resx Adds localized resource(s) for de.
src/System.Management.Automation/resources/de/ExperimentalFeatureStrings.de.resx Adds localized resource(s) for de.
src/System.Management.Automation/resources/de/DescriptionsStrings.de.resx Adds localized resource(s) for de.
src/System.Management.Automation/resources/de/AuthorizationManagerBase.de.resx Adds localized resource(s) for de.
src/System.Management.Automation/resources/cs/StringDecoratedStrings.cs.resx Adds localized resource(s) for cs.
src/System.Management.Automation/resources/cs/PSStyleStrings.cs.resx Adds localized resource(s) for cs.
src/System.Management.Automation/resources/cs/ExperimentalFeatureStrings.cs.resx Adds localized resource(s) for cs.
src/Microsoft.PowerShell.Commands.Utility/resources/tr/GetMember.tr.resx Adds localized resource(s) for tr (Utility module).
src/Microsoft.PowerShell.Commands.Utility/resources/pl/GetMember.pl.resx Adds localized resource(s) for pl (Utility module).
src/Microsoft.PowerShell.Commands.Utility/resources/fr/GetMember.fr.resx Adds localized resource(s) for fr (Utility module).
src/Microsoft.PowerShell.Commands.Utility/resources/es/GetMember.es.resx Adds localized resource(s) for es (Utility module).
src/Microsoft.PowerShell.Commands.Management/resources/zh-Hans/ClipboardResources.zh-Hans.resx Adds localized clipboard resources for zh-Hans (Management module).
src/Microsoft.PowerShell.Commands.Management/resources/tr/ClipboardResources.tr.resx Adds localized clipboard resources for tr (Management module).
src/Microsoft.PowerShell.Commands.Management/resources/ru/ClipboardResources.ru.resx Adds localized clipboard resources for ru (Management module).
src/Microsoft.PowerShell.Commands.Management/resources/it/ClipboardResources.it.resx Adds localized clipboard resources for it (Management module).
src/Microsoft.PowerShell.Commands.Management/resources/es/ClipboardResources.es.resx Adds localized clipboard resources for es (Management module).
src/Microsoft.PowerShell.Commands.Management/resources/de/ClipboardResources.de.resx Adds localized clipboard resources for de (Management module).
.github/actions/infrastructure/path-filters/action.yml Switches from env-var JSON to temp-file (FILES_PATH) input for changed files.
.github/actions/infrastructure/merge-conflict-checker/action.yml Switches from env-var JSON to temp-file (CHANGED_FILES_PATH) input for changed files.
.github/actions/infrastructure/markdownlinks/action.yml Switches from env-var JSON to temp-file (CHANGED_FILES_PATH) input for changed files.
.github/actions/infrastructure/get-changed-files/action.yml Adds files_path output and writes changed files to a temp file to avoid ARG_MAX.

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +117 to +121
const fs = require('fs');
const path = require('path');
const tempDir = process.env.RUNNER_TEMP || '/tmp';
const tempFile = path.join(tempDir, 'changed-files.json');
fs.writeFileSync(tempFile, JSON.stringify(changedFiles));
Comment on lines +27 to +32
$changedFilesPath = $env:CHANGED_FILES_PATH
if ($changedFilesPath -and (Test-Path $changedFilesPath)) {
$changedFiles = @(Get-Content $changedFilesPath -Raw | ConvertFrom-Json)
} else {
$changedFiles = @()
}
Comment on lines +48 to +53
$changedFilesPath = $env:CHANGED_FILES_PATH
if ($changedFilesPath -and (Test-Path $changedFilesPath)) {
$changedFiles = @(Get-Content $changedFilesPath -Raw | ConvertFrom-Json)
} else {
$changedFiles = @()
}
Comment on lines +63 to +71
// Read files from temp file to avoid ARG_MAX limits with large PRs
const fs = require('fs');
const filesPath = process.env.FILES_PATH;
let files = [];
if (filesPath && fs.existsSync(filesPath)) {
files = JSON.parse(fs.readFileSync(filesPath, 'utf8'));
} else {
console.log('Warning: files_path not found, no files to analyze');
}
Comment on lines 13 to +18
files:
description: 'JSON array of changed file paths'
value: ${{ steps.get-files.outputs.files }}
files_path:
description: 'Path to temp file containing the JSON array of changed file paths'
value: ${{ steps.get-files.outputs.files_path }}
@SeeminglyScience
Patrick Meinecke (SeeminglyScience) merged commit 10336c6 into PowerShell:release/v7.6.6 Sep 1, 2026
36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants