Skip to content

Conversation

@mstniy
Copy link
Owner

@mstniy mstniy commented Mar 30, 2025

Lets us swiftly remove all dag run-related state once it is done
Ban .listen even for async computations
onDependencyUpdated no longer throws exceptions NoValueException
Instead returns an empty downstream
.listen no longer calls eval() directly
It used to bypass onDependencyChanged, breaking the delayed eval pattern
Routers: Delay the delivery of data if a dag run is already going on StreamExtension: Delay the onListen event by one microtask to make sure we don't call .listen within a computation in case we are being used by a computation

  Lets us swiftly remove all dag run-related state once it is done
Ban .listen even for async computations
onDependencyUpdated no longer throws exceptions NoValueException
  Instead returns an empty downstream
.listen no longer calls eval() directly
  It used to bypass onDependencyChanged, breaking the delayed eval pattern
Routers: Delay the delivery of data if a dag run is already going on
StreamExtension: Delay the onListen event by one microtask to make sure we don't call .listen within a computation in case we are being used by a computation
@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 94.87179% with 4 lines in your changes missing coverage. Please review.

Project coverage is 99.39%. Comparing base (a4a50ed) to head (abeea9a).

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #44      +/-   ##
==========================================
- Coverage   99.60%   99.39%   -0.22%     
==========================================
  Files          42       42              
  Lines        1794     1811      +17     
  Branches      971      976       +5     
==========================================
+ Hits         1787     1800      +13     
- Misses          7       11       +4     
Components Coverage Δ
computed 98.11% <94.87%> (-0.66%) ⬇️
computed_collections 100.00% <ø> (ø)
🚀 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.

3 participants