migration start
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

This commit is contained in:
2026-03-29 14:12:17 -04:00
parent af87f9f571
commit d346b527e6
51 changed files with 4476 additions and 69 deletions

View File

@@ -0,0 +1,38 @@
# 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