Skip to content

fix(rn): scope simulator log capture to app process only#59

Merged
abueide merged 1 commit intomainfrom
fix/rn-e2e-log-filtering
May 1, 2026
Merged

fix(rn): scope simulator log capture to app process only#59
abueide merged 1 commit intomainfrom
fix/rn-e2e-log-filtering

Conversation

@abueide
Copy link
Copy Markdown
Contributor

@abueide abueide commented May 1, 2026

Summary

Fixes false E2E failures caused by crash patterns from unrelated system apps (e.g. Apple News) on the iOS simulator.

Changes

  • Add --predicate "process == \"$APP_PROCESS\"" to log show commands in test-suite-ios-e2e.yaml and test-suite-all-e2e.yaml
  • Uses IOS_APP_SCHEME (set in devbox.json) to scope to the RN app process

Why

PR #56 CI failed because NewsToday2 (Apple News) threw assertion failures on the simulator. The verify step's unscoped log scan matched Assertion failure from that process and reported it as our app crashing. The native iOS and repro test suites already had this filtering (process == "ios"); only the RN suites were missing it.


🤖 Generated with Claude Code

The verify-app-running step was capturing all simulator logs then
scanning for crash patterns. This caused false failures when other
system apps (e.g. Apple News) crashed on the simulator. Filter log
capture with --predicate "process == ..." using IOS_APP_SCHEME.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@abueide abueide added the bug Something isn't working label May 1, 2026
@abueide abueide marked this pull request as ready for review May 1, 2026 23:09
@abueide abueide merged commit 438afa4 into main May 1, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant