code: def series_upgrade_complete(resume_unit_helper=None, configs=None):
      
      clear_unit_paused()
      clear_unit_upgrading()
      if configs:
          configs.write_all()
          if resume_unit_helper:
              resume_unit_helper(configs)
docs: Run common series upgrade complete tasks.
  
      :param resume_unit_helper: function: Function to resume unit
      :param configs: OSConfigRenderer object: Configurations
      :returns None: