算法艺术创作
algorithmic-art
通过代码和可调参数创作生成艺术与交互式视觉效果。
salesforce-reliability-patterns【设计与创意】Build Salesforce integration reliability with idempotency, bounded retries, durable state, dead letters, reconciliation, backfill, and tested recovery. Use when designing resilient systems. Trigger with "harden Salesforce reliability".
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Make every read, write, job, and event path safe under duplicate, delayed, partial, uncertain, throttled, and unavailable outcomes.
Use Read, Glob, and Grep to inspect approved repository and evidence files, WebFetch to re-check current first-party Salesforce documentation, and Write or Edit only for secretless plans, fixtures, configuration, and redacted receipts.
Salesforce synchronous, composite, bulk, and event surfaces have different transaction, result, retry, ordering, and recovery semantics. CDC can emit gap or overflow events; no transport removes the need for idempotency and reconciliation.
Use separate minimum-permission principals for runtime, repair, and diagnostics. Protect tokens, payloads, checkpoints, dead letters, and repair tooling from unauthorized access and logging.
Do not replay, purge queues, skip failed records, alter checkpoints, repair data, fail over, or change retry budgets without application and data owners.
Return the operation contracts, failure matrix, idempotency and retry design, durable-state schema, test results, recovery receipt, gaps, and owners.
| Condition | Response |
|---|---|
| Write timed out with unknown outcome | Reconcile by stable key or request ledger before any retry. |
| Event gap or overflow is detected | Bound the interval and use the approved source-of-truth reconciliation or backfill. |
| Dead-letter payload contains sensitive data | Restrict and redact the store, assess exposure, and repair producers before replay. |
A redacted completion receipt might look like this:
integration=orders; key=erp_id; retries=transient-only; ledger=durable; dlq=encrypted; chaos=pass; recovery=42m
Run the workflow first in the lowest-risk authorized org and preserve its redacted receipt. Schedule a review against the next Salesforce seasonal release and the customer change calendar.