Skip to content

[Feature Request] Permit the removal + change of adjacent deprecated patches #535

@Sushisource

Description

@Sushisource

Is your feature request related to a problem? Please describe.

User had 2 consecutive patches in history deprecatePatch('patch-1') followed by patched('patch-2') and deployed a change removing the first deprecated patch while deprecating patch-2 and tripped the check in Core that verifies that a patch ID doesn't change during replay.

Describe the solution you'd like

Ideally, it should be possible to make this change. A couple options:

  • When it comes to nondeterminism checking specifically for deprecated patches, if there is a patch-id conflict, assume that this was because of the removal of a previously-adjacent deprecated patch, and allow it.
  • Allow patches to be emitted / applied in any order. This is generally safe (since we perform lookahead anyway, and activated patches are sent in a batch for a given WFT), but a more invasive change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions