Skip to content

[dashboard] cache usage queries #16746

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

Merged
merged 1 commit into from
Mar 8, 2023
Merged

[dashboard] cache usage queries #16746

merged 1 commit into from
Mar 8, 2023

Conversation

svenefftinge
Copy link
Contributor

Description

Fixes a bug where when on the usage view we send the same request every second and also moves the usage fetching to a react query that is cached 10 mins.

Related Issue(s)

Fixes #

How to test

Release Notes

NONE

Documentation

Build Options:

  • /werft with-werft
    Run the build with werft instead of GHA
  • leeway-no-cache
    leeway-target=components:all
  • /werft no-test
    Run Leeway with --dont-test
Publish Options
  • /werft publish-to-npm
  • /werft publish-to-jb-marketplace
Installer Options
  • with-ee-license
  • with-dedicated-emulation
  • with-ws-manager-mk2
  • workspace-feature-flags
    Add desired feature flags to the end of the line above, space separated

Preview Environment Options:

  • /werft with-local-preview
    If enabled this will build install/preview
  • /werft with-preview
  • /werft with-large-vm
  • /werft with-gce-vm
    If enabled this will create the environment on GCE infra
  • /werft with-integration-tests=all
    Valid options are all, workspace, webapp, ide, jetbrains, vscode, ssh

@svenefftinge svenefftinge requested a review from a team March 8, 2023 20:38
@svenefftinge svenefftinge requested a review from gtsiolis as a code owner March 8, 2023 20:38
@werft-gitpod-dev-com
Copy link

started the job as gitpod-build-se-usage-cache.1 because the annotations in the pull request description changed
(with .werft/ from main)

@roboquat roboquat added the size/L label Mar 8, 2023
@github-actions github-actions bot added the team: webapp Issue belongs to the WebApp team label Mar 8, 2023
@roboquat roboquat merged commit 24fe829 into main Mar 8, 2023
@roboquat roboquat deleted the se/usage-cache branch March 8, 2023 21:14
@roboquat roboquat added deployed: webapp Meta team change is running in production deployed Change is completely running in production labels Mar 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployed: webapp Meta team change is running in production deployed Change is completely running in production release-note-none size/L team: webapp Issue belongs to the WebApp team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants