Skip to content

[Bug]: Used and Left credits do not update after allocation changes #188

@kstij1

Description

@kstij1

Affected area

account/storage-credit-control.mdx → Credit Control table (Used Credits / Left Credits)

Summary

Used Credits and Left Credits columns are not updating after changes to user allocations or after usage events.

Steps to reproduce

  1. Go to Account → Storage/Credit Control.
  2. Adjust a user’s allocated credits (via “Allocate to Selected” or per-user controls).
  3. Trigger an action that consumes credits (e.g., upload doc, run job) or reload.
  4. Observe the “Used Credits” and “Left Credits” columns.

Expected behavior

  • “Used Credits” reflects the latest consumption.
  • “Left Credits” equals Total Credits − Used Credits immediately after updates, without requiring a hard refresh.

Actual behavior

Values remain stale, showing old numbers until a full page reload; sometimes they don’t update at all.

Environment

  • OS: macOS 13 (Ventura)
  • Browser: Chrome 128 (also seen on Safari)
  • App/Docs branch: main (latest)
  • Account: Workspace with multiple members

Screenshots / Images

Attach screenshot highlighting the stale columns.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions