Repository navigation
Fix source update splash identity and mobile update row layout - #4996
Merged
Merged
Conversation
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.
Human comments
What was wrong
The global restart splash still displayed the package version for source updates because the server dropped the launcher's target commit when exposing restart status. A source update to
9f4ee4dconsequently appeared as “Updating bb to 0.45.0.” On narrow update rows, progress captions competed with the app identity and commit metadata for horizontal space, producing different wrapping at each stage.What changed
targetCommitto the public restarting activity returned bysdk.system.appUpdate()and the system update API. It is null for npm updates. The CLI's JSON output inherits this status field. No host-daemon wire changes or protocol bump are involved.How you verified
pnpm exec turbo run test --filter=@bb/app -- src/components/app-update/AppUpdateHost.test.tsx src/components/app-update/app-update-presentation.test.tspnpm exec turbo run test --filter=@bb/server -- test/system/app-update.test.tspnpm exec turbo run test --filter=@bb/app -- src/components/settings/UpdatesSettingsSection.test.tsxpnpm exec turbo run typecheck lint --filter=@bb/app --filter=@bb/serverpassed; app checks also passed after the layout change. Lint reported existing warnings and no errors.git diff --checkpassed.