Luke Perry died on March 4 following a massive stroke

Riverdale fans will bid their final farewell to Luke Perry nearly two months after his tragic death.

On Sunday, Riverdale showrunner Roberto Aguirre-Sacasa revealed that Wednesday’s episode of the hit CW drama will be the last time fans see Perry play Fred Andrews.

“This week’s #Riverdale is the last episode Luke filmed,” Aguirre-Sacasa wrote on Twitter alongside a photo of Perry as Archie’s (KJ Apa) dad. “As always, Fred’s imparting words of wisdom to Archie. A beautiful, true moment between a father and his son.”

“Wish these scenes could go on forever…❤️🏆💎👨🏻‍💻,” he added.

While it’s unclear how the show will address Perry’s death on screen, Aguirre-Sacasa has said the cast and crew were still struggling to come to terms with Perry’s death.

“You know, honestly, we are I think all still in shock and are all still processing and grieving,” he admitted. “We know that we have to address it in some way, but we’re giving ourselves a little bit of time and space before we figure out the best way to honor him.”

And Cole Sprouse later said the show will dedicate “some of the episodes to him.”

“I can’t go too much into the spoilers of it, but we do have something planned narratively,” he said on The View. “We dedicated some of the episodes to him.”

Chapter Four: The Last Picture Show
Luke Perry and KJ Apa on Riverdale
| Credit: Dean Buscher /The CW

Perry was hospitalized after suffering a stroke on Feb. 27 after paramedics were dispatched to his home in Sherman Oaks, California. A source told PEOPLE he never regained consciousness.

On March 4, Perry’s rep confirmed that the Beverly Hills, 90210 actor had died at age 52.

“Actor Luke Perry, 52, passed away today after suffering a massive stroke,” read a statement from Perry’s rep. “He was surrounded by his children Jack and Sophie, fiancé Wendy Madison Bauer, ex-wife Minnie Sharp, mother Ann Bennett, step-father Steve Bennett, brother Tom Perry, sister Amy Coder, and other close family and friends. The family appreciates the outpouring of support and prayers that have been extended to Luke from around the world, and respectfully request privacy in this time of great mourning. No further details will be released at this time.”

According to a copy of his death certificate obtained by PEOPLE, Perry was buried in Dickson, Tennessee, one week after his death. The actor was a part-time resident of Tennessee and had owned a farm there since 1995.

Perry’s finale episode of Riverdale airs Wednesday at 8 p.m. ET on the CW.