Skip to content

Commit 24c0107

Browse files
authored
Extend detect_binary_type timeout to account for long-running dbt executable (#517)
## Summary Closes #514 ## Checklist - [x] I have performed a self-review of my code - [ ] I have made corresponding changes to the documentation (in https://github.com/dbt-labs/docs.getdbt.com) if required -- Mention it here - [ ] I have added tests that prove my fix is effective or that my feature works - [x] New and existing unit tests pass locally with my changes ## Additional Notes Issue author tested this update locally and confirmed this addresses their need.
1 parent 5863ab1 commit 24c0107

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
kind: Enhancement or New Feature
2+
body: Extend detect_binary_type timeout to account for long-running dbt executable
3+
time: 2026-01-13T15:30:07.124284-08:00

src/dbt_mcp/dbt_cli/binary_type.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def detect_binary_type(file_path: str) -> BinaryType:
2929
check=False,
3030
capture_output=True,
3131
text=True,
32-
timeout=10,
32+
timeout=60,
3333
)
3434
help_output = result.stdout
3535
except Exception as e:

0 commit comments

Comments
 (0)