CI and rollback
Define gates before automation
Require compatibility, dependencies, binding, connection, security, DAX results, refresh and approval. Treat absent, failed and NOT RUN evidence as blockers. A release approval should refer to the exact candidate artifact; a later edit needs fresh review. Use separate identities for build and authorized promotion when practical. Do not equate a local JSON pass with engine validation.
Observe asynchronous deployment
API-driven promotion is an authorized operation, not a local file copy. Check supported items and identity permissions for the selected API. A submission may return before completion; capture its operation identifier and use documented status handling, honoring retry guidance and bounded polling. Do not submit another write blindly after an ambiguous timeout. Stop on terminal failure or unresolved status, inspect evidence and verify actual target state.
Worked example 1 — reject incomplete evidence
The gate-contract.json lists eight required checks. In verify.py a hypothetical all-PASS bundle allows the repaired candidate only if the approval digest matches. If refresh is NOT RUN, security fails, or approval is for r1 rather than r2, the simulator rejects the release. All simulated PASS values are teaching inputs, never observed tenant results.
Worked example 2 — recover a failed release
The simulator starts with r2 metadata, refresh FAIL and security NOT RUN. Replacing metadata with the known r1 snapshot restores its exact canonical digest but does not change refresh or security status. The release remains blocked. In a real approved test stage restore a known-good definition via a supported method, verify connections, revalidate access, refresh as needed and confirm expected results before reopening access. Preserve logs and coordinate with owners.
Prepare recovery before promotion
Keep a reviewed prior artifact, environment mapping, dependency inventory, data recovery plan and responsible owners. Git revert is an inverse definition change, not an automatic service or data rollback. Avoid assuming backward deployment is supported for every populated stage or item. If recovery cannot be verified, retain the previous approved consumer experience where possible and escalate rather than claiming recovery.
Practice and references
Run the verifier, record the expected totals and write a gate matrix with native checks NOT RUN. Describe how a timed-out deployment differs from a terminal failure. See validate content, deploy content, operation status and deployment guidance.