Files
RSSuper/tasks/native-business-logic-migration/14-implement-linux-feed-fetcher.md
Michael Freno d346b527e6
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
migration start
2026-03-29 14:12:17 -04:00

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