Skip to content

feat: Rewrote the system architecture#5

Merged
DaLaw2 merged 8 commits into
masterfrom
dalaw2-dev
Aug 15, 2025
Merged

feat: Rewrote the system architecture#5
DaLaw2 merged 8 commits into
masterfrom
dalaw2-dev

Conversation

@DaLaw2

@DaLaw2 DaLaw2 commented Aug 15, 2025

Copy link
Copy Markdown
Owner

Rewrote the system architecture.

Removed the Event System and added the Actor System to address circular dependencies between components.
Adjusted project organization.
Removed some functionality.

Copilot AI review requested due to automatic review settings August 15, 2025 14:45

This comment was marked as outdated.

@DaLaw2
DaLaw2 requested a review from Copilot August 15, 2025 15:01

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request implements a major architectural refactoring that replaces the Event System with an Actor System to address circular dependencies between components. The changes reorganize the project structure, remove file locking functionality, and introduce modern actor-based communication patterns.

  • Event-driven architecture replaced with Actor System for better dependency management
  • Removed file lock utilities and simplified backup options
  • Reorganized module structure moving core models to separate hierarchical organization

Reviewed Changes

Copilot reviewed 70 out of 72 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
src/utils/mod.rs Removes file_lock module export
src/utils/file_lock.rs Completely removes file locking implementation
src/model/core/ New hierarchical model organization with actor, backup, gui, and schedule modules
src/core/infrastructure/ Infrastructure components moved to dedicated module
src/core/backup/ Backup engine refactored to use actor system instead of events
src/ui/ UI components updated to use actor system and new model structure
src/platform/ File system interfaces updated to use Path instead of PathBuf

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread src/core/schedule/schedule_manager.rs
Comment thread src/core/backup/backup_service.rs
Comment thread src/core/schedule/schedule_service.rs
Comment thread src/core/infrastructure/actor_system.rs
@DaLaw2
DaLaw2 merged commit fe5f8dd into master Aug 15, 2025
2 checks passed
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.

2 participants