Skip to content

Refuse malformed Calendar batch-delete receipts - #862

Closed
NewWorldVenture wants to merge 1 commit into
codex/calendar-bulk-assignee-family-20261002from
codex/calendar-delete-collection-receipts-20261002
Closed

NewWorldVenture wants to merge 1 commit into
codex/calendar-bulk-assignee-family-20261002from
codex/calendar-delete-collection-receipts-20261002

Conversation

@NewWorldVenture

Copy link
Copy Markdown
Owner

Calendar batch deletion now refuses a non-nullish, non-array success receipt before reading the returned collection. The three-line guard preserves the existing SDK error path, arrays, nullish/204 empty receipts, filtered IDs, family scope and activity behavior. This draft is stacked on #860; only deleteEvents changes.

Validation: the same 22-case actual SDK synthetic suite passes on the candidate and ordinary root configuration with private source/observer variables absent. The exact parent has ten malformed-collection failures and twelve passing controls. All original assertions and all44 paired request/payload/activity vectors are retained. Full8GB nonincremental types and scoped two-file lint pass.

Refusal occurs after a synthetic DELETE reply. These tests do not establish prevented physical deletion, rollback, an actual database invariant or a full Undo workflow. Auth/context/provider/backend/PG/RLS execution is absent, and the fixture does not assert response headers. The selected published #860 parent differs from the original source62 module only by the unrelated UPDATE guard; the deletion routine is identical and sibling seams are unused.

@vercel

vercel Bot commented Oct 3, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
bubaly Ignored Ignored Oct 3, 2026 4:19am UTC

Request Review

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant