Skip to content

[Archive] Make external-import previews handle archived dedupe matches #2935

Description

@Chris0Jeky

Confirmed introduced MEDIUM from #2932 comment 3982295771. ExternalImportService includes archived cards in provider/profile/dedupe matching. When incoming data changes, preview reports an update; applying calls Card.Update, which rejects the archived card and rolls back the entire import with an explicit domain error. Unchanged matching rows are skipped. No partial write or data loss occurs.

Residual: classify archived matches during planning so preview describes the actual permitted outcome, using an explicit conflict or another documented non-mutating disposition. Do not silently restore or duplicate the archived card. Test a mixed batch with one changed archived match, an unchanged archived match, ordinary active upserts, and preview/apply parity.

Tracked under the bounded review rule; no active claim. #2932 (comment)

Activity

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

    Priority IIIValuable but unscheduled: residuals, tech-debt, performance, depth work.backendPrimary implementation impact in .NET API/domain/application/infrastructure.bugSomething isn't working

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions