Skip to content

docs: checking a client is one command now - #13

Merged
tactino merged 1 commit into
mainfrom
docs/conformance-one-command
Sep 21, 2026
Merged

tactino merged 1 commit into
mainfrom
docs/conformance-one-command

Conversation

@tactino

@tactino tactino commented Sep 21, 2026

Copy link
Copy Markdown
Member

Merge after plugrl-protocol#5, which is where plugrl-conformance comes from. Until that lands, this page documents a command that does not exist yet.

What the page used to ask of a reader

  • Pass --with websockets, because the checker imported a library the package never declared.
  • Run examples/conformance_server.py - a path into a checkout, not something they can install and point at their own client.
  • Start their client in a second terminal and hope the socket was listening. That race is real; CI worked around it with a wait loop copied into three jobs.

What it asks now

uv run --extra conformance plugrl-conformance     --port 8000 --steps 20 --client "./my_client 127.0.0.1 8000 20"

The page says what --client buys rather than just showing it: the client starts after the socket is listening, so a failure to connect is about the client rather than about start-up order, and a non-zero exit from it is reported as its own failure instead of surfacing as no client ever finished.

It also says the two-terminal form still works, because it does.

Both languages. mkdocs build --strict passes.

The page told a reader to pass --with websockets because the checker imported an undeclared library, to run a path into a checkout rather than a command, and to start their client in another terminal and hope the socket was listening. All three are fixed upstream in plugrl-protocol.

It now documents plugrl-conformance with --client, says what --client buys - the client starts after the socket is listening, and its non-zero exit is reported as its own failure - and notes that the two-terminal form still works.
@tactino
tactino merged commit bb49630 into main Sep 21, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant