-
-
Notifications
You must be signed in to change notification settings - Fork 214
fix: LiveQuery not working due to ethernet not recognized as connectivity state #1091
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
Conversation
Part 2 of 2 fixes to address issue parse-community#1042
|
🚀 Thanks for opening this pull request! |
📝 WalkthroughWalkthroughCentralizes connectivity interpretation in a new helper Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes
Possibly related PRs
Suggested reviewers
Pre-merge checks and finishing touches✅ Passed checks (5 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (4)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this 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 adds support for the ethernet connectivity type to align with the connectivity_plus package, completing the fix for LiveQuery connectivity issues (issue #1042). This is part 2 of a two-part change that requires the Dart package update (PR #1090) to be merged first.
Key Changes:
- Added ethernet connectivity checks to both
checkConnectivity()andconnectivityStreammethods - Ethernet is prioritized between wifi and mobile in the connectivity type hierarchy
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
The label |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1091 +/- ##
==========================================
+ Coverage 43.54% 43.75% +0.21%
==========================================
Files 61 61
Lines 3587 3588 +1
==========================================
+ Hits 1562 1570 +8
+ Misses 2025 2018 -7 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@kirkmorrow Does the PR title make sense? |
|
@mtrezza This is part 2 of the fix. Feel free to update the title, I just stole the title text from the original bug this addresses. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
mtrezza
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this ready for merge?
I'm taking another look at testing to cover the coverage complaints. I'll let you know when I'm done. |
Eliminate duplicated code with helper function
1edf729
|
Okay... let's see how happy the AI bots are with these changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Darn it... I forgot to run "dart format" and made a second commit. However, it looks like the tests only ran on the first commit. @mtrezza can you force those tests to run again? |
|
If those test pass on re-run then I'm ready to merge. |
|
Re-running...
|
|
Looks like it's finally ready for merge. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
# [flutter-v10.6.1](flutter-10.6.0...flutter-10.6.1) (2025-12-03) ### Bug Fixes * LiveQuery not working due to ethernet not recognized as connectivity state ([#1091](#1091)) ([60520d6](60520d6))
|
🎉 This change has been released in version flutter-v10.6.1 |
Part 2 of 2 fixes to address issue #1042
PR for part 1 is #1090
Pull Request
Issue
Closes: #1042
This is part 2 of 2 required for this fix. The Dart package update will need to be committed first. Then this PR will need to update pubspec.yaml to use that new package before this can be merged.
Approach
Use new ethernet enum to return a connection type consistent with connectivity_plus.
Tasks
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.