feat: add screen recording and log capture to macOS CI#3074
Open
brucearctor wants to merge 1 commit into
Open
Conversation
Add screen recording (screencapture -v) and system log capture (log stream) to the macOS test workflow, mirroring the log capture pattern used in the iOS simulator workflow. New steps: - Start screen recording before tests using macOS native screencapture - Start log stream filtered to e2e_app/patrol/Runner processes - Stop both gracefully after tests (SIGINT then SIGKILL fallback) - Upload screen recording (.mov) as artifact - Upload filtered macOS logs (.txt) as artifact This enables visual debugging of macOS CI test failures, which was previously only possible through xcresult data. Closes leancodepl#1986
Contributor
|
Note Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported. |
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.
Problem
The macOS CI workflow (
test-macos.yaml) lacks any screen recording or log capture, making test failures difficult to debug. The iOS simulator workflow already captures simulator logs, but the macOS workflow had no equivalent.Solution
Add native macOS screen recording and filtered system log capture to the macOS test workflow:
New Steps
screencapture -vcaptures the desktop during test executionlog streamfiltered to e2e_app/patrol/Runner processes.movfile uploaded as GitHub Actions artifact.txtlog file uploaded as artifactDesign Decisions
screencapture -v(no brew dependencies needed)if: always()/ artifact upload pattern as existing stepsFiles Changed
.github/workflows/test-macos.yaml— +44 lines (6 new steps)Closes #1986