Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wait for explicit stack messages for network state #554

Merged
merged 2 commits into from
May 9, 2023

Conversation

puddly
Copy link
Contributor

@puddly puddly commented May 8, 2023

Looks like #553 affected more than just zigbeed, as I've been able to replicate it on EmberZNet 6.9 and 7.1 with NCP USB coordinators...

The root cause appears to be us not properly waiting for stack events to happen (i.e. NETWORK_UP and NETWORK_DOWN), leading to race conditions or outright failures at random.

@puddly puddly marked this pull request as ready for review May 9, 2023 15:54
@codecov
Copy link

codecov bot commented May 9, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (8549f27) 99.76% compared to head (91750b5) 99.76%.

Additional details and impacted files
@@           Coverage Diff           @@
##              dev     #554   +/-   ##
=======================================
  Coverage   99.76%   99.76%           
=======================================
  Files          62       62           
  Lines        4586     4594    +8     
=======================================
+ Hits         4575     4583    +8     
  Misses         11       11           
Impacted Files Coverage Δ
bellows/ezsp/__init__.py 99.17% <100.00%> (+0.03%) ⬆️
bellows/zigbee/application.py 100.00% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

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.

1 participant