When an employee loses health coverage because of they now qualify for Medicare, that is considered a qualifying event for the employee's covered spouse and/or dependents.
But because Medicare also has a Secondary Payer Rule prohibiting an employer's group health plan from taking Medicare entitlement into account or terminating coverage because of Medicare eligibility, that will create an initial COBRA triggering event.
If a qualified beneficiary's Medicare entitlement occurs after he elects COBRA, which is what you are talking about, the plan may terminate his COBRA coverage on the date of the Medicare entitlement.
If the employee is entitled to Medicare before COBRA, then loses coverage due to termination or reduction of hours, the employee's covered spouse or dependents may have COBRA for 36 months from the date of the employee's
Medicare entitlement. The employee is restricted to 18 months on COBRA.