Fix QA workflow matrix JSON formatting#2467
Merged
tallpsmith merged 2 commits intoperformancecopilot:mainfrom Jan 23, 2026
Merged
Fix QA workflow matrix JSON formatting#2467tallpsmith merged 2 commits intoperformancecopilot:mainfrom
tallpsmith merged 2 commits intoperformancecopilot:mainfrom
Conversation
Multi-line JSON in $ALL_PLATFORMS was breaking GitHub Actions output format when written to $GITHUB_OUTPUT. Each line was being interpreted as a separate command, causing "Invalid format" errors.
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.
Summary
Fixes the GitHub Actions workflow failure in PR #2466 by compacting multi-line JSON to a single line before writing to $GITHUB_OUTPUT.
Problem
The recent change to add manual platform selection introduced a bug where multi-line formatted JSON in
$ALL_PLATFORMSwas breaking GitHub Actions output format. Each line was interpreted as a separate command, causing:Solution
Compact the JSON array to a single line using
jq -cbefore writing to$GITHUB_OUTPUT.Testing
This fixes the failing checks in PR #2466 and maintains backward compatibility for:
Fixes #2466