WIP Tango configuration documentation#180
Draft
yushan8 wants to merge 12 commits into
Draft
Conversation
liujsj
reviewed
Jul 10, 2026
| | Field | Required | Type | Default | Description | | ||
| |---|---|---|---|---| | ||
| | `remote` | **Yes** | `string` | | The URL used to `git clone` the repository. Must be unique across all entries. Must match exactly what clients send in `BuildDescription.remote`. | | ||
| | `bzlmod_enabled` | No | `bool` | `false` | Use Bzlmod for external dependency management. When disabled, `//external:all-targets` is added to Bazel queries for WORKSPACE-based repositories. | |
There was a problem hiding this comment.
BzlMod is enforced in Bazel 9 and above. Why is the default false and not true given in a year that this is the standard.
Contributor
Author
There was a problem hiding this comment.
Good point - updated.
liujsj
reviewed
Jul 10, 2026
| | `bazel_extra_args` | No | `[]string` | `[]` | Extra arguments passed to every Bazel invocation. | | ||
| | `query_timeout_seconds` | No | `int64` | `600` | Bazel query timeout in seconds. | | ||
| | `hash_external_repo_files` | No | `[]string` | `[]` | External repositories to hash per-file instead of using the default repo-level hash. By default, all files in an external repo share a single hash, so a version bump marks every target as changed. Listing a repo here hashes each file individually for finer change detection at the cost of slower computation. | | ||
| | `excluded_files` | No | `[]string` | `[]` | Regex patterns for files to exclude from analysis (e.g. `"^@@?bazel_tools/"`). | |
There was a problem hiding this comment.
What is "analysis" in this case? Should we be more descriptive here?
liujsj
reviewed
Jul 10, 2026
liujsj
reviewed
Jul 10, 2026
liujsj
reviewed
Jul 10, 2026
|
|
||
| | Field | Required | Type | Default | Description | | ||
| |---|---|---|---|---| | ||
| | `max_worker_pool_size` | **Yes** | `int` | | Number of concurrent worker workspaces per repository. Must be greater than 0. | |
There was a problem hiding this comment.
Doesn't this control the number of concurrent request that can be handled? Reading the current description, I am not sure what value I should be putting here
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Documents all user-facing configuration fields across service, repository, and storage sections.