Skip to content

feat(bulk): paginate and cap persisted bulk operation history (#1184) - #1283

Merged
RUKAYAT-CODER merged 1 commit into
rinafcode:mainfrom
OpensrcLord:fix/issue-1184
Aug 29, 2026
Merged

feat(bulk): paginate and cap persisted bulk operation history (#1184)#1283
RUKAYAT-CODER merged 1 commit into
rinafcode:mainfrom
OpensrcLord:fix/issue-1184

Conversation

@OpensrcLord

Copy link
Copy Markdown
Contributor

Summary

Closes #1184

Adds pagination for bulk operation history and bounds how much history is persisted, so large batch sessions stay responsive and storage stays capped.

  • src/lib/bulk/bulkHistory.tsgetHistoryPage/paginateBulkHistory (most-recent-first), MAX_HISTORY_SIZE cap on redo cycles, MAX_PERSISTED_HISTORY_SIZE + persistence adapter that drops the redo stack
  • src/store/persistenceLayer.ts — generic paginatePersistedJSON helper
  • Adds unit tests for paging, size caps, and persistence behavior

Verification

tsc clean; bulk suite: 9 passing.

Expose paginated bulk history pages, keep persisted history bounded, and
drop the redo stack from storage.

Closes rinafcode#1184
@drips-wave

drips-wave Bot commented Aug 29, 2026

Copy link
Copy Markdown

@OpensrcLord Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@RUKAYAT-CODER

Copy link
Copy Markdown
Contributor

Thank you for contributing to the project.

@RUKAYAT-CODER
RUKAYAT-CODER merged commit f2d2dc4 into rinafcode:main Aug 29, 2026
6 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.

Paginate and cap persisted bulk operation history

2 participants