SAN DIEGO — The San Francisco Giants have the air of a classic-rock band’s second or third “final” tour in recent days. Another city, another maybe-farewell. 

Thursday night at Petco Park, it was Robbie Ray’s moment to take a bow, perhaps. The left-hander worked six innings in the Giants’ 4-1 win over the Padres, allowing just the one run and helping San Francisco to its fifth victory in seven games. 

There will be no shortage of interest in the 2021 AL Cy Young winner, who was an All-Star as recently as last year. His 3.08 ERA is eye-catching — hi, contenders! — and the 10th-best in the National League. Over his past 10 outings, that number shrinks to 1.65, and in the past eight he’s given up just six runs. 

Tarik Skubal is the hottest trade piece among all starters, though, so the Giants might have to wait until the Tigers deal the two-time Cy Young winner before they find a match for Ray, who’s a steady top-of-the-rotation starter with postseason experience, an even temperament and an ability to adjust quickly. 

“Robbie is the epitome of a professional,” manager Tony Vitello said, emphasizing how good an example Ray is for younger pitchers. “Robbie is so good at just being locked into what he’s trying to do and not expending energy on anything else.”

Ray and Luis Arraez are the most likely players to go, given that they’ll be free agents and they’re known commodities. One league source said the Giants are “asking for the ranch” when teams call about Arraez — and more than a dozen have called, according to another source. The Padres, Arraez’s former team, are among the possible suitors. Wednesday, Arraez had four hits in what might have been his final home game with San Francisco. 

Outfielder Heliot Ramos remains a hot topic, too. Clubs such as the Phillies and Yankees, both in need of a right-handed hitter with pop, had scouts in attendance Thursday. 

Because the Giants aren’t trying to dump salary but to get the best possible prospects in return, in general they’re willing to pick up salary when they talk to possible trade partners — perhaps not when it comes to the big-name, long-term deals (Rafael Devers, Willy Adames, Matt Chapman) but even with them there is wriggle room for better prospects. Moving one of the big contracts remains unlikely, but Devers is only 29 and still piques executives’ interest. 

Devers provided one of the more unlikely hits of the season Thursday in the fifth: with third baseman Manny Machado toward shortstop, Devers placed a bunt perfectly down the third-base line for a hit, and later scored on Daniel Susac’s shallow sacrifice fly, barreling down the third-base line and sliding into home headfirst just ahead of the throw. 

Devers had a three-hit night and he provided a sacrifice fly of his own in the first — albeit slightly a consolation prize because Fernando Tatis Jr. robbed him of a homer on the play with a leap in front of the short wall in right center. 

Also a little unexpected: Susac’s continued power surge. The rookie catcher hit the first and second homers of his career one day earlier and added a two-run shot in the second Thursday off former A’s starter JP Sears.