Skip to content

Rung 10: the python test-suite port (parity bar) - #119

Closed
godon-robot[bot] wants to merge 2 commits into
mainfrom
feat/rust-test-port
Closed

godon-robot[bot] wants to merge 2 commits into
mainfrom
feat/rust-test-port

Conversation

@godon-robot

@godon-robot godon-robot Bot commented Oct 16, 2026

Copy link
Copy Markdown
Contributor

The lane's owed motion: the python unit suite (~5.3k lines, 11 files) ported to rust against the gateway seams - the parity bar the holder set.

Landed so far:

  • The harness (tests/port/): FakeDb, FakeWindmill, FakeCausal - the rust shape of what python's suite got from unittest.mock.patch, injected through DbGateway / WindmillGateway / CausalClient.
  • test_instruments_read.py ported (4 tests).

The first module found a real port gap, fixed in the same motion: the rust read_state_verdict carried the pre-rung-9 shape (three columns, no instruments). Now python-faithful: the four-column read, the message-matched rollout-order guard (one retry, no ladder), the lenient stamp parse (a torn payload reads absent), instruments always keyed in the verdict's order.

Remaining modules land as pushes to this branch: watermark_slots, wish_assignment_upsert, seek_return_mirror, config_validation, config_sharding, targets, credentials, seek_wish_door, wish_door_rung6, steerwishes, systemtenders.

Co-authored-by: cherusk 10729954+cherusk@users.noreply.github.com

godon-robot Bot and others added 2 commits October 16, 2026 11:48
…carries the worker's stamp

The parity bar's first module (test_instruments_read.py) found a real
gap: the rust read_state_verdict carried the pre-rung-9 shape - three
columns, no instruments pickup. Ported the python faithfully: the
four-column read, the message-matched rollout-order guard (one retry,
no ladder), the lenient stamp parse (torn reads absent), and the
instruments key always present in the verdict's order.

The port harness lands with it (tests/port/): FakeDb/FakeWindmill/
FakeCausal behind the gateway seams - the rust shape of what python's
suite got from unittest.mock.patch.

Co-authored-by: cherusk <10729954+cherusk@users.noreply.github.com>
Co-authored-by: cherusk <10729954+cherusk@users.noreply.github.com>
@godon-robot

godon-robot Bot commented Oct 16, 2026

Copy link
Copy Markdown
Contributor Author

Superseded, holder's word: the tests/port harness and instruments-read tests landed via #120 (clean off main, carrying the compile fixes); the database-side instruments variant landed earlier via #118. Branch feat/rust-test-port stays for reference.

@godon-robot godon-robot Bot closed this Oct 16, 2026
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.

0 participants