[Bug]: Preserve autoentity-generated entities in multi-source MCP runtime configuration
@RubenCerna2079 đang làm issue này rồi.
Từ ngày 17/7/2026.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
What happened?
When multiple child configurations use SQL autoentities with MCP enabled, DAB discovers entities during child/provider initialization but describe_entities returns NoEntitiesConfigured from the final merged runtime configuration. A parent with one child and each child tested independently work, while a parent with two or more children reproduces the failure.
Expected behavior: all generated entities from every child configuration should be present in the shared runtime configuration and returned by describe_entities, with each entity mapped to its originating data source.
Observed behavior: startup completes successfully and dab validate reports discovered entities, but MCP sees no usable entities. The issue appears to occur while propagating generated autoentities from per-child/per-datasource metadata providers into the shared root RuntimeConfig.Entities collection used by MCP.
This is a child investigation item for https://github.com/Azure/data-api-builder/issues/3711. Please verify the runtime merge sequence, generated entity collection, and entity-to-data-source mappings across two or more child configurations.
Version
2.0.9
What database are you using?
Azure SQL
What hosting model are you using?
Local (including CLI)
Which API approach are you accessing DAB through?
MCP
Relevant log output
Startup completes with `Successfully completed runtime initialization`, but `tools/call` for `describe_entities` returns `NoEntitiesConfigured` after using a parent config with two or more child configs containing `autoentities`.
Code of Conduct
- I agree to follow this project's Code of Conduct
- Ngôn ngữ chính
- C#
- Star
- 1.5k
- Fork
- 372
- Merge trung bình
- 7 ngày 19 giờ
- Pull request đã merge (30 ngày)
- 10
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Azure/data-api-builder
-
pgsql
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Azure/data-api-builder#3598 ·
-
2.x cli mcp-server
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Azure/data-api-builder#3576 ·
-
2.x health-endpoint
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Azure/data-api-builder#3570 ·
-
2.x telemetry
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Azure/data-api-builder#3564 ·
-
2.x telemetry
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Azure/data-api-builder#3562 ·
Tất cả issue của Azure/data-api-builder
Issue tương tự
-
untriaged
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
dotnet/dotnet-api-docs#13095 ·
-
area-deployment area-integrations triage:bot-seen
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 86/100
-
type/automation type/tech-debt
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
-
bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
newrelic/newrelic-dotnet-agent#3850 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
LuckyPennySoftware/AutoMapper#4660 ·