"So, if the DA hadn't shared discovery until yesterday, how did the defense know the service had been discontinued?"
Did the defense mention that the phone was disconnected before discovery?
It was reported before the hearing that the defense was trying to secure time sensitive evidence. The defense went into court ready to seek the cell phone records and acknowledged they had just received discovery. So (IMO) when they stated the phone was discontinued the next day, they already had that info.