- Notifications
You must be signed in to change notification settings - Fork1.1k
chore: refactor CLI agent auth tests as unit tests#19609
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
Merged
+129 −237
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
This was referencedAug 28, 2025
ContributorAuthor
spikecurtis commentedAug 28, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
This stack of pull requests is managed byGraphite. Learn more aboutstacking. |
46dfec7 to07bb100Compare07bb100 tofaa0ebfComparefaa0ebf to07f5bc3Comparea13a334 toad45ac9Compare07f5bc3 to9f9cd09Comparead45ac9 toce4943cComparemafredri approved these changesAug 29, 2025
Member
mafredri left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Except for the one concern, looks fine to me 👍🏻.
Uh oh!
There was an error while loading.Please reload this page.
608b392 toe5bf69bCompare9f9cd09 to3fbbf99Comparee5bf69b to59667e7Compare3fbbf99 to06d66aeCompare59667e7 to54f6878Compare06d66ae to5797ad5Compare54f6878 to6cddf93Compare5797ad5 to640542dCompare6cddf93 to68c9194Compare640542d to5f400e4Compare5f400e4 to7690732Compare68c9194 to1354d84Compare7690732 toeec060eCompare18945a7 intomain 27 checks passed
Uh oh!
There was an error while loading.Please reload this page.
ContributorAuthor
spikecurtis commentedSep 3, 2025
Merge activity
|
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Uh oh!
There was an error while loading.Please reload this page.
Fixescoder/internal#933
Refactors CLI tests that check the
--authflag parsing for various public clouds into a unit test that just creates the agent Client and asserts on the type.Testing that the agent client actually authenticates correctly with these auth types is well covered by Coderd tests, so we don't need to retread that ground here, and the deleted tests were flaky on Windows.