Skip to content

perf(statusline): bound or cache codedeck usage lookup #34

Description

@4ndreello

The Claude statusline invokes codedeck usage on every render (plugin/statusline.sh, refreshInterval 2), with a timeout up to 1000ms, and that call may autostart the daemon. It degrades safely to local-only on failure, but a hung or slow daemon makes every prompt render lag up to a full second.

Source: PR #30 independent review, non-blocking finding #10.

Suggested fix: shorten the per-render timeout and/or cache the last good aggregate and refresh it out of band, so a slow daemon never blocks prompt rendering.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions