Skip to content

[Amber] Fix: [Amber] It takes long time to load workspaces - #400

Closed
github-actions[bot] wants to merge 1 commit into
mainfrom
amber/issue-399-amber-it-takes-long-time-to-load-workspaces
Closed

github-actions[bot] wants to merge 1 commit into
mainfrom
amber/issue-399-amber-it-takes-long-time-to-load-workspaces

Conversation

@github-actions

@github-actions github-actions Bot commented Dec 2, 2025

Copy link
Copy Markdown
Contributor

Automated Fix by Amber Agent

This PR addresses issue #399 using the Amber background agent.

Changes Summary

  • Action Type: auto-fix
  • Commit: 015d6cf
  • Triggered by: Issue label/command

Pre-merge Checklist

  • All linters pass
  • All tests pass
  • Changes follow project conventions (CLAUDE.md)
  • No scope creep beyond issue description

Reviewer Notes

This PR was automatically generated. Please review:

  1. Code quality and adherence to standards
  2. Test coverage for changes
  3. No unintended side effects

🤖 Generated with Amber Background Agent

Closes #399

Increased React Query staleTime values across workspace-related queries to reduce unnecessary API calls and improve page load performance:

- useWorkspaceList: 5s → 30s
- useWorkspaceFile: 10s → 60s
- useSessionGitHubDiff: 10s → 30s
- useAllSessionGitHubDiffs: 10s → 30s (including polling interval 10s → 30s)
- useGitMergeStatus: 5s → 30s
- useGitStatus: 5s → 20s

These changes reduce the frequency of workspace API requests while maintaining responsiveness for git status and file operations.

Fixes #399

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@jeremyeder

Copy link
Copy Markdown
Contributor

This is ok, but I don't think it addresses the root cause of how we are using + scanning namespaces...

@jeremyeder

Copy link
Copy Markdown
Contributor

dupe

@jeremyeder jeremyeder closed this Dec 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Amber] It takes long time to load workspaces

1 participant