The GitHub Actions job "CI" on rocketmq-dashboard.git/codex/dlq-export-guard 
has failed.
Run started by GitHub user tju-yxq (triggered by tju-yxq).

Head commit for run:
e2e41442890859ed042369c4eb29b7d61fb13d90 / Yxq <[email protected]>
fix(dlq): guard the Excel exports against double submission

Every async action on the DLQ page owns an in-flight guard — the resend
flows check retryInFlightRef/detailResendInFlightRef and disable their
buttons while running, and a test pins that a double-clicked resend
confirm submits exactly once — but the two Excel export handlers were
left unguarded: handleExport had no in-flight check, no loading state
and not even the !selectedInstanceId early return its siblings have,
and exportDetailExcel had the early return but neither guard nor
loading. Double-clicking 导出 or 导出全部/导出选中 fires the broker
queue scan twice and downloads the workbook twice.

Share one exportInFlightRef across both handlers (one scan at a time),
give the acting row button and the drawer button loading states, and
disable the other row exports while one is running. The ref provides
the synchronous double-click guard inside the handlers; the button
states derive from the exportingGroupName/detailExporting state, which
keeps refs out of render.

Report URL: 
https://github.com/apache/rocketmq-dashboard/actions/runs/37018934713

With regards,
GitHub Actions via GitBox

Reply via email to