Skip to content

fix(app): prevent stale Den org refreshes#1742

Merged
benjaminshafii merged 1 commit intodevfrom
fix/den-org-refresh-race
May 9, 2026
Merged

fix(app): prevent stale Den org refreshes#1742
benjaminshafii merged 1 commit intodevfrom
fix/den-org-refresh-race

Conversation

@benjaminshafii
Copy link
Copy Markdown
Member

Summary

  • Allow cloud extension refreshes for a newly selected org to start even when the previous org's refresh is still in flight.
  • Guard cloud skill, skill hub, and marketplace responses so stale previous-org results cannot overwrite the selected org's UI.

Evidence

Build verification

  • pnpm install -- passed in the fresh worktree.
  • pnpm --filter @openwork/app build -- passed.

API verification

  • No API contract changes.

UI verification

  • Not run via Chrome MCP in this turn. The fix targets the Settings cloud refresh race where org switching could continue showing the initial org's cloud data.

Test instructions

  1. Sign in to OpenWork Cloud with at least two orgs.
  2. Open Settings -> Cloud.
  3. Switch rapidly between orgs while cloud sections are loading.
  4. Verify Skills, Skill Hubs, and Marketplaces & Plugins show data for the selected org, not the initial org.

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented May 9, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
openwork-app Building Building Preview, Comment May 9, 2026 3:23am
openwork-den Building Building Preview, Comment May 9, 2026 3:23am
openwork-den-worker-proxy Building Building Preview, Comment May 9, 2026 3:23am
openwork-landing Building Building Preview, Comment, Open in v0 May 9, 2026 3:23am
openwork-share Building Building Preview, Comment May 9, 2026 3:23am

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