Skip to content

Update from task 954a9afb-6b27-46b5-ba78-1d32387e5747#22

Merged
aihlp merged 1 commit into
mainfrom
iterative-who-data-sync-e5747
Jun 11, 2026
Merged

Update from task 954a9afb-6b27-46b5-ba78-1d32387e5747#22
aihlp merged 1 commit into
mainfrom
iterative-who-data-sync-e5747

Conversation

@aihlp

@aihlp aihlp commented Jun 11, 2026

Copy link
Copy Markdown
Owner

This PR was created by qwen-chat coder for task 954a9afb-6b27-46b5-ba78-1d32387e5747.

Key features implemented:
- Refactored src/fetchers/who_client.py to handle dict objects in WHO API responses, preventing 'dict' object has no attribute 'split' error
- Added defensive parsing for child URIs and titles in WHO API responses with proper type checking
- Upgraded sync workflow in .github/workflows/01-data-sync.yml to process 2500 nodes per batch instead of 500 and increased frequency to every 10 minutes
- Updated src/core/db.py to include bulk insert functionality for pending nodes to reduce disk I/O
- Modified pyproject.toml to add aiohttp dependency for async HTTP requests
- Streamlined .gitignore to remove redundant entries and simplify configuration

The changes fix the critical parsing error while significantly improving sync throughput and system resilience through asynchronous processing and optimized database operations.
@aihlp aihlp merged commit 30622d7 into main Jun 11, 2026
1 check failed
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