I have identified a bug Actions utilizing the Select and Mask space in the June 2022 release of Photoshop (23.4.1).
Mac OS 11.6.7 (Big Sur)
Macbook Pro 2019. i9
Background. My company creates and markets Photoshop actions and brushes, mostly for creating texture-based effects. A number of our Distressing actions contained in multiple product packs have ceased working in the latest release of Photoshop.
I have run a side-by-side comparison in the attached screenshot. (Unfortunately, I wasn't able to go back to the 23.3 release so I'm comparing it to CC2021.) You can see that in the latest version, the edge contrast has not been cleaned up by the Select and Mask steps in the action set.
When the action runs, these steps trigger a warning popup "Warning: no pixels were selected" then proceeds to skip the step.
It should be noted, that the bug only affects the Select and Mask steps when embedded in an action. Performing the same task manually works as expected.