Skip to content

Refactored LoadBalancing into an interface#300

Merged
IshaanDesai merged 14 commits into
developfrom
refactor-lb
Jul 12, 2026
Merged

Refactored LoadBalancing into an interface#300
IshaanDesai merged 14 commits into
developfrom
refactor-lb

Conversation

@Snapex2409

@Snapex2409 Snapex2409 commented Jun 27, 2026

Copy link
Copy Markdown
Collaborator

Refactored LoadBalancing into an interface to reduce confusion for ActiveBalancer.
Moved counters from MicroManager to LoadBalancer implementations.

NOTE: Merge this PR after #299

Checklist:

  • I made sure that the CI passed before I ask for a review.
  • I added a summary of the changes (compared to the last release) in the CHANGELOG.md.
  • If necessary, I made changes to the documentation and/or added new content.
  • I will remember to squash-and-merge, providing a useful summary of the changes of this PR.

@Snapex2409 Snapex2409 marked this pull request as ready for review June 27, 2026 16:34
@Snapex2409 Snapex2409 requested a review from IshaanDesai June 27, 2026 16:34
@Snapex2409 Snapex2409 force-pushed the refactor-diagnostics branch from 7e3ee74 to 86dcebd Compare July 2, 2026 11:58
@Snapex2409 Snapex2409 force-pushed the refactor-diagnostics branch from 86dcebd to 3818aae Compare July 3, 2026 16:51
@Snapex2409 Snapex2409 force-pushed the refactor-diagnostics branch from 3818aae to afe833a Compare July 6, 2026 16:17
@Snapex2409 Snapex2409 force-pushed the refactor-diagnostics branch from afe833a to d1e8e84 Compare July 10, 2026 11:36
Base automatically changed from refactor-diagnostics to develop July 10, 2026 15:16
# Conflicts:
#	micro_manager/adaptivity/adaptivity.py
#	micro_manager/adaptivity/local_adaptivity.py
#	micro_manager/crash_handler.py
#	micro_manager/interpolation.py
#	micro_manager/micro_manager.py
note: files not yet added to git are also not tracked by pre-commit
# Conflicts:
#	micro_manager/tools/diagnostics.py
# Conflicts:
#	micro_manager/micro_manager.py
@IshaanDesai IshaanDesai added the enhancement Enchance existing functionality label Jul 11, 2026

@IshaanDesai IshaanDesai left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for this. I have only minor suggestions and a few questions to clarify. I will now run a load-balancing regression test on this PR to ensure the underlying functionality has not changed.

Comment thread micro_manager/load_balancing.py Outdated
Comment thread micro_manager/load_balancing.py
Comment thread micro_manager/load_balancing.py
Comment thread micro_manager/load_balancing.py Outdated
Snapex2409 and others added 2 commits July 12, 2026 21:22
Co-authored-by: Ishaan Desai <ishaandesai@gmail.com>

@IshaanDesai IshaanDesai left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Tested it with a regression test of the two-scale heat conduction.

@IshaanDesai IshaanDesai merged commit 904403f into develop Jul 12, 2026
11 checks passed
@IshaanDesai IshaanDesai deleted the refactor-lb branch July 12, 2026 20:14
@IshaanDesai IshaanDesai mentioned this pull request Jul 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Enchance existing functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants