Skip to content

PM-6427: Prevent request bursts in billing account details - #2418

Merged
jmgasper merged 1 commit into
devfrom
PM-6427
Sep 30, 2026
Merged

jmgasper merged 1 commit into
devfrom
PM-6427

Conversation

@jmgasper

@jmgasper jmgasper commented Sep 29, 2026 •

Copy link
Copy Markdown
Collaborator

Fixes PM-6427.

Opening Billing Account Details previously launched all challenge and assignment-payment lookups concurrently. Route those lookups through a shared queue that allows one request at a time with a 500 ms gap, preventing the large request burst to the finance endpoint. Disable focus/reconnect revalidation for these supplemental details so returning to the tab does not repeat every lookup.

Ledger rows and existing fallback values still render immediately; large accounts take longer to finish supplemental amount/fee hydration. Individual failures preserve the existing row fallbacks and do not block subsequent queued requests.

Validation: 22 billing modal and queue tests pass, including shared request pacing, queue recovery after failure, and existing payment/fee calculations; full yarn lint; production yarn run build with NODE_OPTIONS=--max-old-space-size=8192.

@jmgasper
jmgasper requested a review from kkartunov as a code owner September 29, 2026 23:53
@jmgasper
jmgasper merged commit 91e5a84 into dev Sep 30, 2026
8 checks passed
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