Skip to content

Harden exchange fixture review nits #211

Description

@the-sarge

Source

Follow-up from RAS review run 20260702T170442-81ca5a9bf217307fb84ad701 on PR #210.

The review synthesis found no merge-blocking issues. These are low/nit documentation and test-hygiene improvements for the new exchange fixture, filed separately per the PR review low/nit policy.

Work

  • Correct the CONTEXT.md Exchange fixture glossary sentence so it acknowledges that default-input fuzz seed setup and message benchmarks use newExchange / finishInitiator; variable-input fuzz targets and Start/Respond-failure tests use the raw deterministic seams.
  • Rename fixture fatal messages that currently say fixed exchange config; the fixture is parameterized even though randomness is deterministic.
  • Consider registering fixture cleanup with tb.Cleanup to close the initiator and responder handles where safe.
  • Decide whether to add a msgC-only helper that closes the initiator session returned by finishInitiator, or explicitly leave discarded test sessions as acceptable behavior-preserving test setup.

Out of scope

Do not change production package behavior. Do not refresh release evidence unless this work later makes a stronger release-readiness claim. Do not add broad godoc comments to unexported fixture helpers unless the repo adopts that convention.

Metadata

Metadata

Assignees

No one assigned

    Labels

    external reviewExternal review finding or reviewer-facing taskkind/hardeningDefense-in-depth hardening, no API/protocol change

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions