Skip to content

Conversation

@tieneupin
Copy link
Contributor

@tieneupin tieneupin commented Jan 5, 2026

Merge after PR #719.

With the implementation of a substrings_blacklist key to the MachineConfig Pydantic model as part of PR #707, we need to ensure that any files that are blacklisted do not then get transferred over to the destination by the RSyncer when a session is being finalised.

This PR resolves that issue by passing the MachineConfig through the MultigridController to any instantiated RSyncers. When finalising the session, the RSyncers will delete the files and folders matching the blacklist criteria, while backing up and transferring other files.

@tieneupin tieneupin changed the title Delete blacklisted files and folders Delete Blacklisted Files and Folders When Finalising Session Jan 5, 2026
@codecov
Copy link

codecov bot commented Jan 5, 2026

Codecov Report

❌ Patch coverage is 95.23810% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 43.98%. Comparing base (9625beb) to head (87d92aa).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #721      +/-   ##
==========================================
+ Coverage   43.60%   43.98%   +0.38%     
==========================================
  Files          94       93       -1     
  Lines       10255    10189      -66     
  Branches     1333     1320      -13     
==========================================
+ Hits         4472     4482      +10     
+ Misses       5560     5486      -74     
+ Partials      223      221       -2     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@tieneupin tieneupin changed the title Delete Blacklisted Files and Folders When Finalising Session Delete Blacklisted Files and Folders When Finalising RSyncer Jan 6, 2026
@tieneupin tieneupin marked this pull request as ready for review January 6, 2026 14:10
@tieneupin tieneupin self-assigned this Jan 6, 2026
@tieneupin tieneupin added enhancement New feature or request client Relates to the client component labels Jan 6, 2026
@tieneupin tieneupin force-pushed the delete-blacklisted-files branch from b86c2e9 to bf81ee4 Compare January 6, 2026 16:00
@stephen-riggs stephen-riggs merged commit 3fe75e4 into main Jan 8, 2026
17 checks passed
@stephen-riggs stephen-riggs deleted the delete-blacklisted-files branch January 8, 2026 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

client Relates to the client component enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants