Skip to content

Conversation

@bsneed
Copy link
Contributor

@bsneed bsneed commented Nov 12, 2025

  • Refactor lifecycle handling for consistency between platforms.
  • Fixed condition where some lifecycle notifications happen prior to analytics SDK being initialized.
  • Added EventDebugger plugin to capture basic event data in the console.
  • WIP: Test coverage and suites are still in progress. Hand verification has passed though.

@codecov
Copy link

codecov bot commented Nov 12, 2025

Codecov Report

❌ Patch coverage is 14.51613% with 159 lines in your changes missing coverage. Please review.
✅ Project coverage is 68.39%. Comparing base (f604cef) to head (bb3fa25).

Files with missing lines Patch % Lines
Sources/Segment/Plugins/EventDebugger.swift 0.00% 61 Missing ⚠️
Sources/Segment/SwiftUISupport.swift 0.00% 50 Missing ⚠️
Sources/Segment/Builtins.swift 33.33% 40 Missing ⚠️
...t/Plugins/Platforms/Mac/macOSLifecycleEvents.swift 46.66% 8 Missing ⚠️

❌ Your patch check has failed because the patch coverage (14.51%) is below the target coverage (80.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #411      +/-   ##
==========================================
- Coverage   71.07%   68.39%   -2.69%     
==========================================
  Files          49       52       +3     
  Lines        4930     3828    -1102     
==========================================
- Hits         3504     2618     -886     
+ Misses       1426     1210     -216     
Files with missing lines Coverage Δ
Sources/Segment/Analytics.swift 83.40% <ø> (-1.54%) ⬇️
...t/Plugins/Platforms/Mac/macOSLifecycleEvents.swift 24.32% <46.66%> (+21.88%) ⬆️
Sources/Segment/Builtins.swift 33.33% <33.33%> (ø)
Sources/Segment/SwiftUISupport.swift 0.00% <0.00%> (ø)
Sources/Segment/Plugins/EventDebugger.swift 0.00% <0.00%> (ø)

... and 47 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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