@jeffishjeff
Yup, your understanding is correct. Swap stops (partial swap completes) when the entire amountSpecified is consumed, or sqrtPriceLimit has been reached. Note that because sqrtPriceLimit cannot be outside of max/min tick, one'd also see partial swap if the entire pool has run out of liquidity!