Skip to content

bug: dashboard workspaces page spams the build timings endpoint #17188

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

Closed
1 task done
deansheather opened this issue Apr 1, 2025 · 3 comments · Fixed by #17590
Closed
1 task done

bug: dashboard workspaces page spams the build timings endpoint #17188

deansheather opened this issue Apr 1, 2025 · 3 comments · Fixed by #17590
Assignees
Labels
s3 Bugs that confuse, annoy, or are purely cosmetic

Comments

@deansheather
Copy link
Member

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Opening a running workspace in the dashboard seems to spam the build timings endpoint once per second.

GET /api/v2/workspacebuilds/xyz/timings

I'm not sure if this is necessary but it seems over the top/unintended.

Image

Relevant Log Output

Expected Behavior

No spam

Steps to Reproduce

  1. Open a running workspace in the dashboard

Environment

  • Host OS: Windows Firefox
  • Coder version: main

Additional Context

No response

@deansheather deansheather added the needs-triage Issue that require triage label Apr 1, 2025
@matifali matifali added s3 Bugs that confuse, annoy, or are purely cosmetic s4 Internal bugs (e.g. test flakes), extreme edge cases, and bug risks customer-reported Bugs reported by enterprise customers. Only humans may set this. and removed needs-triage Issue that require triage s4 Internal bugs (e.g. test flakes), extreme edge cases, and bug risks labels Apr 1, 2025
@dannykopping
Copy link
Contributor

dannykopping commented Apr 9, 2025

I think we should convert this into a Server-Sent Events/WebSocket endpoint to be consistent with other approaches (e.g. /workspacebuilds/{workspacebuild}/logs).

@matifali matifali removed the customer-reported Bugs reported by enterprise customers. Only humans may set this. label Apr 9, 2025
@BrunoQuaresma
Copy link
Collaborator

I can do a quick fix in the FE side but I like the idea that @dannykopping suggested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
s3 Bugs that confuse, annoy, or are purely cosmetic
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants