Fix SubmitStabilityJob: suppress gh workflow run stdout output#8272
Open
Copilot wants to merge 1 commit into
Open
Fix SubmitStabilityJob: suppress gh workflow run stdout output#8272Copilot wants to merge 1 commit into
Copilot wants to merge 1 commit into
Conversation
…les property error Agent-Logs-Url: https://github.com/microsoft/BCApps/sessions/51664009-94ed-4d2a-8d3a-85fa5383870f Co-authored-by: mazhelez <43066499+mazhelez@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
mazhelez
May 21, 2026 12:03
View session
mazhelez
approved these changes
May 21, 2026
spetersenms
approved these changes
May 21, 2026
Contributor
|
Could not find a linked ADO work item. Please link one by using the pattern 'AB#' followed by the relevant work item number. You may use the 'Fixes' keyword to automatically resolve the work item when the pull request is merged. E.g. 'Fixes AB#1234' |
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.
Stability jobs fail with
The property 'Files' cannot be found on this objectbecausegh workflow runwrites a success message to stdout in newerghCLI versions. Since the script is dot-sourced, this contaminates$automationResult— turning it from a hashtable into an array — which breaks.Filesaccess underSet-StrictMode -Version 2.0.gh workflow runtoOut-Nullto prevent stdout leaking into the script's return value