Skip to content

Commit

Permalink
feat(Turborepo): return invalid states from package discovery (#7789)
Browse files Browse the repository at this point in the history
### Description

 - Returns errors when package watching is in a known-invalid state. This means the client does not need to rely on timeouts when we cannot find a package manager or valid workspace globs.
 - Combines the two bits of state, package manager and workspaces, into a single API call. They were effectively already used that way, but now the clients are updated to only make a single call.

### Testing Instructions

Updated tests to no longer use a timeout, as we can now confirm error responses

Closes TURBO-2665
  • Loading branch information
Greg Soltis committed Mar 25, 2024
1 parent c46afd6 commit bc4b0c1
Show file tree
Hide file tree
Showing 2 changed files with 217 additions and 370 deletions.
Loading

0 comments on commit bc4b0c1

Please sign in to comment.