Skip to content

dev: move the concurrency harness rationale into a design doc #861

Description

@0xisk

The module doc of contracts/test-utils/concurrency/backend.ts carries the reasoning behind the dry replay harness: why a conflict is reproduced by building two calls on one snapshot, why classification replays against the build state, and how the live backend maps onto the same contract. It is good material in the wrong place; a reader of the harness API has to scroll past it, and a reader looking for the design has no reason to open that file.

Move it to docs/design/ as a concurrency-harness design doc and leave backend.ts with a one-paragraph summary and a link.

Raised in #743 review: #743 (comment)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions