You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test(scripts): regression tests for tools.json generator bugfixes
- ``test_skips_nested_async_functions`` — pins the bug where
``ast.walk`` recursed into nested ``async def`` closures (e.g.
``register_preview_tool``'s inner ``apply``), surfacing them as
duplicate top-level tool entries.
- ``test_joins_wrapped_first_sentence`` — pins the bug where the
description extractor took only the first line of the docstring,
truncating mid-sentence when the first sentence wrapped onto a
second line (e.g. ``get_inventory_movements`` shipped with a
trailing comma in the original Docker MCP Registry submission).
- ``test_trims_to_first_sentence_after_paragraph_join`` — confirms
the paragraph-join + sentence-trim path keeps just the first
sentence when a docstring opens with two on consecutive lines.
0 commit comments