Skip to content

Commit 05efcdf

Browse files
authored
Merge branch 'main' into Update_codeowners
2 parents 2967213 + e2f80da commit 05efcdf

32 files changed

Lines changed: 1570 additions & 738 deletions
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
kind: Under the Hood
2+
body: Improve DISABLE_TOOLS configuration
3+
time: 2025-07-22T12:46:42.005931-05:00
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
kind: Under the Hood
2+
body: Add unit tests for env vars combinations
3+
time: 2025-07-23T11:35:51.700793+02:00

.changes/v0.2.17.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
## v0.2.17 - 2025-07-18

.changes/v0.2.18.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
## v0.2.18 - 2025-07-22
2+
### Enhancement or New Feature
3+
* Move env var parsing to pydantic_settings for better validation
4+
### Under the Hood
5+
* Add integration test for server initialization
6+
### Bug Fix
7+
* Fix SL validation error message when no misspellings are found

.changes/v0.2.19.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## v0.2.19 - 2025-07-22
2+
### Under the Hood
3+
* Create list of tool names

.tool-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
nodejs 20.17.0
2-
uv 0.6.16
2+
uv 0.7.17
33
task 3.43.2

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,20 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html),
77
and is generated by [Changie](https://github.com/miniscruff/changie).
88

99

10+
## v0.2.19 - 2025-07-22
11+
### Under the Hood
12+
* Create list of tool names
13+
14+
## v0.2.18 - 2025-07-22
15+
### Enhancement or New Feature
16+
* Move env var parsing to pydantic_settings for better validation
17+
### Under the Hood
18+
* Add integration test for server initialization
19+
### Bug Fix
20+
* Fix SL validation error message when no misspellings are found
21+
22+
## v0.2.17 - 2025-07-18
23+
1024
## v0.2.16 - 2025-07-18
1125
### Under the Hood
1226
* Adding the ability to exclude certain tools when registering

CONTRIBUTING.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ This repo has automated tests which can be run with `task test:unit`. Additional
4040
}
4141
```
4242

43+
## Signed Commits
44+
45+
Before committing changes, ensure that you have set up [signed commits](https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits).
46+
This repo requires signing on all commits for PRs.
47+
4348
## Changelog
4449

4550
Every PR requires a changelog entry. [Install changie](https://changie.dev/) and run `changie new` to create a new changelog entry.
@@ -54,4 +59,4 @@ Only people in the `CODEOWNERS` file should trigger a new release with these ste
5459

5560
1. Trigger the [Create release PR Action](https://github.com/dbt-labs/dbt-mcp/actions/workflows/create-release-pr.yml).
5661
2. Get this PR approved & merged in.
57-
3. This will trigger the `Release dbt-mcp` Action. On the `Summary` page of this Action a member of the `CODEOWNERS` file will have to manually approve the release. The rest of the release process is automated.
62+
3. This will trigger the `Release dbt-mcp` Action. On the `Summary` page of this Action a member of the `CODEOWNERS` file will have to manually approve the release. The rest of the release process is automated.

evals/semantic_layer/test_eval_semantic_layer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ async def expect_metadata_tool_call(
4444
assert tool_call.type == "function_call"
4545
assert function_name == expected_tool
4646
assert expected_arguments is None or function_arguments == expected_arguments
47-
tool_response = await (await create_dbt_mcp()).call_tool(
47+
tool_response = await (await create_dbt_mcp(config)).call_tool(
4848
function_name,
4949
json.loads(function_arguments),
5050
)
@@ -163,7 +163,7 @@ def initial_messages(content: str) -> ResponseInputParam:
163163
],
164164
)
165165
async def test_explicit_tool_request(content: str, expected_tool: str):
166-
dbt_mcp = await create_dbt_mcp()
166+
dbt_mcp = await create_dbt_mcp(config)
167167
response = llm_client.responses.create(
168168
model=LLM_MODEL,
169169
input=initial_messages(content),

pyproject.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ dependencies = [
2121
"dbtlabs-vortex==0.2.0",
2222
"mcp[cli]==1.10.1",
2323
"pandas==2.2.3",
24-
"python-dotenv==1.0.1",
24+
"pydantic-settings==2.10.1",
2525
"pyyaml==6.0.2",
2626
"requests==2.32.4",
2727
]
@@ -56,3 +56,8 @@ include = ["src/dbt_mcp/**/*", "README.md", "LICENSE"]
5656

5757
[tool.hatch.version]
5858
source = "vcs"
59+
60+
[tool.pytest.ini_options]
61+
asyncio_mode = "auto"
62+
asyncio_default_fixture_loop_scope = "function"
63+
pythonpath = [".", "src"]

0 commit comments

Comments
 (0)