Skip to content

Every dart test/flutter test causes a "downloading dependencies" again #60670

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
rrousselGit opened this issue May 4, 2025 · 0 comments
Open

Comments

@rrousselGit
Copy link

Whenever I run dart test, the command always seems to trigger a redownload of dependencies. This is noisy and inefficient
See the video as demonstration of the issue:

Screen.Recording.2025-05-04.at.04.12.02.mov

As you can see, running dart test always starts with:

Resolving dependencies in `/Users/remirousselet/dev/rrousselGit/riverpod`... 
Downloading packages... 
Got dependencies in `/Users/remirousselet/dev/rrousselGit/riverpod`.
Resolving dependencies in `/Users/remirousselet/dev/rrousselGit/riverpod`... 
Downloading packages... 
Got dependencies in `/Users/remirousselet/dev/rrousselGit/riverpod`.

Tested on

Dart SDK version: 3.9.0-76.0.dev (dev) (Wed Apr 30 13:02:37 2025 -0700) on "macos_arm64"

I am not sure how to share a reproduction for this. But the video was taken by running dart test on the open source riverpod repository (specifically inside packages/riverpod)

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

No branches or pull requests

1 participant