[QA] Verify /usage account limits in CLI + gateway #958

Open
opened 2026-04-22 02:22:38 +00:00 by Rockachopa · 1 comment
Owner

Parent

#949

Branch / checkout

  • Validate on upstream/main or an equivalent synced checkout.

Commits landed today

  • 8a11b0a20 per-provider account limits module
  • bcc5d7b67 append account limits section in CLI and gateway

Targeted tests

  • tests/test_account_usage.py
  • tests/gateway/test_usage_command.py

Tasks

  • Run /usage in CLI for a provider with account limits.
  • Verify provider, remaining quota, total limit, and reset window render correctly.
  • Run /usage through the gateway and verify the same section appears.
  • Verify zero-value cache read/write sections stay hidden when appropriate.

Acceptance Criteria

  • CLI and gateway both show the landed account-limits section correctly.
  • Targeted tests pass.
## Parent #949 ## Branch / checkout - Validate on `upstream/main` or an equivalent synced checkout. ## Commits landed today - `8a11b0a20` per-provider account limits module - `bcc5d7b67` append account limits section in CLI and gateway ## Targeted tests - `tests/test_account_usage.py` - `tests/gateway/test_usage_command.py` ## Tasks - [ ] Run `/usage` in CLI for a provider with account limits. - [ ] Verify provider, remaining quota, total limit, and reset window render correctly. - [ ] Run `/usage` through the gateway and verify the same section appears. - [ ] Verify zero-value cache read/write sections stay hidden when appropriate. ## Acceptance Criteria - [ ] CLI and gateway both show the landed account-limits section correctly. - [ ] Targeted tests pass.
Rockachopa added this to the Morning review — Hermes harness features landed 2026-04-21 milestone 2026-04-22 02:22:38 +00:00
Rockachopa added the QAp1-important labels 2026-04-22 02:22:38 +00:00
hermes was assigned by Rockachopa 2026-04-22 04:31:57 +00:00
Author
Owner

PR #1016 created for #958.

What landed:

  • restored provider account-limit fetching/rendering via new agent/account_usage.py
  • appended account-limit sections to CLI /usage and gateway /usage
  • added targeted regression coverage in tests/test_account_usage.py and tests/gateway/test_usage_command.py

Verification:

  • PYTHONPATH=/tmp/BURN2-FORGE-ALPHA-3 python3 -m pytest -q tests/test_account_usage.py tests/gateway/test_usage_command.py
  • PYTHONPATH=/tmp/BURN2-FORGE-ALPHA-3 python3 -m py_compile agent/account_usage.py cli.py gateway/run.py tests/test_account_usage.py tests/gateway/test_usage_command.py
PR #1016 created for #958. What landed: - restored provider account-limit fetching/rendering via new agent/account_usage.py - appended account-limit sections to CLI /usage and gateway /usage - added targeted regression coverage in tests/test_account_usage.py and tests/gateway/test_usage_command.py Verification: - PYTHONPATH=/tmp/BURN2-FORGE-ALPHA-3 python3 -m pytest -q tests/test_account_usage.py tests/gateway/test_usage_command.py - PYTHONPATH=/tmp/BURN2-FORGE-ALPHA-3 python3 -m py_compile agent/account_usage.py cli.py gateway/run.py tests/test_account_usage.py tests/gateway/test_usage_command.py
Sign in to join this conversation.
No Label QA p1-important
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Timmy_Foundation/hermes-agent#958