Skip to content

Error controller mobile exposure#783

Merged
cehan-Chloe merged 7 commits intoerror-controllerfrom
error-controller-mobile-exposure
Feb 9, 2026
Merged

Error controller mobile exposure#783
cehan-Chloe merged 7 commits intoerror-controllerfrom
error-controller-mobile-exposure

Conversation

@cehan-Chloe
Copy link
Contributor

@cehan-Chloe cehan-Chloe commented Jan 19, 2026

4481c71 doc update here.

Change Type (required)

Indicate the type of change your pull request is:

  • patch
  • minor
  • major
  • N/A

Does your PR have any documentation updates?

  • Updated docs
  • No Update needed
  • Unable to update docs

@codecov
Copy link

codecov bot commented Jan 20, 2026

Bundle Report

Bundle size has no change ✅

@cehan-Chloe cehan-Chloe changed the base branch from main to error-controller January 20, 2026 16:00
@cehan-Chloe cehan-Chloe marked this pull request as ready for review January 20, 2026 16:33
@cehan-Chloe cehan-Chloe requested review from a team as code owners January 20, 2026 16:33
@codecov
Copy link

codecov bot commented Jan 20, 2026

Codecov Report

❌ Patch coverage is 92.70386% with 34 lines in your changes missing coverage. Please review.
✅ Project coverage is 85.99%. Comparing base (6889861) to head (38b9010).
⚠️ Report is 26 commits behind head on error-controller.

Files with missing lines Patch % Lines
.../com/intuit/playerui/core/error/ErrorController.kt 75.51% 2 Missing and 10 partials ⚠️
ios/core/Tests/ErrorControllerTests.swift 95.60% 11 Missing ⚠️
ios/core/Tests/Types/HooksTests.swift 91.83% 8 Missing ⚠️
ios/core/Sources/Types/Core/ErrorController.swift 93.87% 3 Missing ⚠️
Additional details and impacted files
@@                 Coverage Diff                  @@
##           error-controller     #783      +/-   ##
====================================================
+ Coverage             85.84%   85.99%   +0.14%     
====================================================
  Files                   508      512       +4     
  Lines                 22892    23358     +466     
  Branches               2673     2680       +7     
====================================================
+ Hits                  19652    20087     +435     
- Misses                 2911     2932      +21     
- Partials                329      339      +10     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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

@cehan-Chloe cehan-Chloe requested a review from nancywu1 February 3, 2026 21:29

var currentError = errorController?.getCurrentError()
assertNotNull(currentError)
assertFalse(currentError?.isUndefined() ?: true)
Copy link
Contributor

Choose a reason for hiding this comment

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

does this line not get smart casted? is the ? necessary

Copy link
Contributor

Choose a reason for hiding this comment

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

if so, also applies to a few tests above

Copy link
Contributor Author

@cehan-Chloe cehan-Chloe Feb 4, 2026

Choose a reason for hiding this comment

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

var is not getting smart casted. updated to val. -> not really. no smart casting after assertNotNull(currentError) and still need !!

@cehan-Chloe
Copy link
Contributor Author

@brocollie08 @nancywu1 addressed comments. Could I get a re review? thanks!

@cehan-Chloe cehan-Chloe merged commit fa8b5d3 into error-controller Feb 9, 2026
15 checks passed
cehan-Chloe added a commit that referenced this pull request Feb 9, 2026
* Error controller expose to iOS/Android
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.

3 participants