turbo
0d899add - chore: add full auth into http client (#5857)

Commit
2 years ago
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>
Parents
Loading