Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@puddly
Copy link
Collaborator

@puddly puddly commented May 24, 2025

FORCE_ROUTE_DISCOVERY being set to 3 was not valid: it became an alias for ACK | APS_Encryption, since this is a bitmap, and broke retries for zigpy-znp.

Related: home-assistant/core#145561 (comment)

@codecov
Copy link

codecov bot commented May 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.44%. Comparing base (7fb1b8d) to head (e756ecb).
Report is 4 commits behind head on dev.

Additional details and impacted files
@@           Coverage Diff           @@
##              dev    #1600   +/-   ##
=======================================
  Coverage   99.44%   99.44%           
=======================================
  Files          58       58           
  Lines       11460    11460           
=======================================
  Hits        11396    11396           
  Misses         64       64           

☔ 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.

@puddly puddly closed this May 24, 2025
@puddly puddly reopened this May 24, 2025
@puddly
Copy link
Collaborator Author

puddly commented May 24, 2025

Looks like Copilot could have caught this 😄: #1592 (comment).

I've enabled Copilot reviews for all future zigpy PRs as a test, we can disable it if it's too noisy.

@puddly puddly requested a review from Copilot May 24, 2025 21:03
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR corrects the bitmap values for the TransmitOptions flags to ensure each flag is a unique power-of-two value instead of overlapping integers.

  • Replaced hard-coded integers with bit-shift expressions for each flag
  • Ensures FORCE_ROUTE_DISCOVERY no longer conflicts with the combination of other flags

@puddly puddly merged commit ea966ca into zigpy:dev May 25, 2025
26 checks passed
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