Skip to content

batches: add a flag to auto-detach changesets when applying a batch spec #503

Open
@LawnGnome

Description

@LawnGnome

By default, in 3.27, changesets that no longer match a batch spec are archived, instead of detached. Although we believe this is a better, safer default for most users, it's possible that some users would want the previous behaviour.

As such, we should add a -detach-all (or similar) flag to src batch apply that will immediately detach changesets that would be archived when the batch spec is applied. Whether this should be done via a post-apply set of GraphQL calls or as an option that is passed directly to the applyBatchChange mutation is left as an exercise for the implementer.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions