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
Work view backlog shows wrong repo's issues for non-codev workspaces #333
The Work view's backlog section shows GitHub issues from the codev repo regardless of which workspace is active. Screenshot shows the "life" workspace displaying codev issues (#323-#332, #178, #143, #141) and codev's PR #309.
Root Cause
The /api/overview endpoint in overview.ts calls fetchIssueList() and fetchPRList() from github.ts, which use gh CLI. These calls likely run from the Tower's working directory (the codev repo) rather than the workspace's directory, so gh picks up codev's remote.
Fix
The getOverview() function needs to receive the workspace root path and run gh commands with cwd set to that workspace. If the workspace has no GitHub remote, the backlog/PR sections should be empty (not show another repo's data).
Dependencies
None — independent fix, but part of the #323 family.
Still happening. Root cause identified: OverviewCache has a single global cache (prCache, issueCache, closedCache) that's not keyed by workspace. When codev's overview loads first, the cache fills with codev's GitHub issues. When another project requests its overview within the 60s TTL, the cache returns stale codev data.
The lastWorkspaceRoot invalidation (line ~599) only triggers on workspace switch, but the individual cache getters (fetchPRsCached, fetchIssuesCached, fetchRecentlyClosedCached) ignore the cwd parameter when returning cached data.
Fix: key the cache by workspace path, not just TTL.
Activity
waleedkadous commentedon Feb 16, 2026
On it! Working on a fix now.
[Bugfix #333] Fix: Pass workspace cwd to gh CLI in overview endpoint
[Bugfix #333] Test: Add regression tests for workspace-scoped gh CLI …
Merge pull request #339 from cluesmith/builder/bugfix-333-work-view-b…
waleedkadous commentedon Feb 17, 2026
Still happening. Root cause identified:
OverviewCachehas a single global cache (prCache, issueCache, closedCache) that's not keyed by workspace. When codev's overview loads first, the cache fills with codev's GitHub issues. When another project requests its overview within the 60s TTL, the cache returns stale codev data.The
lastWorkspaceRootinvalidation (line ~599) only triggers on workspace switch, but the individual cache getters (fetchPRsCached,fetchIssuesCached,fetchRecentlyClosedCached) ignore thecwdparameter when returning cached data.Fix: key the cache by workspace path, not just TTL.
[Bugfix #388] Fix null phase display + key cache by workspace
[Bugfix #388] Fix null phase display + key cache by workspace