Some checks failed
CI - Multi-Platform Native / Build iOS (RSSuper) (push) Has been cancelled
CI - Multi-Platform Native / Build macOS (push) Has been cancelled
CI - Multi-Platform Native / Build Android (push) Has been cancelled
CI - Multi-Platform Native / Build Linux (push) Has been cancelled
CI - Multi-Platform Native / Build Summary (push) Has been cancelled
954 B
954 B
14. Implement Linux feed fetcher service
meta: id: native-business-logic-migration-14 feature: native-business-logic-migration priority: P0 depends_on: [native-business-logic-migration-11] tags: [implementation, linux, networking]
objective:
- Implement feed fetching service with libsoup
deliverables:
- feed-fetcher.vala
- http-auth-credentials.vala
- fetch-result.vala
- network-error.vala
- Feed caching implementation
tests:
- Unit: Test SoupSession configuration
- Unit: Test HTTP auth handling
- Unit: Test error cases (timeout, 404, etc.)
- Integration: Test fetching real feeds
acceptance_criteria:
- Feeds fetch with proper timeout (15s)
- HTTP auth supported
- Error handling complete
- Response caching implemented
- Performance: <5s for typical feed
validation:
- Run
meson test -C build - Test with network throttling
notes:
- Use libsoup-3.0
- Implement exponential backoff for retries
- Respect Cache-Control headers