Skip to content

Fix/max active limits persistence and reconciliation 5601578803398312009 - #188

Closed
Dabu-dot wants to merge 9 commits into
takitsu21:mainfrom
Dabu-dot:fix/max-active-limits-persistence-and-reconciliation-5601578803398312009
Closed

Dabu-dot wants to merge 9 commits into
takitsu21:mainfrom
Dabu-dot:fix/max-active-limits-persistence-and-reconciliation-5601578803398312009

Conversation

@Dabu-dot

Copy link
Copy Markdown

No description provided.

Dabu-dot and others added 9 commits March 13, 2026 14:04
…limits

- Add scrape-based start conditions (start_when_leechers_above, start_when_seeders_above)
- Add cyclic interval scheduling (active/inactive duration ranges, reset counters options, stop/idle mode)
- Add global and per-tracker max active instance limits with daily re-randomization and queue scheduler
- Expose all features in UI components and REST endpoints

Co-authored-by: Dabu-dot <52525576+Dabu-dot@users.noreply.github.com>
…ntervals-1168294055277534906

feat: start conditions, cyclic intervals & max active instance limits (takitsu21#167)
Add .github/workflows/docker-build.yml to build UI assets,
build a multi-arch Docker image (amd64/arm64), and push to ghcr.io on push to main.

Co-authored-by: Dabu-dot <52525576+Dabu-dot@users.noreply.github.com>
…792083123382

Add GitHub Actions Docker Build workflow
- Centralize MaxActiveSettings in rustatio-core
- Implement get_max_active_settings and set_max_active_settings IPC commands in rustatio-desktop
- Fetch and export maxActiveSettings store in ui/src/lib/instanceStore.js on mount
- Implement active reconciliation loop in scheduler.rs, stopping excess instances most recently started first
- Block manual start attempts in lifecycle.rs when max active limits are reached
- Add comprehensive test suite covering reconciliation, start blocking, and persistence

Co-authored-by: Dabu-dot <52525576+Dabu-dot@users.noreply.github.com>
…ic state audit

- Centralize MaxActiveSettings in rustatio-core and persist in rustatio-server and rustatio-desktop
- Add get_max_active_settings and set_max_active_settings Tauri IPC commands
- Export maxActiveSettings store in ui/src/lib/instanceStore.js and fetch on mount
- Implement active reconciliation loop in scheduler.rs stopping excess running instances (most recently started first)
- Strictly block manual start attempts in lifecycle.rs when max active limits are reached
- Persist cyclic inactive runtime state across restarts and reset cyclic inactive state on manual resume
- Add comprehensive test suite covering reconciliation, start blocking, persistence, and cyclic state

Co-authored-by: Dabu-dot <52525576+Dabu-dot@users.noreply.github.com>
@Dabu-dot Dabu-dot closed this Sep 11, 2026
@Dabu-dot
Dabu-dot deleted the fix/max-active-limits-persistence-and-reconciliation-5601578803398312009 branch September 11, 2026 00:57
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.

1 participant