Repository navigation
test(mcp): reuse advertised schema in inventory check - #2469
Merged
Merged
Conversation
Validate the status reply with its current advertised definition while retaining all inventory assertions, real SDK validation and the 10-second deadline. Avoid initializing output validators for unrelated tools on this one call. Assisted-by: Reimu (gensokyo-skills:reimu-incident-triage)
…-inventory-schema-reuse-20261013
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
…-inventory-schema-reuse-20261013
34 tasks done
12 of 19 tasks
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.
The session inventory check lists the entire catalog and then calls
binary_session. The first cached SDK call constructs output validators for all 187 tools, making this functional check repeatedly exceed its 10-second deadline in complete local coverage runs.Pass the exact
binary_sessiondefinition from the current listing to the SDK's supportedtoolDefinitionoption. The SDK still validates the actual reply; all existing inventory, availability, remediation, metadata and schema assertions, cleanup and the original 10-second deadline remain. Only this test file changes.Validation:
f254f5ac2 + 2db5ee5d6: 1,005 files, 10,230 passed / 92 skipped / zero failures; all coverage thresholds pass. The inventory case completes in 1.32 seconds in that full run. No observed surviving process generation remains.bb154d1067and172407787merged into the branch: static/type/architecture checks and website maintenance checks pass; discovery finds 1,013 files exactly once. All 16 changed/related capture, analysis-view, schema and inventory test files pass (210 cases, two expected capability skips); inventory completes in 1.04 seconds. An additional ten Flutter/runtime/shared-schema files pass all 123 cases on172407787, including inventory in 0.87 seconds. The original complete local result is not attributed to these newer files. Initial combined-source PR CI passed all 1,010 files (10,272 passed / 94 skipped); the updated 1,013-file head must pass full CI before merge.Updated Python gate: 20 cases passed. Real Chrome SVG/XHTML cases pass in both focused and complete covered runs. Website behavior was independently verified in an actual browser, including persisted theme, cross-tab updates and mobile RTL.
Closes #2453.