Skip to content

Collapse the duplicated rejected-op regression block #151

Closed

Description

@christian-byrne

At reviewed SHA 811d6a267b34f1eba2ed0969dd24ccdda565371b, the same rejected-connect fixture, helper, and cases are maintained in two regression files.

  • The copied block spans test/ka4-storable-values.regression.test.ts:27-225 and test/reject-no-mutation.regression.test.ts:35-238.
  • Keep the distinct oracles: convergence/order coverage in the latter, and cloneable-but-Yjs-unstorable/property coverage later in the former.
  • Collapse only the copied block and shared fixture/helper; do not delete either whole suite.
Verification and scope

Exact reviewed locations:

An independent source-semantic pass confirmed the exact duplicated cases and narrowed the recommendation. It also confirmed that the unique later sections of all three suites must remain.

Freshness: open heads #123 (38e6ec6), #138 (ca2a3ec), #142 (ba591284), and #143 (32c3dcc) do not modify these test blocks. Existing #149 and #150 concern malformed stamps and contradictory node identity; merged #140 concerns canonical grow ordering. None overlaps this maintenance finding.

Suggested outcome: single-source the shared workflow/helper and one table of the basic rejection cases, while preserving the convergence, exhaustive rejection-code, and generated storability-domain oracles.

Reviewed SHA: 811d6a267b34f1eba2ed0969dd24ccdda565371b.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions