You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Test Ticker can Propagate Messages Through a Variety of Complex Graphs #184
There should be a large suite of graphs, ranging from very simple A -> B to very complicated involving many nodes and near-loops. We should try to avoid propagation bugs such as that fixed by #180 from persisting long-term.
The skipping of device updates that do not have deltas is fixed by #180 . It would be beneficial to have tests that attempt to propagate updates through a graph and ensure the full graph is skipped down wind of nodes which provide no updates, while also ensuring components do not get skipped incorrectly.
This would require running a scheduler and monitoring its tick, using the tickers propagate and checking the production of skips in schedule_possible_updates.
Activity
abbiemery commentedon Aug 30, 2023
As stated in #183 .
The skipping of device updates that do not have deltas is fixed by #180 . It would be beneficial to have tests that attempt to propagate updates through a graph and ensure the full graph is skipped down wind of nodes which provide no updates, while also ensuring components do not get skipped incorrectly.
This would require running a scheduler and monitoring its tick, using the tickers
propagateand checking the production of skips inschedule_possible_updates.callumforrester commentedon Aug 30, 2023
Do you need a scheduler? Or can you just simulate one by prodding the appropriate methods on the ticker at the right time?