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
{{ message }}
Repository navigation
Commit 708fbf9
Browse filesBrowse the repository at this point in the historyBrowse files
test(csharp): fix stale api-docs conformance gate + wire it into CI (#141)
The C# ApiDocsCrossPortConformanceTests carried a stale docstring claiming it was
EXPECTED TO FAIL ("the C# CLI has no docs command") — but the docs command +
api/csharp surface shipped (DocsCommand -> CSharpApiDocsRenderer), so it PASSES.
Because it execs `dotnet meta docs` end-to-end it needs MetaObjects.Cli.dll built
first; an isolated `dotnet test` on this project alone doesn't build the CLI, so
it hard-threw "Cli.dll not found" — which read as a spurious pre-existing failure.
Fixes: (1) accurate docstring; (2) FindCliDll() returns null + the test soft-skips
(visible console note, early return) instead of hard-throwing when the CLI isn't
built; (3) wire the gate into conformance.yml AFTER the CLI build step, so the C#
api/csharp SDK-docs surface is actually enforced cross-port (it was implemented +
green but never run in CI — Codegen.Tests is filtered to Validation/Registry only).
TS/Java/Python/Kotlin already gate their own surfaces; this is the C# half.
Verified: passes with the CLI built; soft-passes (no hard fail) without it.
Claude-Session: https://claude.ai/code/session_01GF9xLEQZaPus5Y6opk398n
Co-authored-by: Doug Mealing <noreply@anthropic.com>
0 commit comments