What happened: Manager Tony Vitello and president of baseball operations Buster Posey are assessing the roster as the deadline approaches. Both Ray and Arraez are impending free agents who could provide value to contenders.

Why it matters: Moving expiring contracts would provide an opportunity to retool for an organization positioned to sell. The front office also faces evaluations regarding infielders Willy Adames, Rafael Devers and Matt Chapman.

By the numbers: San Francisco enters the matchup against Kansas City at 40-50 this season, scoring 4.3 runs per game while allowing 4.8. Ray has recorded a 1.90 ERA since the end of May.

What to watch: The market for pitching depth will dictate the potential movement of Tyler Mahle, Adrian Houser, JT Brubaker, Sam Hentges and Jason Foley.

Sources