When doing experiments with aggressive pruning (state from the genesis -> keep only 1000 latest blocks), I managed to overwhelm already synced node, making latest_height be 2h behind the actual latest block as observed on the block explorer.
To my surprise, the status was still marked as ready:
"consensus": {
"status": "ready",
....
}
Worst, we have parts of the runtime code that never assume a consensus node may fall behind once marked as ready. E.g. https://github.com/oasisprotocol/oasis-core/blob/49023d0c895ef6f1eead7292dbe44d5e19a23dea/go/worker/storage/committee/worker.go#L1197:L1199.