Since Photoshop 24.2 (and still in 24.3), the "Select Subject" command incorrectly excludes a row of pixels along all canvas edges that the subject touches. When viewing the mask or moving/removing the subject, the missed pixels remain. There is no "apply effect at canvas bounds" preference available with this command whether processed on the device or in the cloud.
I noticed this issue in 24.3 and had to step back three versions to 24.1.1 to get it to behave properly again.