Files
RSSuper/tasks/native-business-logic-migration/20-implement-linux-background-sync.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

39 lines
902 B
Markdown

# 20. Implement Linux background sync service
meta:
id: native-business-logic-migration-20
feature: native-business-logic-migration
priority: P1
depends_on: [native-business-logic-migration-17]
tags: [implementation, linux, background]
objective:
- Implement background feed sync using GIO Timeout or systemd timer
deliverables:
- background-sync.vala
- sync-scheduler.vala
- systemd service file
- systemd timer file
- Desktop entry with autostart
tests:
- Unit: Test scheduler configuration
- Unit: Test timeout handling
- Integration: Test background execution
acceptance_criteria:
- Sync runs on schedule
- Battery-efficient (only when active)
- Proper cleanup on app close
- State persisted between runs
validation:
- Test with systemd-timer list
- Verify with journalctl
notes:
- Use GTimeout for in-app scheduling
- Use systemd timer for system-level
- Respect power management