Repository navigation
feat(files): allow up to 7 parallel batches in the Files planner - #203
Merged
Merged
Conversation
Raise the Parallel Batches slider max from 5 to 7. The default stays at 5.
Show under the Files Parallel Batches slider that 6 batches need 15k+ licenses and 7 need 50k+. build_migration_plan_options gets an optional parallel_batches_disclaimer; Exchange is unchanged.
akpaintingmaster-a11y
left a comment
There was a problem hiding this comment.
Interesting to see how this works
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
In the Files planner (OneDrive / SharePoint), the Parallel Batches slider only goes up to 5. Users need to plan with up to 7 migration batches running in parallel.
Change
ui/files_ui.py:build_migration_plan_options(..., max_parallel_batches=5)→7. The slider now runs from 1 to 7 in whole-number steps (number_of_steps = max - 1).ui_utils.build_migration_plan_optionsgets an optionalparallel_batches_disclaimerargument for this. Exchange doesn't pass it, so its layout is unchanged.calculate_migration_batches, which uses the slider value. In Shallow Scan it's called throughcalculate_batches_with_shallow_exclusions. Recalculating from an uploadedsite_report.csvuses the same slider value too.Testing
python3 -m py_compile ui/files_ui.pypython3 -m unittest tests.files.shallow_estimator_test: all tests pass.