After four seasons, “Nancy Drew” (CW, 8 p.m.) ends its run by presumably solving its last mystery.

Even more jarring, as its network seemingly rids itself of all its American scripted series, is the end of “Riverdale” (CW, 9 p.m.) after seven seasons. Nominally inspired by Archie comics, it is to return to its roots tonight, as Betty, now in her 80s, recalls their antics in the 1950s. 

Andre negotiates for Annika on the season finale of “Grown-ish” (Freeform, 10 p.m.). 

“Bargain Block” (HGTV, 9 p.m.) returns for a new season, renovating a house in Detroit that the city wants to demolish.

Gloria Estefan decides who is her biggest “Superfan” (CBS, 9 p.m.). 

“America’s Got Talent” (NBC, 8 p.m.) has its first live results show of the season. 

A pillow addict meets a car lover on “My Strange Addiction: Still Addicted?” (TLC, 10 p.m.), a network once founded as The Learning Channel. 

“MasterChef” (Fox, 8 p.m.) has back to back new episodes. 

There’s a veto competition on “Big Brother” (CBS, 8 p.m.), where challenges have been getting more and more complicated. 

The special “Carol Burnett: 90 Years of Laughter + Love” (NBC, 9 p.m.) gets a replay. 

“The Real Housewives of Orange County” (Bravo, 8 p.m.) have a fiesta.

Miranda is swept off her feet on the first of three new back-to-back episodes of “Tyler Perry’s House of Payne” (BET, 9 p.m.).

“The Real Housewives of Miami” (Bravo, 9 p.m.) goes to an engagement party. 

Reports of witches and black magic in Monterrey, Mexico gets the attention of “Expedition X” (Discovery, 9 p.m.). 

“Ghost Adventures” (Discovery, 10 p.m.) messes around in a California preschool.

Chef Jonathan Bennett goes back to 1994 with guest judge Wayne Knight on “Battle of the Decades” (Food, 10 p.m.). 

“Teen Mom: The Next Chapter” (MTV, 8 p.m.) worries about their own teen. 

“To Catch a Smuggler” (National Geographic, 9 p.m.) goes after a fentanyl pipeline. 

It’s Vincent Price night on Turner Classic Movies’ Summer Under the Stars with “The Long Night” (6 a.m.), “The Las Vegas Story” (8 a.m.), “His Kind of Woman” (9:45 a.m.), “The Baron of Arizona” (noon), “Twice-Told Tales” (2 p.m.), “Diary of a Madman” (4:15 p.m.), “The Last Man on Earth” (6:15 p.m.), “House of Wax” (8 p.m.), “The House on Haunted Hill” (9:45 p.m.), “The Pit and the Pendulum” (11:15 p.m.), “Masque of the Red Death” (12:45 a.m.), “The Tingler” (2:30 a.m.) and “The Bat” (4:15 a.m.). 

Baseball includes Cubs at Detroit (MLB, 1 p.m.), San Francisco at Philadelphia (MLB, 4 p.m.) and Boston at Houston (MLB, 8 p.m.).

The WNBA has Phoenix at Los Angeles (CBS Sports, 10 p.m.). 

Qualifying rounds begin at the U.S. Open (ESPNews, 11 a.m.).

The Track and Field World Championships (USA, 4 a.m., 1:30 p.m.) hit Day 5.

Daytime Talk

Kelly Ripa and Mark Consuelos: Rita Ora, Antonio Banderas. The View: Geraldo Rivera (rerun). The Talk: Oliver Hudson, Eddie Jackson (rerun). Drew Barrymore: Sam Smith (rerun). Kelly Clarkson: Craig Robinson, the Harlem Globetrotters (rerun). Jennifer Hudson: Jesse Palmer, Tati Gabrielle, Major (rerun). 

Late Talk

All reruns due to the writers strike: Stephen Colbert: John David Washington, Naomi Osaka, Spoon.  Jimmy Kimmel: Courteney Cox, Ike Barinholtz. Jimmy Fallon: Brian Cox, Heidi Gardner, Mikaela Shiffrin, Caroline Polachek. Seth Meyers: Florence Pugh, Steve Kornacki. James Corden: Niall Horan, Orlando Bloom.