# Schedule

**Test family:** `SCH`

- **SCH-001** One-time schedule runs just before/at/after boundary once and records intended/actual time.
- **SCH-002** Recurrence covers interval, day/week/month/year, weekdays, month end, leap day, count, until, and no end.
- **SCH-003** Time zone, DST missing/repeated time, user/org zone change, and clock skew follow explicit policy.
- **SCH-004** Service downtime/restart around due time uses catch-up/skip exactly once.
- **SCH-005** Edit/cancel/pause/resume near execution boundary avoids lost or duplicate run.
- **SCH-006** Long-running prior instance obeys overlap/concurrency policy.

## Comprehensive per-item coverage

- **SCH-007** Exercise no match, one match, many matches, and boundary-size batches with ordinary and adversarial records.
- **SCH-008** Use text values containing emoticons, emoji, kaomoji, RTL, combining marks, quotes, delimiters, and newlines; preserve comparison and substitution semantics.
- **SCH-009** Deliver the same event once, twice, late, out of order, and after replay; define deduplication and event-time behavior.
- **SCH-010** Race matching events and concurrent workflow instances against the same record; prevent lost updates and duplicate effects.
- **SCH-011** Retry before commit, after commit before acknowledgment, and after downstream partial success; use stable idempotency.
- **SCH-012** Change the condition, template, permission, owner, or target after scheduling but before execution; define snapshot versus latest semantics.
- **SCH-013** Run across daylight-saving gaps/folds, leap day, month end, differing tenant zones, clock skew, and delayed workers.
- **SCH-014** Pause, resume, disable, edit, clone, publish, roll back, and delete while runs are queued or active; preserve version identity.
- **SCH-015** Create direct, indirect, and cross-workflow loops; detect recursion, cap fan-out, and expose why execution stopped.
- **SCH-016** Test missing fields, nulls, type changes, unknown enums, deleted references, schema migrations, and malformed payloads.
- **SCH-017** Run as creator, owner, service identity, changed-role user, removed user, and least-privilege actor; define execution authority explicitly.
- **SCH-018** Cross tenant, workspace, region, and environment boundaries only when explicitly authorized; prevent shared caches or queues from leaking data.
- **SCH-019** Force dependency timeout, rate limit, quota, authentication expiry, malformed response, and permanent rejection; route each to a defined failure path.
- **SCH-020** Verify compensation or rollback for partial multi-step work, including a compensation failure and manual recovery.
- **SCH-021** Measure queue delay, execution latency, throughput, fan-out, backlog, and recovery under the supported load envelope.
- **SCH-022** Provide dry-run or preview where consequences justify it; identify evaluated inputs, matched conditions, and proposed actions without mutation.
- **SCH-023** Verify alerting distinguishes user-data failure, configuration failure, platform failure, and exhausted retries without notification storms.
- **SCH-024** Record immutable version, trigger/event ID, evaluated conditions, actor, permissions, each attempt, side effect, and final outcome without secrets.
- **SCH-025** Replay a historical event against the same and newer definition in an isolated mode; make semantic changes visible.
- **SCH-026** Recover after worker crash, queue redelivery, regional failover, and prolonged outage without losing or duplicating committed work.

[Back to Automation, rules, permissions, and audit index](../../automation-rules.md)
