SAN DIEGO — The moment called for Robbie Ray to empty the tank.It’s one thing to recognize when you’re facing your last hitter of the night. It’s another to recognize when you’re almost certainly facing your last hitter in a San Francisco Giants uniform. For Ray, there was no sense in leaving anything sloshing around in the tank in the sixth inning Thursday night, especially when you’re about to trade in the whole car for something souped up and shinier.With the trade deadline approaching Monday and Ray among the impending free agents almost certain to be dealt to a contender, the Giants accepted some degree of risk when they let the left-hander take the mound against the San Diego Padres at Petco Park on Thursday night. In case you haven’t noticed, tempting fate hasn’t worked out so well for the Giants this season.But Ray provided a fitting coda to his two-plus seasons as a Giant, plus a solid audition that might have boosted the club’s asking price. He worked up a sweat, mixed five pitch shapes and held the Padres to a run on four hits in six innings. Catcher Daniel Susac followed up Wednesday’s two-home-run game by smacking a two-run shot, and the Giants bullpen didn’t break down while protecting a 4-1 victory.Ray soaked up the pitch clock in the sixth inning, giving himself every second of recovery time as he grunted through his final pitches. He threw his hardest fastballs of the night — a 95 mph four-seam fastball and then a 95 mph two-seamer — while rallying from a 3-0 count to strike out Manny Machado. After he got Ty France to chase a changeup at the shoe tops, Ray punched his glove, wiped his brow, gave Susac a fist tap and accepted waves of congratulations in the dugout.This is hug watch season. Ray’s teammates didn’t wait for trade news to show him their appreciation. Logan Webb gave him a particularly long and heartfelt embrace.“It’s been a tough year as a team,” Ray said. “We’re not where we want to be. But I feel like I’ve put myself in a good position, gone out every day and tried to give my team a chance to win.”Why is everyone watching for hugs before the trade deadline?Tyler Kepner and Lauren Morales-JonesRay, 34, came to the Giants in a January 2024 trade that was among the most inspired of Farhan Zaidi’s tenure as president of baseball operations. The 2021 AL Cy Young Award winner was in the middle of an arduous rehab process, recovering from surgeries to reconstruct the flexor tendon and the ulnar collateral ligament in his left elbow. His employer, the Seattle Mariners, was dealing with financial uncertainty following the disintegration of their regional sports network. The Mariners essentially wrote down the rest of Ray’s five-year, $115 million contract while taking on the dead money owed to declining outfielder Mitch Haniger and injured right-hander Anthony DeSclafani.“Super thankful (I was) given the opportunity mid-rehab to come over here and continue the rehab process here,” Ray said. “Training staff has been amazing, and just (getting) the opportunity to pitch … get back on the field and do what I love to do. They’ve given me a chance to come back from that injury and just thankful for that.”His results were predictably uneven when he returned in 2024, and in hindsight, it was unfair to expect him to serve as the second-half cavalry for a team that didn’t pitch well enough down the stretch to make the playoffs. But the payoff came last year when Ray was 9-3 with a 2.65 ERA in his first 20 starts and joined Webb on the National League All-Star team.Ray expanded the fastball-slider repertoire that helped him win a Cy Young with the Toronto Blue Jays, committing to a changeup that helped him dominate during stretches last season. He reinvented himself some more this season, turning to a sinking, two-seam fastball and dusting off a knuckle curve.He isn’t throwing quite as hard as before. He isn’t pitching as deeply into games, completing more than seven innings just twice in 21 starts this year. His walk rate is up and his strikeout rate is down. But he’s taught a master class in situational pitching while preventing big innings and giving a flawed team a chance to win.Throw out his one abysmal start (4 1/3 innings, nine earned runs) May 18 at Arizona and Ray has a 2.51 ERA this season. He is 6-0 with a 1.65 ERA over his last 10 assignments.“I feel like I’ve been locked in lately,” Ray said. “My last two in particular, I felt like I was on cruise control. Didn’t really feel pressured all that much. Just felt like I was in flow state the whole time, felt comfortable with all my pitches in any situation. As a starting pitcher, that’s where you want to be to be able to turn over a lineup three times, and I feel like that’s kind of where I’ve been.”Ray might not fit atop a playoff rotation for any team that acquires him. But there are sure to be contenders that will view him as a solid upgrade or depth piece, and if the big names like Tarik Skubal get moved with days or hours to spare, the Giants figure to have a little more juice to squeeze.Replacing Ray in the Giants rotation is a short-term concern, but it’s a question the club will have to address. Perhaps they’ll get back a young, controllable starter for Ray, Luis Arraez or Tyler Mahle. This much is reasonable to believe: Considering the players who are about to walk out the door, it won’t be easy for the Giants to pile up moral victories and play cleaner baseball the rest of the way.The Giants haven’t won four consecutive games all season, but they’ve won in 10 of Ray’s last 12 starts. The Catholic Church has beatified saints for lesser miracles.Ray will be owed a little less than $8 million the rest of this season, which should not impede a trade. The Giants have the wherewithal to pay down some of that money to widen the field and involve contenders with greater financial restraints. Even when dealing with teams that can afford to pay the full freight, the Giants must be willing to kick in money if it means they can extract more talent.After all, it’s not as if the franchise is operating with an empty tank.Jul 31, 2026Connections: Sports EditionSpot the pattern. Connect the termsFind the hidden link between sports terms