Why macOS Sonoma doesn't delete /tmp files in app containers?

It looks like macOS Sonoma doesn't delete /tmp files in containers periodically or on reboot, like it does for system /tmp or $TMPDIR.

Is it a bug or is it in on purpose?

Our app didn't delete its temp files and some users have quite a few of them. We will make the fix so that we clear after ourselves in the future but should we delete temp files manually on start for existing users?

Unintentionally created a similar post here https://forums.developer.apple.com/forums/thread/756124

I've answered at:

https://forums.developer.apple.com/forums/thread/756124

...to move consolidate the conversation.

Why macOS Sonoma doesn't delete /tmp files in app containers?
 
 
Q