Skip to content

Scope team connection status and cached reads to the active workspace - #202

Open
glwhappen wants to merge 1 commit into
ProxyShard:mainfrom
glwhappen:fix/team-reach-workspace-scope
Open

glwhappen wants to merge 1 commit into
ProxyShard:mainfrom
glwhappen:fix/team-reach-workspace-scope

Conversation

@glwhappen

Copy link
Copy Markdown

A team list request can finish after the user changes workspace or membership. The cache now validates the workspace captured by the request before keeping its result. The workspace includes the team, member, public permission key and entry epoch. A change to the saved server address or token also advances the epoch without exposing the token over IPC.

The frontend applies a team-status event only to its matching workspace and rejects older space-state responses. A prior entry into the same team therefore cannot fill the lists or change the banner after a return from Personal. Lazy profile reads and queued refreshes use the same scope.

The launcher tests cover delayed completions after switching teams, returning to the same team, and accepting a different member in the same team. Browser tests cover delayed status events and delayed space-state responses.

Standalone Linux cache tests and the integrated frontend checks passed.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant