code: def runs_done():
      
      build = g.build
      release_name, release_number = _get_release_params()
  
      release = (
          models.Release.query
          .filter_by(build_id=build.id, name=release_name, number=release_number)
          .with_lockmode('update')
          .first())
      utils.jsonify_assert(release, 'Release does not exist')
  
      release.status = models.Release.PROCESSING
      db.session.add(release)
      _check_release_done_processing(release)
      db.session.commit()
  
      signals.release_updated_via_api.send(app, build=build, release=release)
  
      logging.info('Runs done for release: build_id=%r, release_name=%r, '
                   'release_number=%d', build.id, release.name, release.number)
  
      results_url = url_for(
          'view_release',
          id=build.id,
          name=release.name,
          number=release.number,
          _external=True)
  
      return flask.jsonify(
          success=True,
          results_url=results_url)
docs: Marks a release candidate as having all runs reported.