Skip to content

fix(observable): clarify next-only subscribe errors - #285

Merged
wjian23 merged 1 commit into
masterfrom
fix/fallible-subscribe-diagnostics
Sep 4, 2026
Merged

fix(observable): clarify next-only subscribe errors#285
wjian23 merged 1 commit into
masterfrom
fix/fallible-subscribe-diagnostics

Conversation

@M-Adoo

@M-Adoo M-Adoo commented Sep 1, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Clarifies that next-only subscriptions require infallible observables.
  • Guides users to handle fallible streams explicitly with .on_error(...).
  • Improves diagnostics by hiding generic observer forwarding details.
  • Marks OnError results as infallible and adds regression coverage.

@codecov

codecov Bot commented Sep 1, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.72%. Comparing base (0e66079) to head (1d036f4).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #285      +/-   ##
==========================================
+ Coverage   82.47%   82.72%   +0.25%     
==========================================
  Files          84       84              
  Lines       11887    12246     +359     
==========================================
+ Hits         9804    10131     +327     
- Misses       2083     2115      +32     

☔ View full report in Codecov by Harness.
📢 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.

Require next-only subscriptions to use infallible observables, provide guidance to handle errors with `.on_error(...)`, and hide the generic observer forwarding implementation from diagnostics. Mark `OnError` results as infallible and add regression coverage.
@M-Adoo
M-Adoo force-pushed the fix/fallible-subscribe-diagnostics branch from bc5f4dc to 1d036f4 Compare September 2, 2026 02:08
@wjian23
wjian23 disabled auto-merge September 4, 2026 14:17
@wjian23
wjian23 merged commit 0e638ae into master Sep 4, 2026
12 checks passed
@wjian23
wjian23 deleted the fix/fallible-subscribe-diagnostics branch September 4, 2026 14:18
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