You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test: no conveyor fixture file for arrest, sample and other options #949
No model file under test/conveyors/ uses <arrest>, <sample>, exponential_leak="true", <leak_integers/>, an explicit per-slat initial list, or a time-varying <len>.
The concern was that a reader or writer dropping one of these on save would go unnoticed, because the unit tests build their XMILE in memory.
The proposal is one or two small fixtures for these features, added to the conveyor corpus in tests/integration/simulate.rs.
What already covers it
XMILE save and reload: conveyor_block_all_fields_roundtrip (<sample>, <arrest>, the batch attributes) and exponential_leak_attr_roundtrips in src/simlin-engine/src/xmile/variables.rs, plus a <leak_integers/> case in the same file.
Protobuf: serde_proptest.rs generates every conveyor and leak field and checks the round trip.
Behaviour: conveyor_tests.rs (arrest, integer leak, explicit init lists) and wasmgen/belt_tests.rs (sample, growing and shrinking belts, VM against wasm).
Fix
If anything is still wanted, add one fixture that exercises <arrest> and <sample> together and wire it into CONVEYOR_CORPUS_FIXTURES. conveyor_fixture_directory_is_fully_accounted_for fails if a new file is not wired in.
Then update the "Known corpus gaps" paragraph in test/conveyors/README.md.
changed the title [-]test: <arrest> and <sample> have no conveyor corpus fixture (proto/XMILE round-trip untested)[/-][+]test: no conveyor fixture file for arrest, sample and other options[/+]on Oct 12, 2026
Its premise that round trips are untested is false. xmile/variables.rs conveyor_block_all_fields_roundtrip and exponential_leak_attr_roundtrips, plus a leak_integers case, cover XMILE. serde_proptest.rs:379 generates every conveyor field for protobuf. conveyor_tests.rs and belt_tests.rs cover the behaviour.
Activity
engine: lower the full conveyor pass to wasm and gate it on corpus pa…
engine: lower the full conveyor pass to wasm and gate it on corpus pa…
[-]test: <arrest> and <sample> have no conveyor corpus fixture (proto/XMILE round-trip untested)[/-][+]test: no conveyor fixture file for arrest, sample and other options[/+]bpowers commentedon Oct 12, 2026
Closing as won't fix.
Its premise that round trips are untested is false. xmile/variables.rs conveyor_block_all_fields_roundtrip and exponential_leak_attr_roundtrips, plus a leak_integers case, cover XMILE. serde_proptest.rs:379 generates every conveyor field for protobuf. conveyor_tests.rs and belt_tests.rs cover the behaviour.