Skip to content

Feature/ktl.api#584

Open
CSWinnall wants to merge 24 commits intodevfrom
feature/ktl.api
Open

Feature/ktl.api#584
CSWinnall wants to merge 24 commits intodevfrom
feature/ktl.api

Conversation

@CSWinnall
Copy link
Collaborator

Introduces a concurrent record creation method with adaptive concurrency and rate limiting, enabling efficient bulk inserts while respecting API quotas and handling rate limit errors. Improves retry logic by honoring Retry-After headers and adding minimum delays for 429 responses. Refactors bulk copy operations to leverage new batching, progress, and error reporting.

Enhances reliability and throughput for high-volume data operations.

CSWinnall and others added 24 commits February 3, 2026 08:00
Introduces an extensible API utility for streamlined CRUD operations, pagination, concurrency management, and error handling with retry logic.
Enables flexible logging and spinner control to improve developer experience and user feedback.
Facilitates integration with Knack views and supports role-based debug visibility.
Co-authored-by: CSWinnall <10554243+CSWinnall@users.noreply.github.com>
Co-authored-by: CSWinnall <10554243+CSWinnall@users.noreply.github.com>
Co-authored-by: CSWinnall <10554243+CSWinnall@users.noreply.github.com>
Co-authored-by: CSWinnall <10554243+CSWinnall@users.noreply.github.com>
Co-authored-by: CSWinnall <10554243+CSWinnall@users.noreply.github.com>
Co-authored-by: CSWinnall <10554243+CSWinnall@users.noreply.github.com>
Co-authored-by: CSWinnall <10554243+CSWinnall@users.noreply.github.com>
…ions

Co-authored-by: CSWinnall <10554243+CSWinnall@users.noreply.github.com>
Co-authored-by: CSWinnall <10554243+CSWinnall@users.noreply.github.com>
Co-authored-by: CSWinnall <10554243+CSWinnall@users.noreply.github.com>
Tags: eliminate redundant fetch API calls by using view render data
Enhances tag update logic by fetching full record data via API before processing,
ensuring accurate record lookups even when local data is incomplete. Adds early
exit if no valid records, improves user feedback, and logs detailed errors when
records are missing or fetch fails. Reduces risk of partial updates and improves
reliability for bulk tag operations.
Co-authored-by: CSWinnall <10554243+CSWinnall@users.noreply.github.com>
Replace alert() with ktl.core.selectOption() in bulk operations
Introduces explicit handling and counting of HTTP 429 (rate limit) responses
during batch update and delete operations. Provides a callback for 429s to
enable better monitoring and logs a summary after processing. Improves
visibility into rate limiting issues during concurrent API requests.
Introduces a concurrent record creation method with adaptive concurrency and rate limiting, enabling efficient bulk inserts while respecting API quotas and handling rate limit errors. Improves retry logic by honoring Retry-After headers and adding minimum delays for 429 responses. Refactors bulk copy operations to leverage new batching, progress, and error reporting.

Enhances reliability and throughput for high-volume data operations.
@CSWinnall CSWinnall requested a review from cortexrd February 13, 2026 21:57
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.

2 participants