ci: add matrix skeleton to headless-smoke jobs (#540)#579
Merged
Conversation
Introduces a single-cell `strategy.matrix` stanza on all four smoke jobs (safari / flutter / native / webview). The baseline cell is still `macos-latest`, so behaviour is unchanged today — but future expansion (macos-14, macos-15, macos-16; later Xcode / device / Flutter-version dimensions) becomes a one-line append to `matrix.os` rather than a full job duplication. `fail-fast: false` ensures one flaky cell cannot kill sibling cells once the matrix grows. Leaves the name: field unchanged — GitHub auto-appends the matrix value so the effective check name remains the same until a second cell lands. Refs: #540 (acceptance-criteria Matrix section) + #574 Verified: - `python3 -c "import yaml; yaml.safe_load(open('.github/workflows/headless-smoke.yml'))"`. - Diff only touches the four job headers; no step logic moved. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0dbd0a6 to
d3e9731
Compare
shaun0927
commented
Apr 16, 2026
Owner
Author
shaun0927
left a comment
There was a problem hiding this comment.
Code review: P0=0, P1=0, P2=0. Trivial matrix scaffolding. Functionally identical to prior runs-on. LGTM.
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
Adds a single-cell `strategy.matrix` stanza to all four smoke jobs (safari / flutter / native / webview) in `.github/workflows/headless-smoke.yml`.
Refs: #540 (acceptance-criteria Matrix section) + #574 (cross-Xcode matrix child issue).
Why
Epic #540's Matrix section requires green runs across macOS 14/15/16, Xcode 15/16/17/26, iPhone 15/16/17/Pro/iPad, and Flutter 3.x/4.x. Each dimension will be rolled out as runner images become available. Landing the skeleton now means the rollout is a one-line append to `matrix.os` (or a new matrix dimension) rather than a full job duplication.
Why one cell now, more later
Adding additional cells (macos-14, macos-15, macos-16) before the runner images are proven stable would keep the cron red and reset the 30-day green countdown in the epic's closing rule. Child issue #574 tracks the staged rollout.
Test plan
🤖 Generated with Claude Code