The bug
The 23w43a changelogs say "Hostile mobs cannot naturally spawn" on copper grates. However, they spawn on oxidized and/or waxed copper grates.
Steps to reproduce
Set time to night.
/fill ~-20 ~ ~-20 ~ ~ ~ minecraft:weathered_copper_grate
Go up a few dozen blocks.
Wait.
Expected result
Mobs wouldn't spawn.
Observed result
Mobs do spawn.
Can confirm