Skip to content

Report the active Account Pool blocking reset - #3324

Merged
ymichael merged 1 commit into
mainfrom
bb/fixer-report-the-active-account-pool-blocking-re-thr_kgrmeby8ri
Sep 9, 2026
Merged

ymichael merged 1 commit into
mainfrom
bb/fixer-report-the-active-account-pool-blocking-re-thr_kgrmeby8ri

Conversation

@ymichael

@ymichael ymichael commented Sep 9, 2026 •

Copy link
Copy Markdown
Collaborator

Human comments

What was wrong

Account Pool recovery time came from any reset on an account instead of the quota windows currently preventing use. When a healthy short window reset before an exhausted longer window, the account row and the hub's 429 response told users and clients to retry too early.

What changed

The shared blockingResetAt helper now applies the same threshold, rejection, and expiry rules used by account selection. It chooses the latest active reset required for one account to recover and returns no timestamp when a blocker has no known reset. Both the Settings account status and hub retry calculation use that result.

The rebase preserves current main's draggable account ordering and passes the configured threshold into the corrected status calculation. This is plugin-local behavior with no host-daemon wire change, CLI change, or documentation surface change.

How you verified

  • The focused regression assertions failed before the fix with the short-window reset and passed after the fix with the actual blocking reset.
  • pnpm exec turbo run test typecheck --filter=bb-plugin-account-pool --force passed 261/261 tests and all six Turbo tasks.
  • bb plugin build plugins/account-pool emitted both app and server bundles successfully.
  • Targeted oxfmt --check and git diff --check origin/main...HEAD passed.
  • Existing desktop and compact Settings QA from the originating fixer passed; the rebase conflict retained current main's reorder implementation.

AGENT GENERATED

@ymichael
ymichael merged commit 23c0b36 into main Sep 9, 2026
16 checks passed
@ymichael
ymichael deleted the bb/fixer-report-the-active-account-pool-blocking-re-thr_kgrmeby8ri branch September 9, 2026 03:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant