Skip to content

bug(series): prevent edit order from creating same-day Occurrences across a split #222

Backlog

Description

@mwg-bender

This was generated by AI during triage.

Observation

A review follow-up on PR #214 reports that the no-duplicate guarantee across a split can depend on which Series is edited first. This is distinct from #219, which covers following-scope edits; this report concerns all edits of both halves.

Reported reproduction

  1. Split a Series into an old and a successor Series around an offset change.
  2. Use scope=all to move the old Series to a late local time at offset -05; the edit is accepted.
  3. Use scope=all on the successor at offset -04, preserving the same instants; that edit is also accepted.
  4. The report says the two Series then produce Occurrences on the same calendar date when viewed at -04. Reversing the edit order is refused.

The report says StartRule compares instants, so changing the successor's offset can make the calendar-day overlap reachable only in this order. The cited documentation states: “So it never makes Occurrences on the dates of the Series that follows it.” Please verify the reproduction and decide how the split-day invariant should hold across both halves and their stored offsets.

Evidence: PR #214, issue comment 7152790020, section “Observations (for Nerd to file; not fixed)”. Nerd has not independently reproduced this report. No fix is proposed here; keep it out of PR #214 unless separately authorized.

Activity

  1. added
    bug
    needs-triage
    on Nov 25, 2026
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

    bugneeds-triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions