Skip to content

fix(web): scope Home reads to active workspace - #2647

Merged
jonathanhaaswriter merged 1 commit into
mainfrom
codex/home-workspace-scope
Aug 26, 2026
Merged

fix(web): scope Home reads to active workspace#2647
jonathanhaaswriter merged 1 commit into
mainfrom
codex/home-workspace-scope

Conversation

@jonathanhaaswriter

@jonathanhaaswriter jonathanhaaswriter commented Aug 26, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • propagate the existing tenant and workspace URL scope to all Home data reads
  • stop Home reads when a workspace has no tenant
  • preserve unscoped and tenant-only Home behavior

Validation

  • npm test -- --run src/app/page.test.tsx src/lib/grc-scope.test.tsx (11 tests passed)
  • NODE_OPTIONS=--localstorage-file=/tmp/cerebro-home-workspace-scope-vitest-localstorage npm test -- --run (114 files, 696 tests passed)
  • npx eslint src/app/page.tsx src/app/page.test.tsx src/lib/grc-scope.ts src/lib/grc-scope.test.tsx
  • npm run build

@jonathanhaaswriter
jonathanhaaswriter merged commit b3aef26 into main Aug 26, 2026
36 checks passed
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