Skip to content

Clickable GitHub status badge with API call trace log #94

@wesm

Description

@wesm

Make the GitHub rate/budget status badge in the status bar clickable. Clicking it should open a panel or modal showing a log of recent API call traces, so the user can see exactly what middleman is doing with their GitHub API budget.

Context: after adding transport-level budget tracking (budgetTransport), the status bar now shows accurate budget_spent/budget_limit. But there's no way to inspect which calls are being made. An API call log would help users understand budget consumption and debug unexpected usage.

Rough scope:

  • Record recent API calls (method, URL path, status code, timestamp) in a ring buffer
  • Expose via an API endpoint (e.g. GET /api/v1/api-log)
  • Make the status bar GitHub section clickable to open a trace viewer
  • Consider grouping by sync cycle for readability

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions