Skip to content

feat/Stream bulk refresh results to cards#289

Open
watermelon1024 wants to merge 1 commit into
seakee:mainfrom
watermelon1024:main
Open

feat/Stream bulk refresh results to cards#289
watermelon1024 wants to merge 1 commit into
seakee:mainfrom
watermelon1024:main

Conversation

@watermelon1024

Copy link
Copy Markdown
Contributor

Summary

Improve quota bulk refresh feedback so each credential card updates as soon as its quota request finishes.
This keeps the existing bounded concurrency behavior, but avoids waiting for the slowest credential before showing completed results.

Scope

  • Frontend panel
  • Manager Server
  • CPA panel mode
  • Full Docker mode
  • Native packages / release
  • Docs / Wiki
  • CI / build / tooling

Changes

  • Commit each bulk quota refresh result to the quota store immediately after the individual request succeeds or fails.
  • Preserve the existing bulk refresh concurrency limit and loading lifecycle.
  • Add regression coverage that verifies partial bulk refresh results become visible before the full batch completes.

User Impact

Quota Management bulk refresh now feels responsive for large credential sets: faster accounts show success/error results immediately instead of waiting for every account in the batch to finish.

Compatibility / Runtime Notes

  • CPA panel mode: frontend-only behavior change using the existing quota request path.
  • Manager Server mode: N/A.
  • Full Docker / native packages: frontend bundle behavior changes after rebuild/package; no runtime config changes.

Data / Security Notes

No stored secrets, SQLite schema, auth files, raw usage data, logs, admin key, or CPA Management Key behavior changed.

Risk / Rollback

Risk level: Low

Rollback notes:

  • Revert this frontend change to restore the previous batch-level quota store update behavior.

Verification

  • Type check
  • Lint
  • Tests
  • Build
  • Manual UI check
  • Docs/link check
  • Not applicable, docs-only

Commands / evidence:

npm --workspace apps/web run test -- src/components/quota/QuotaSection.test.tsx
npm --workspace apps/web run type-check

Screenshots / Recordings

Docs

  • README updated
  • Wiki updated
  • Release notes needed
  • Not needed

Related

N/A

Update quota loading to commit each file’s result as soon as it completes instead of waiting for the full batch. This keeps the store in sync during concurrent refreshes and avoids missing intermediate updates when requests resolve incrementally. The test was adjusted to cover the new progressive update behavior.
@watermelon1024 watermelon1024 changed the title feat: Update quota results as they resolve feat/Stream bulk refresh results to cards Jul 3, 2026
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