forked from BSkando/GoogleFindMy-HA
-
Notifications
You must be signed in to change notification settings - Fork 1
fix(coordinator): reset the auth state only on a positive proof #1267
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
Merged
Merged
Changes from 9 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
11c34e4
fix(coordinator): reset the auth state only on a location with content
jleinenbach addb7b6
fix(coordinator): reset the transient auth counter on a device-list r…
jleinenbach 78a86ce
fix(coordinator): apply the same rule to the manual locate
jleinenbach c72ae45
fix(tests): invert the last pin that asserted the old manual-locate r…
jleinenbach f4c0129
docs: retire the prose that still calls the success reset an open fin…
jleinenbach 769c8f9
docs: fix three claims the sweep got wrong and one file it missed
jleinenbach f5fb8d0
fix(coordinator): keep a booked auth failure across the list refresh
jleinenbach 6f8b2cc
fix(coordinator): bind the auth-failure marker to the poll cycle, not…
jleinenbach a371b64
docs: name the measured limit of the escalation instead of overclaimi…
jleinenbach 4143053
fix(coordinator): break the rejection streak on the clock that counts it
jleinenbach a6a3e97
fix(coordinator): do not let an outage clear a rejection budget
jleinenbach 31279d8
docs(api): let the location contract say what the callers now do
jleinenbach 063dac8
fix(coordinator): raise the streak by at most one per cycle
jleinenbach 1256222
fix(coordinator): let the cycle, not the first rejecting device, judg…
jleinenbach e0fae4a
fix(coordinator): keep the stored cause with the count in a mixed cycle
jleinenbach a25112e
docs(coordinator): stop calling the device list the counter's everyda…
jleinenbach fffb685
fix(coordinator): let a running cycle keep the streak it is spending
jleinenbach 17a8db3
fix(coordinator): let content withdraw the rejection it stands next to
jleinenbach b3e459d
fix(coordinator): keep a failure that had to queue behind a rejection
jleinenbach File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
This paragraph says a successful
async_get_basic_device_listis a proof source for the transient-auth counter and calls the device list its everyday reset source, but this commit deliberately removes that reset frompolling.py; the very next paragraph also says the counter is not reset by device-list refreshes. Leaving both claims in the operating contract gives future changes mutually exclusive invariants, so describe the list refresh as clearing only the account auth state.AGENTS.md reference: AGENTS.md:L628-L629
Useful? React with 👍 / 👎.