Skip to content

Commit 1bfd3aa

Browse files
committed
docs: add error requirements docstring in conformance client script
1 parent 9d786c7 commit 1bfd3aa

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

  • packages/toolbox-core/tests/conformance

packages/toolbox-core/tests/conformance/client.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@
2222

2323

2424
async def main():
25+
"""Harness main execution block.
26+
27+
NOTE: All non-protocol outputs (logs, traces, errors) must be directed to
28+
sys.stderr. The test runner captures stdout for protocol messages only,
29+
printing other content to stdout will pollute the stream and crash the runner.
30+
"""
2531
if len(sys.argv) < 2:
2632
print("Usage: client.py <server_url>", file=sys.stderr)
2733
sys.exit(1)

0 commit comments

Comments
 (0)