docs/start: verbatim drift check for C# and TS first-call blocks #7
Loading…
Reference in a new issue
No description provided.
Delete branch "libby/start-drift-checks"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The Rust and Python blocks in
docs/start/README.mdare checked verbatim against their tests; the C# and TypeScript blocks were hand-copied. Now:FirstCallTests.csholds the snippet region (publicItemplusFirstCall.Run);DocsShowTheTestedSnippetfails on difference. The doc block changed from top-level statements toFirstCall.Run, and the "snippet is not itself compiled" caveat is gone because it now is.first-call.test.tsholds the region; the test substitutes the one import specifier (../src/index->@gamecult/cultcache-ts) and compares the rest verbatim.Verified:
dotnet test --filter FirstCallTests2/2; TSfirst-call.test.js2/2, and editing the docs block makes it fail (negative check done for TS only). The fullnpm testin cultcache-ts fails here before and after on an unrelated missingpythonbinary in an interop test.Not merged; forge CI still to run.
🤖 Generated with Claude Code
Maintainer check at head
bb25bf04, run on a local merge with current main (51445cb2): C#dotnet test --filter FirstCallTests2/2; TS first-call 2/2; Rustcargo test --test first_call2/2; Pythonunittest tests.test_first_call2/2 (the Rust and Python docs checks are the existing docs/start tests). Forge CI: 6 pending, 3 skipped; every workflow on this repo sits in 'waiting' with no runner, including main's own, so CI cannot go green here. Merging on the local runs, as with #5 and #6.