Skip to content

Conversation

@isoos
Copy link
Collaborator

@isoos isoos commented Dec 2, 2025

@isoos isoos requested review from jonasfj and sigurdm December 2, 2025 10:24
}

@visibleForTesting
Future<void> runOneIterationOfBackgroundLoops() async {
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this ever called?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Not yet, but tests will use this. I first wanted to also unroll the scheduling loops in this PR, but its a lot things that will be moved, but kept it for now.

Copy link
Contributor

Choose a reason for hiding this comment

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

Why not just expose the actual _runOneScanPackagesUpdate function to tests? It seems more honest to test that than some wrapper that is otherwise not used in production.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Removing for now. Wanted to keep it as a placeholder for the name, but can re-add later.

@isoos isoos merged commit 03e55ef into dart-lang:master Dec 2, 2025
24 checks passed
@isoos isoos deleted the direct-loop branch December 2, 2025 11:36
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