well, I'm almost sure that they get finished at the start of your round. So when the AI lays siege to your city in its turn, they're still 'under construction' when your turn starts.