-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add full auth into http client (#5857)
### Description This PR stores `team_id` and `team_slug` in the http cache so they no longer need to get plumbed through to any task cache method that might hit the api. This does limit each `HttpCache` instance to use with a single team, but we already were doing this with the `ArtifactSignatureAuthenticator` if remote cache signature was enabled. This is still more flexible than Go where each api client instance is configured for a specific team. The PR can be reviewed by-commit, to break up the moving of `team_id` and `team_slug` ### Testing Instructions `rustc` Closes TURBO-1290 --------- Co-authored-by: Chris Olszewski <Chris Olszewski>
- Loading branch information
1 parent
14ad05a
commit 0d899ad
Showing
5 changed files
with
39 additions
and
45 deletions.
There are no files selected for viewing
This file contains 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 file contains 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 file contains 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 file contains 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 file contains 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