Skip to content

Let each team workspace load independently - #203

Open
glwhappen wants to merge 2 commits into
ProxyShard:mainfrom
glwhappen:fix/team-fill-workspace-turn
Open

glwhappen wants to merge 2 commits into
ProxyShard:mainfrom
glwhappen:fix/team-fill-workspace-turn

Conversation

@glwhappen

Copy link
Copy Markdown

A slow refresh from the previous team could hold the launcher's one cache-fill lock. Switching to a healthy team would then wait for the eight-second readiness timeout, and its lists still had to wait for the old request.

The active workspace now has its own fill lock. Initial loads, explicit refreshes, and coalesced changes still serialize within that workspace. A late task cannot replace another workspace's lock or apply its old cache result. A permission request that returns after a switch is checked before acceptance.

This stacks on #202. The follow-up is b6e0b24.

The regression holds the previous workspace's lock through a real team switch and checks that the healthy team returns Ready with its profiles. It also checks that returning to the original team uses a new lock.

Standalone Linux cache tests 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