Skip to content

Windsurf quota disappears when extra usage balance is missing #345

@prayzey

Description

@prayzey

Problem

For my Windsurf account, OpenUsage shows:

Windsurf quota data unavailable. Try again later.

Even though Windsurf is still returning usable quota data.

The daily quota, weekly quota, and reset times are present, but the extra usage balance field is missing. When that happens, OpenUsage currently treats the whole response like an error and shows the red error state instead of the quota bars.

What I expected

If Windsurf returns the main quota data, OpenUsage should still show it.

If the extra usage balance is missing or invalid, it should just hide that one line instead of failing the whole provider.

Why this matters

Right now, one missing field makes Windsurf look completely broken, even when the useful usage data is still available.

What I found

Screenshot

Image

I tested this locally and confirmed that Windsurf can return:

  • daily quota
  • weekly quota
  • reset times

without returning planStatus.overageBalanceMicros.

A small parser change fixes the problem by making the extra usage balance optional.

I already have a local fix working and I am happy to open a PR if a maintainer confirms that this is the right direction.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions