Repository navigation
Conversation
AndroidStateProvider copied the filter and formatter for every observation and ran them in a worker thread. A caller's own object that holds a lock could not be copied, so every state read failed; state it kept landed on a throwaway copy; and code using the running event loop raised in the thread. Only the package's own filter and formatter classes are copied and run off the loop now. Anything else, subclasses included, is called in place on the event loop, on the caller's object. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The live state is masked before it is compared with the recorded one. A recording made before masking existed stores a typed e-mail or username in clear text, so on small screens the comparison fell below the threshold and the replay stopped after the first typed secret. The recorded state is compared as saved and, if that does not match, after the same masking as the live state. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Changes
AndroidStateProvidercopied the filter and formatter for every observation and ran them in a worker thread. A caller's object holding a lock failed to copy (every state read failed), state it kept landed on a throwaway copy, and event-loop code raised. Only the package's ownConciseFilter,DetailedFilterandIndexedFormatterare copied and run off the loop now; anything else, subclasses included, runs in place on the loop.Testing
test_state_provider_custom_processors.pyandtest_macro_replay_recorded_secret_state.py.🤖 Generated with Claude Code