Skip to content

ci(e2e): lighter iOS simulator syslog in Maestro artifacts - #633

Merged
ignaciosantise merged 4 commits into
mainfrom
chore/skip-ios-sim-logs-artifact
Sep 24, 2026
Merged

ignaciosantise merged 4 commits into
mainfrom
chore/skip-ios-sim-logs-artifact

Conversation

@ignaciosantise

@ignaciosantise ignaciosantise commented Sep 23, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

The iOS Maestro step uploaded a ~450MB ios-syslog.log on every run. This PR makes it small and failure-only:

  • App process only, default level. The log stream now captures only the app's own process and drops --level=debug, so debug/info noise is gone. JS console.* output is still included.
  • Process name read from the build. It comes from the app's CFBundleExecutable (currently ReactNWallet), with a fallback. The old predicate matched RNWallet-Internal, the name from before the Expo migration (feat(rn_cli_wallet): migrate to Expo (SDK 56) + prebuild/CNG + web for Maestro #555), so recent logs probably held only SpringBoard/testmanagerd/tccd/xctest noise.
  • Uploaded only on failure as a separate maestro-ios-syslog artifact. It's no longer part of maestro-ios-artifacts.

Screenshots/recordings, ios-crash-reports/**, Maestro debug images and maestro-output.log are unchanged. Android and web artifacts are unchanged.

Test plan

  • Passing iOS E2E run: maestro-ios-artifacts has no syslog, and no maestro-ios-syslog artifact is uploaded
  • Failing iOS E2E run: a maestro-ios-syslog artifact is uploaded, is small, and contains app log lines

🤖 Generated with Claude Code

The debug-level simctl log stream produced a ~450MB ios-syslog.log that was
uploaded with every iOS Maestro run and not consumed anywhere. Crash reports,
Maestro output, screenshots and recordings are still uploaded.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings September 23, 2026 18:46
@vercel

vercel Bot commented Sep 23, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
react-native-walletkit Ready Ready Preview Sep 24, 2026 12:13pm UTC
2 Skipped Deployments
Project Deployment Actions Updated
pos-demo Ignored Ignored Preview Sep 24, 2026 12:13pm UTC
react-native-appkit Ignored Ignored Preview Sep 24, 2026 12:13pm UTC

Request Review

@claude

claude Bot commented Sep 23, 2026 •

Copy link
Copy Markdown

Claude finished @ignaciosantise's task in 1m 1s —— View job


Code Review

  • Read changed file and gather context
  • Run breaking changes analysis
  • Run data classification analysis
  • Post final review

✅ No issues found

The change is clean and correct:

  • The removed xcrun simctl spawn log stream --level=debug background process was an unbounded sink (~450MB/run) with no downstream consumer.
  • SYSLOG_PID kill/wait cleanup is properly removed alongside the process that set it — no zombie leak.
  • The comment update ("The syslog stream above keeps capturing across both attempts" → removed) avoids stale documentation.
  • Removing maestro-artifacts/ios-syslog.log from the upload path list is consistent — the file is no longer produced, so the path was dead anyway (if-no-files-found: warn would have emitted a warning each run).
  • All other iOS artifacts (crash reports, Maestro debug images, maestro-output.log) and all Android/web artifacts are untouched.
  • Data classification: no issues.
  • Breaking changes: no issues.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

No unresolved review comments remain.

Review effort: Lite
Findings: None

What changed in this PR

Removes unnecessary iOS simulator syslog capture from Maestro CI artifacts.

Changes:

  • Removed simctl log stream capture and cleanup.
  • Removed ios-syslog.log from uploaded artifacts.
  • Preserved other diagnostic artifacts.
File Summary
.github/​actions/​walletkit-build-and-maestro/​action.yml Simplifies iOS Maestro execution and artifact collection.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@ignaciosantise
ignaciosantise marked this pull request as draft September 23, 2026 18:54
Stream only the app process at the default log level (no debug/info), with
the process name read from the built app's CFBundleExecutable. The previous
predicate targeted the pre-Expo RNWallet-Internal process name, so it mostly
captured SpringBoard/testmanagerd noise. Upload as a separate artifact only
when the tests fail.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@ignaciosantise ignaciosantise changed the title ci(e2e): skip iOS simulator syslog in Maestro artifacts ci(e2e): lighter iOS simulator syslog in Maestro artifacts Sep 23, 2026
@ignaciosantise
ignaciosantise marked this pull request as ready for review September 24, 2026 12:54
@ignaciosantise
ignaciosantise merged commit bbc1f3b into main Sep 24, 2026
16 of 20 checks passed
@ignaciosantise
ignaciosantise deleted the chore/skip-ios-sim-logs-artifact branch September 24, 2026 12:54

This branch was successfully deployed

1 active deployment
Preview – react-native-walletkit — b7bd7fbc Deployed Sep 24, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants