Skip to content

feat(exchange): count meeting, secure and resent emails in Recoverable Items - #228

Merged
NityamPareek merged 1 commit into
exchange-litigation-holdfrom
eo-recoverable-item-types
Nov 20, 2026
Merged

NityamPareek merged 1 commit into
exchange-litigation-holdfrom
eo-recoverable-item-types

Conversation

@NityamPareek

Copy link
Copy Markdown
Collaborator

What

The Recoverable Items (litigation hold) count now includes these item types instead of only IPM.Note:

  • IPM.Note, IPM.Note.Secure, IPM.Note.Secure.Sign, IPM.Resend
  • IPM.Schedule.Meeting.Request, IPM.Schedule.Meeting.Canceled, IPM.Schedule.Meeting.Resp.Pos, IPM.Schedule.Meeting.Resp.Neg, IPM.Schedule.Meeting.Resp.Tent

How

  • New RECOVERABLE_ITEMS_ITEM_TYPES list in util/constants.py.
  • EORecoverableItemsEstimator builds its $filter from it as an or chain (type eq '...' or type eq '...'). The admin API rejects type in (...) with 400 ErrorInvalidUrlQueryFilter.
  • Still a single $count request per folder; rounds and the per-mailbox in-flight limit are unchanged.
  • UI help text and README describe the counted types.

Testing

  • Live probe (runway1/2/3, encrypted-loadtest): every folder returns 200 in ~0.2–0.4s with the new filter, and the counts match the old IPM.Note filter for this tenant's data. (The runway2 drop from 20,355 to 0 versus yesterday's run is a tenant data change: its DiscoveryHolds folder now only holds 8 IPM.Appointment items with both filters.)
  • Request-shape test updated; offline suites: 225 tests pass.
…e Items

The Recoverable Items count now covers IPM.Note, IPM.Note.Secure,
IPM.Note.Secure.Sign, IPM.Resend and the IPM.Schedule.Meeting.* request,
cancellation and response types (RECOVERABLE_ITEMS_ITEM_TYPES). The admin
API rejects 'type in (...)', so the types are or-ed together in the same
single $count request per folder.
@NityamPareek
NityamPareek merged commit b2e3a24 into exchange-litigation-hold Nov 20, 2026
1 check passed
@NityamPareek
NityamPareek deleted the eo-recoverable-item-types branch November 20, 2026 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant