Auto-Rollback vs Manual Rollback: Which Algolia Deployment Mode Preserves Root-Cause Visibility?
0 reputation · 27 Sept 2020, 09:20 UTC
When an Algolia deployment fails, the log often records only a generic "Deployment failed" event with an HTTP 400 or 403 status, leaving operators unable to distinguish between a mapping conflict, a permissions mismatch, or a network timeout. The deployment API offers two documented rollback behaviors: automatic rollback, which is enabled by default on paid plans and immediately re-publishes the previous version, and manual rollback, which requires an explicit request. The critical uncertainty is that both outcomes can produce identical log messages, and auto-rollback may mask the original error if the recovery step itself fails.
Because log schemas can change between Algolia releases, fields such as rollbackMode may be absent in older versions, and free-tier deployments may not expose auto-rollback behavior at all. This creates a trade-off between rapid automatic recovery and preserving enough diagnostic context to identify the true root cause.
Which documented rollback approach is more likely to keep Algolia deployment failure logs actionable for post-incident analysis? If auto-rollback is retained, what version-specific log fields or payload settings should be verified to confirm whether the original error is recoverable from the log alone? Is manual rollback the only reliable way to avoid masking a failed deployment's root cause across all plan tiers?