fix(mobile): hydrate peer presence before live heartbeat - #25
Merged
Conversation
Signed-off-by: Brian Charbonneau <github@briancharbonneau.com>
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
Signed-off-by: Brian Charbonneau <github@briancharbonneau.com>
BrianInAz
marked this pull request as draft
August 10, 2026 08:34
…-hydration Signed-off-by: Brian Charbonneau <github@briancharbonneau.com>
Signed-off-by: Brian Charbonneau <github@briancharbonneau.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.
Summary
20001relay queryMap<String, String>provider contract and unchanged widgetsRoot cause
iOS previously consumed only ephemeral live presence events. Events received before a DM pubkey was tracked were discarded, and ephemeral events are not stored or replayed. An already-online peer therefore remained gray until its next heartbeat. Relay connectivity and peer presence are separate signals.
TDD and validation
just mobile-check: passedjust ci: passed after the branch was refreshed onto currentmainSimulator acceptance used only the worktree-specific debug bundle. The existing public Home Lab CA was trusted only in that isolated simulator after explicit approval. The unbacked physical iOS 27 beta phone was not touched. One final cold-launch proof will be repeated from the merged
mainbuild.Promotion prerequisites resolved
The branch was merged forward, without force-pushing, through signed-off commit
e3b5e4cd9c92onto verifiedmaincommitf73b2bdd5d95.mainand is not part of this PR's unique diff.Exact-SHA post-merge validation for the integration base is green: CI 31535160441, Sprig 31535160539, and Helm 31535160483.
Evidence and tracking
ios-buzz-59eScope boundaries
No Desktop, CLI, relay, Hermes runtime, heartbeat, TTL, authentication, membership, or protocol changes are included. No peer identity, private key, or private device identifier is hardcoded or documented.