Skip to content

Conversation

@disnet
Copy link
Owner

@disnet disnet commented Jan 21, 2026

Add detailed logging to track when batch feed fetches exceed the 50-URL backend limit. Logs include URL counts, delta sync timestamps, and both frontend warnings and backend rejections to help diagnose when and why the limit is triggered.

Co-Authored-By: Claude Haiku 4.5 noreply@anthropic.com

disnet and others added 10 commits January 20, 2026 23:24
Add detailed logging to track when batch feed fetches exceed the 50-URL backend limit, including URL counts, timestamps, and both frontend warnings and backend rejections.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Split feed URLs into batches of 50 and fetch in parallel to avoid
backend limit errors. Removes diagnostic logging added in previous commit.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Change from parallel Promise.all to sequential processing so the
browser event loop can handle UI updates between batches.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
The sequential IndexedDB queries for each subscription's most recent
article timestamp was blocking the main thread. Removed for now -
backend already limits items per feed and we filter duplicates by GUID.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Instead of querying all articles for each of 53 subscriptions
sequentially, now does:
- 1 query to check which incoming GUIDs already exist
- 1 bulkAdd for all new articles

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Logs timing for: API calls, anyOf query, and bulkAdd
to identify where the UI lockup is occurring.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Rendering 934+ articles at once was causing the UI to freeze.
Now displays first 100 with a "Load more" button to fetch additional
batches of 100. Includes timing logs for debugging.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
loadUnreadCounts was doing 53 sequential database queries, each
loading all articles for one subscription. Now loads all articles
once and computes counts in memory.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Add loading flags to prevent multiple database queries from racing
when reactive effects fire rapidly during state updates.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
@disnet disnet closed this Jan 21, 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.

2 participants