So I tested and realized that it does work. The reason I thought it was a bug is that, when eating only a few slices, it would not regen health. But now I realize it's only because the individual slices don't give enough saturation. Eating a whole cake does give a small regen boost.
How are you verifying the saturation? Eating a full cake is supposed to restore 2.8 bars of it.