Defects Date - Outstanding defect are defect date

Hello,

In this scenario - The project is nearing the defect date and there is a notified defect still outstanding, that will also fall outside the defect correction period stated in the contract.

The contractor is undertaking remedial action slowly, meaning it will likely continue past the defect correction period and defect date in the contract. What happens in this scenario?

Does the client issue the defect certificate at the defect date, list the outstanding defect on the defect certificate and still retain retention in order to cover the outstanding defect once the cost has been assessed for other to complete the work?