The Giants were eliminated after their loss on Tuesday. That loss also meant they could only win 81 games. Last night's win was number 78, they'll avoid a losing season only by sweeping the upcoming weekend set with the Rockies.
Robbie Ray was shut down for the season and did not make his final start. Coming back from surgery and throwing 182 innings (32 starts) was a good season's effort, it's reasonable to err on the side of caution. Ideally he'll be healthy next year and be able to work at the top of the rotation.