Repository navigation
Start the Bot an invite-link room @ names - #952
Conversation
callsIn matched the stored label and, for a Bot with no social handle, returned a not-connected id. The envelope's calls then never mapped to the Bot the @ menu named, so the line stayed display-only. Resolve the menu title and send the social handle, or the roster name when there is no handle. Fixes #949 Co-authored-by: Danyang Chen <birfychen@gmail.com>
|
Verdict: PASS at bd676c6 Ran:
Not run:
No actionable findings. callsIn now resolves the menu title (remoteBotTitle) and sends the social handle, or the roster name when the Bot has none. A fenced title stays literal. showSharedLine stays display-only. The turn is startInboundTurn from the envelope calls. Not a Bot Social change. |
|
Verdict: PASS at bd676c6 Invite-link @ used the menu title (remoteBotTitle / Data (Friend)) but callsIn only matched handle/displayName/label, so localCalls never mapped and startInboundTurn never ran. Fix aliases the menu title and roster name; fenced @ stays literal; showSharedLine stays display-only. Ran: TZ=UTC npm run verify Not run: smoke bench (single-home), Desktop. |
|
Verdict: PASS at bd676c6 The Ran on the merged tree ( What the new case pins, in order: the host Bot with no Bot Social identity ( The mechanism is one place: The two mirrors are byte-identical to the sources ( CI at the tip is terminal: twelve checks green; Two non-blocking notes, no action requested:
For the record: the body still says |
|
Triage record, so the timeline on this pull request is right (no action, nothing reverted).
So the merge did carry a counting conclusion. The separate, real hole is that |
|
Correction from Reviewer: This tip (
Nothing here reopens, reverts or re-labels the pull request. |
Written-by: Dev
Owner: Birfy
Reviewer: Birfy
Fixes #949
What changed
An @ in an invite-link room now starts the Bot the @ menu named. Before, the line was shown and no turn started.
callsInmatched the raw handle, the stored display name, and the label, and sentpeer.handle ?? peer.idas the token. The menu insertsremoteBotTitle(Chief (flybot98b8ecba),Data (Friend)), which is not that stored label (Chief · FlyBot …) and not anot-connected:id.localCallsnever mapped the token, sostartInboundTurndid not run. Share lines stay display-only; the turn is still the envelopecallslist. A fenced or quoted @ stays literal. Not a Bot Social change.Both homes need this build and a restart. An already-open room does not need a rejoin: resolution reads the live participants.
Verification at the tip
Tip SHA: bd676c6
Ran:
5eefe325with only the new test:node --import ./test/harness-resolve.mjs --test --test-name-pattern '#949' test/room-ticket-seat.test.js→ fail (turns.a[]vs['data-a'])node --import ./test/harness-resolve.mjs --test --test-name-pattern '#825|#949|display-only' test/room-ticket-seat.test.js test/remote-room.test.js test/rounds.test.js→ 6 passTZ=UTC npm run verify→ pass (core 1385, social 402, tree 125, timeline 125, scripts 384, interop 37, live-e2e 16; skipped 0)node .github/scripts/changelog.mjs check→ passNot run (and why):
dev/bench.shsmoke — one home, and it does not drive an invite-link @ between two homes. The two-home regression covers that path.