Skip to content

Define merge behavior across CTRF specification versions #101

Open

Description

@Ma11hewThomas

Define how merge() handles reports declaring different CTRF specification versions, including compatible patch versions.

Previously, merge stamped the output with the library's current specification version without converting inputs. For example, two valid 0.0.3 reports with retries: 1 and no attempt history can produce output labeled 0.2.0 that fails strict validation because the newer retry contract requires history.

The 0.6.0 candidate in #95 preserves a shared input version and rejects differing version strings. Assess this separately: blanket rejection can break existing callers and does not distinguish compatible versions from incompatible contracts.

Decide the output-version, validation and conversion policy, its compatibility impact, and how callers should handle unsupported combinations. Preserve genuinely unavailable historical data rather than inventing attempt history.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions