Skip to content

Add Batch Revoke and Batch Refund #971

Description

@Cedarich

Complexity: Medium (150)

Description
batch_create_packages allows bulk creation, but unwinding is single-package only via revoke
(line ~1055) and refund (line ~1090). Recovering from a bad bulk import therefore takes as many
transactions as the import created, which is slow precisely when speed matters.

Acceptance Criteria

  • Batch revoke and batch refund accept bounded lists of package ids
  • Authorization is checked per package
  • Partial success semantics match the batch create convention
  • Aggregates and locked/claimed totals stay consistent
  • Tests cover partial failure and idempotent re-invocation

Activity

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

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions