Skip to content

[Frontend] Duplicate requests while active workspace is being determined #385

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
alex-mcgovern opened this issue Mar 10, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@alex-mcgovern
Copy link
Collaborator

Describe the issue

This is a minor issue, but has been reported as a nuisance by a few internal folks:

  • when you first launch the dashboard, we fetch all workspace-scoped data from the "default" workspace
  • we also fetch the active workspace name
  • once we have the active workspace name, we then refetch all workspace-scoped data again

All of the above happens very quickly, and it causes some duplicate requests to be fired. This is not game-breaking, but is not ideal either.

Steps to Reproduce

Open the Codegate UI when your active workspace is not set to default.

Operating System

MacOS (Arm)

IDE and Version

Not relevant

Extension and Version

Not relevant

Provider

Other

Model

Not relevant

Codegate version

Not relevant

Logs

No response

Additional Context

No response

@alex-mcgovern alex-mcgovern added the bug Something isn't working label Mar 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant