Repository navigation
Say why the session is being checked, in the line that says it is fine - #298
Merged
Merged
Conversation
askForACodeIfTheSessionNeedsOne runs after every account restore as well as after failed fetches, and its "healthy" line always said "after a failed fetch, so the refusal is specific to fetching". Every launch's log therefore read as a fetch problem when nothing had failed. The restore caller now logs "The restored session answers as healthy"; the three fetch-failure callers keep the old wording. Behaviour is unchanged, and no request is added: on a logged-in session the check only reads login_state. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
parawanderer
temporarily deployed
to
Android Build
November 21, 2026 14:13 — with
GitHub Actions
Inactive
parawanderer
temporarily deployed
to
Android Build
November 21, 2026 14:13 — with
GitHub Actions
Inactive
This branch was previously deployed
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.
Summary
askForACodeIfTheSessionNeedsOneruns after every account restore (a restore can land on a session that already wants a code) as well as after failed fetches. Its "healthy" log line always said "The session answers as healthy after a failed fetch, so the refusal is specific to fetching", so every launch's log read as a fetch problem when nothing had failed. Seen in the #274 device tests, on both the emulator and the phone.Changes
getSecondFactorMethodsIfNeededonly readslogin_stateand sends nothing to Apple.Testing
Compiles; log text only, so nothing asserts it.
🤖 Generated with Claude Code