Repository navigation
fix: keep team state current on every Mac - #689
Merged
Merged
Conversation
…the sidebar, a served directory's Settings shows joins, Team setup defaults to joining an existing team, and a section's Offline isn't truncated Why: apps/host/src/directory-server.ts#function handle | a host's first publish to the served directory calls joined, so the serving host re-reads its own directory now instead of on its heartbeat Why: apps/app/src/onboarding.tsx#function useRoster | People re-asks the roster on every listings and settings frame, since the host sends one when a peer comes or goes or the directory changes; the 15 s poll only finds new peers
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.
Keeps team state current on every Mac (^101, ^103, ^104, ^106; #610, #631, #636, #604).
useRosterasks again on every listings frame and every settings frame. The host sends a listings frame whenever a peer comes or goes.Nearby.SessionSidebarGroupgains anotethat sits after the truncated label and never shrinks. A teammate's section now readsace · samechoc… · Offlineinstead of losing the suffix.Smoke, on an isolated
bun ace serve --port 5145from this lane (its own ACE_HOME, config and keychain service, with a rebuiltapps/app/dist):PUT /directory/hosts/natembpthat counted as a first publish sent asettingsframe within about 150 ms. A host added to the directory showed up under In the directory without a Refresh.team-rosteragain after eachchannelsframe.ace · rivera · Offlineandace · samechoc… · Offlinein All Projects. The button's label says…, Offline.Built in Ace
No. This was a Claude Code fix-train worker in a terminal (#5), with headless Playwright for the smoke screenshots. The fix train runs agents outside Ace.