Padres: Manny Machado and the Padres wrote their own Hollywood ending on the home field of their biggest rivals Tuesday night. The Padres stunned the Dodgers with a game-ending triple play to preserve a 4-2 victory over the NL West leaders that clinched a playoff spot for the Padres. The party was on in the Padres’ darkened clubhouse, with music pumping and lights flashing as players drenched each other in alcohol. With the Padres leading by three runs in the ninth inning, Kiké Hernández hit an RBI single that cut it to 4-2 and put runners at first and second. Miguel Rojas hit a sharp grounder to Machado at third base, and he stepped on the bag before going around the horn for the triple play. The Dodgers challenged the out call at second base, but the ruling was upheld after a video review. The only other teams to turn a triple play on the same day they clinched a postseason berth were the 2020 Brewers, and the Cubs in 1910 and 1907. The Padres’ was the first of those to end the game. After missing the postseason last year, the Padres earned the eighth playoff berth in franchise history. They’re guaranteed at least a NL wild card.

Astros: The Astros clinched their fourth straight AL West title with a 4-3 win over the visiting Mariners on Tuesday night, overcoming a terrible start to reach the playoffs for an eighth consecutive year. The Astros are the first team to win four straight AL West crowns sincethe A’s won five in a row from 1971-75. It’s the first time they’ve won four consecutive division titles, after winning three in a row twice before. The Astros trailed the Mariners by a season-high 10 games on June 18. But they moved past the Mariners into first place in mid-August and cruised home to the division crown.

Orioles: The Orioles are headed to the playoffs in consecutive years for the first time since the 1990s, clinching no worse than a wild-card berth thanks to a 5-3 win over the host Yankees on Tuesday night paired with the Twins’ loss to the Marlins. The Orioles won the AL East last season but have only a remote chance of overtaking the Yankees for the division title this year.

Yankees: LHP Nestor Cortes has a strained flexor in his pitching elbow and was put on the 15-day IL on Wednesday in a blow to the Yankees’ rotation heading into the playoffs. The 29-year-old Cortes (9-10, 3.77 ERA) was 4-0 with a 1.58 ERA in his last seven starts.

Guardians: All-Star OF Steven Kwan was activated from the 10-day IL, a boost for the AL Central champs. Kwan, 27, had been sidelined with a back issue.

Mets, Braves: The last two games of the pivotal series between the Mets and Braves were postponed due to the forecast for inclement weather in Atlanta. The Mets, Braves and Diamondbacks are battling for the last two NL wild cards. The last two games of the three-game set, originally scheduled for Wednesday and Thursday, will be made up as a doubleheader Monday in Atlanta. The D-backs hosted the Giants on Wednesday but the game ended too late for this edition.