Uh oh!
There was an error while loading. Please reload this page.
[27.x backport] vendor.mod: put github.com/pkg/browser in the right group - #5408
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@## 27.x #5408 +/- ##
=======================================
Coverage 59.77% 59.77% =======================================
Files 345 345 Lines 23405 23405 =======================================
Hits 13990 13990 Misses 8445 8445 Partials 970 970 |
thaJeztah
commented
Sep 5, 2024
Flaky test? |
Flaky due to it failing to reach login.docker.com 😅 Failed to start web-based login - falling back to command line login...I have a branch somewhere with a refactor/more e2e tests here, so I'll make sure this is more resilient. It's not testing the full login flow, just that the oauth login is triggered by a |
thaJeztah
commented
Sep 5, 2024
I just noticed that we're swallowing the error there, which ... probably is fine, but wondering if we need some what to present it 🤔 (although not sure if we want a cli/cli/command/registry/login.go Lines 171 to 177 in f75abad I wish the CLI had a location to log to (without that meaning "print and show the user") |
laurazard
commented
Sep 5, 2024
Yeah, we could do something like a |
thaJeztah
commented
Sep 5, 2024
It's a tricky one, due to the nature of the cli being short-lived; we'll be potentially opening a can of worms to handle concurrency, log-rotation, and multiple instances of the cli probably needing something to associate logs with each invocation. Well, or have a new file created at all times, but we'd still need something to clean it up. Sending to a logging service would be ideal, but not available in all cases. |
commit fcfdd7b (#5344) introduced github.com/pkg/browser as a direct dependency, but it ended up in the group for indirect dependencies.