Conversation
MiMoHo
force-pushed
the
correct-favorites-remember-limit
branch
from
September 9, 2026 15:22
e327583 to
8239f43
Compare
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.
Problem
Two coupled Favorites retention paths can corrupt history state:
checkRememberNumPref:forPrimaryStore:always forwardsYES, even while editing Favorites. Cancelling a Favorites shrink can therefore overwrite the mainrememberNum, leavefavoritesRememberNumat the rejected value, and cause later trimming despite the cancellation.checkFavoritesRememberNumPref:always switches to Favorites and restores afterward. If Favorites is already selected in the bezel, that second switch overwrites the stashed reference to the main history; a later save can serialize Favorites as both histories.Change
isPrimaryStoreargumentVerification
AppControllerwith 19 application sources plus a fixturefavorite limit was forwarded as primaryalready-selected favorites store was switched re-entrantly0787d5e8d71fc70b527b647b57a38562984226beda0e5e0ead6f84737591c4f1: PASS, no findingsmaintest-inventory failure; the test now excludesTests/*.m9cba2a8440063093aae1f75d0f4733becd7e3966128558f9d8fc00e7de69ad2a: PASS, no findingsLimitation
A full signed Xcode release build and visible UI test were unavailable in this Command Line Tools environment. The native fixture executes the real controller methods and the complete target source-link comparison verifies the app target.