Repository navigation
Commit 7b34bf2
Use ManagedCode.MarkdownLd.Kb 0.2.18 and test the gateway's schema refusal
MarkdownLd.Kb serialized every full-text index build in the process behind
one static lock, so hosted test fixtures, each building its MCP tool-search
graph, queued behind each other. 0.2.18 (released today, commit 397dc77)
keeps exclusion only around dotNetRDF's shared static SHA-256 instance
(reported upstream as dotnetrdf/dotnetrdf#913), so independent builds run
in parallel.
McpGatewayCatalogAdapterTests now calls the gateway with schema-valid
arguments to prove that a tool without an admitted request does not
dispatch (RecoveryRequired), and checks that arguments outside the
canonical input schema are refused as Validation, the mapping added in
10bdb9a.
Verification: restore and solution build with -warnaserror pass;
McpGatewayCatalogAdapterTests pass. Hosted unit namespaces at ten parallel
tests still time out in McpGatewayCatalogOwner.BuildInstanceAsync because
every host rebuilds the same ~600 ms / ~500 MB gateway index; that is being
fixed in ManagedCode.MCPGateway.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent ae80955 commit 7b34bf2
3 files changed
Lines changed: 20 additions & 11 deletions
File tree
- scripts/Features/CodeQuality
- tests/KeyLoad.UnitTests/ClientApi/Cases/McpGateway
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8255 | 8255 | | |
8256 | 8256 | | |
8257 | 8257 | | |
8258 | | - | |
8259 | | - | |
8260 | | - | |
| 8258 | + | |
| 8259 | + | |
| 8260 | + | |
8261 | 8261 | | |
8262 | 8262 | | |
8263 | 8263 | | |
| |||
59908 | 59908 | | |
59909 | 59909 | | |
59910 | 59910 | | |
59911 | | - | |
59912 | | - | |
59913 | | - | |
| 59911 | + | |
| 59912 | + | |
| 59913 | + | |
59914 | 59914 | | |
59915 | 59915 | | |
59916 | 59916 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
29 | 36 | | |
30 | | - | |
31 | | - | |
32 | | - | |
| 37 | + | |
33 | 38 | | |
34 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
35 | 44 | | |
36 | 45 | | |
0 commit comments