Skip to content
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

feat(shorebird_cli): add GCP download speed to shorebird doctor -v #2556

Merged
merged 1 commit into from
Oct 18, 2024

Conversation

felangel
Copy link
Contributor

@felangel felangel commented Oct 18, 2024

Description

  • feat(shorebird_cli): add GCP download speed to shorebird doctor -v

Sample Output:

$ shorebird doctor -v                                                                            
Shorebird 1.4.1 • git@github.com:shorebirdtech/shorebird.git
Flutter 3.24.3 • revision 5a6dc546e8ecd01fe3b9527f082ff2d6864374f9
Engine • revision 033ec57900456ca7f8cd4bb59c2773a8ce27cb5d

Logs: /Users/felix/Library/Application Support/shorebird/logs
Android Toolchain
  • Android Studio: /Applications/Android Studio.app/Contents
  • Android SDK: /Users/felix/Library/Android/sdk
  • ADB: /Users/felix/Library/Android/sdk/platform-tools/adb
  • JAVA_HOME: /Applications/Android Studio.app/Contents/jbr/Contents/Home
  • JAVA_EXECUTABLE: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
  • JAVA_VERSION: openjdk version "17.0.11" 2024-04-16
                  OpenJDK Runtime Environment (build 17.0.11+0-17.0.11b1207.24-11852314)
                  OpenJDK 64-Bit Server VM (build 17.0.11+0-17.0.11b1207.24-11852314, mixed mode)
                  
  • Gradle: not detected

URL Reachability
✓ https://api.shorebird.dev OK (0.1s)
✓ https://console.shorebird.dev OK (0.1s)
✓ https://oauth2.googleapis.com OK (60ms)
✓ https://storage.googleapis.com OK (0.3s)
✓ https://cdn.shorebird.cloud OK (0.1s)

Network Speed
✓ GCP Upload Speed: 15.53 MB/s (0.5s)
✓ GCP Download Speed: 40.71 MB/s (0.5s)

✓ Shorebird is up-to-date (1.3s)
✓ Flutter install is correct (0.3s)
✓ Has access to api.shorebird.dev (35ms)
✓ Has access to storage.googleapis.com (4ms)
✗ shorebird.yaml found in pubspec.yaml assets (5ms)
  [✗] No shorebird.yaml found in pubspec.yaml assets
1 issue detected.
1 issue can be fixed automatically with shorebird doctor --fix.

Type of Change

  • ✨ New feature (non-breaking change which adds functionality)
  • 🛠️ Bug fix (non-breaking change which fixes an issue)
  • ❌ Breaking change (fix or feature that would cause existing functionality to change)
  • 🧹 Code refactor
  • ✅ Build configuration change
  • 📝 Documentation
  • 🗑️ Chore
  • 🧪 Tests

@felangel felangel self-assigned this Oct 18, 2024
Copy link

codecov bot commented Oct 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

@felangel felangel merged commit d7e4d83 into main Oct 18, 2024
11 checks passed
@felangel felangel deleted the feat/gcp-download-speed branch October 18, 2024 18:37
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.

1 participant