docs/start: verbatim drift check for C# and TS first-call blocks #7

Merged
libby merged 1 commit from libby/start-drift-checks into main 2026-11-05 12:43:13 +00:00
Member

The Rust and Python blocks in docs/start/README.md are checked verbatim against their tests; the C# and TypeScript blocks were hand-copied. Now:

  • C#: FirstCallTests.cs holds the snippet region (public Item plus FirstCall.Run); DocsShowTheTestedSnippet fails on difference. The doc block changed from top-level statements to FirstCall.Run, and the "snippet is not itself compiled" caveat is gone because it now is.
  • TS: first-call.test.ts holds the region; the test substitutes the one import specifier (../src/index -> @gamecult/cultcache-ts) and compares the rest verbatim.

Verified: dotnet test --filter FirstCallTests 2/2; TS first-call.test.js 2/2, and editing the docs block makes it fail (negative check done for TS only). The full npm test in cultcache-ts fails here before and after on an unrelated missing python binary in an interop test.

Not merged; forge CI still to run.

🤖 Generated with Claude Code

The Rust and Python blocks in `docs/start/README.md` are checked verbatim against their tests; the C# and TypeScript blocks were hand-copied. Now: - C#: `FirstCallTests.cs` holds the snippet region (public `Item` plus `FirstCall.Run`); `DocsShowTheTestedSnippet` fails on difference. The doc block changed from top-level statements to `FirstCall.Run`, and the "snippet is not itself compiled" caveat is gone because it now is. - TS: `first-call.test.ts` holds the region; the test substitutes the one import specifier (`../src/index` -> `@gamecult/cultcache-ts`) and compares the rest verbatim. Verified: `dotnet test --filter FirstCallTests` 2/2; TS `first-call.test.js` 2/2, and editing the docs block makes it fail (negative check done for TS only). The full `npm test` in cultcache-ts fails here before and after on an unrelated missing `python` binary in an interop test. Not merged; forge CI still to run. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
docs/start: verbatim drift check for the C# and TypeScript first-call blocks
Some checks are pending
CultMesh portability and performance / ubuntu-latest one-command multiplayer onboarding (pull_request) Waiting to run
CultMesh portability and performance / windows-latest one-command multiplayer onboarding (pull_request) Waiting to run
CultMesh portability and performance / ubuntu-latest reactive semantics and leases (pull_request) Waiting to run
CultMesh portability and performance / windows-latest reactive semantics and leases (pull_request) Waiting to run
CultNet cross-runtime interop / C# / TypeScript / Rust / Python / Kotlin (pull_request) Waiting to run
CultMesh QUIC native / Verify committed binaries match SHA256SUMS (pull_request) Waiting to run
CultMesh QUIC native / Build win32-x64 (pull_request) Has been skipped
CultMesh QUIC native / Build linux-x64 (pull_request) Has been skipped
CultMesh QUIC native / Release native binaries (pull_request) Has been skipped
bb25bf04cb
Both blocks now come from a snippet region in their test, and a second test
fails when docs/start/README.md stops showing it, as the Rust and Python
blocks already do. The TS block differs only in the package import specifier.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Author
Member

Maintainer check at head bb25bf04, run on a local merge with current main (51445cb2): C# dotnet test --filter FirstCallTests 2/2; TS first-call 2/2; Rust cargo test --test first_call 2/2; Python unittest tests.test_first_call 2/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.

Maintainer check at head bb25bf04, run on a local merge with current main (51445cb2): C# `dotnet test --filter FirstCallTests` 2/2; TS first-call 2/2; Rust `cargo test --test first_call` 2/2; Python `unittest tests.test_first_call` 2/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.
libby merged commit cafffbf6d5 into main 2026-11-05 12:43:13 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
GameCult/CultLib!7
No description provided.