Skip to content

Pacing settings: a partial per-instance patch resets reservePercent to 0 #54

Closed

Description

@scuttletoby

From the data-integrity (settings) lens on #52 (#52 (comment)), minor.

Each instance's pacing settings entry is replaced as a whole on a settings patch, not merged field by field. A patch that sets only burnFirst resets reservePercent to 0, so the owner's reserve is silently lost. The PR text says "patches merge per instance", which reads as per field.

Not blocking today: nothing writes this setting yet. Fix before pacing PR 4/5 or a settings screen writes it: merge per field (with a test that a burnFirst-only patch keeps reservePercent), or document that both fields must be sent.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions