You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(web): agent message senders show "Unnamed participant" after a page reload #635
After a full page load (reload, or opening the thread URL directly) of a thread with agent-to-agent messages, the sender name on the message cards can read Unnamed participant. Switching to another thread and back shows the right names. Delivery, content and placement are unaffected.
Found by the Astra live tester on PR #634. It reproduces on j5/main (6ff4e78dd0) as well as on the PR head, so it predates the upstream advance.
Steps
On a test server, have one agent message another, so the receiver's thread shows a message card.
Reload the receiver's thread in the browser.
The card's sender reads "Unnamed participant".
Open another thread, then come back: the name is right.
Likely cause
apps/web/src/j5/a2a/ParticipantIdentitiesClient.ts (around lines 23–36) reads the identities keyed only by environment and participant ids, with no dependency on the connection. On a full load the read can run before the connection is ready. archiveFlowClient.ts:23 turns the failed read into an empty result, and nothing retries it once the connection comes up.
Fix direction: have the read follow the environment connection, so it runs (or runs again) once the connection is ready, rather than adding a retry timer.
Activity