def audit_status(sequence)
      context = sequence.context
      title = context.decommission? ? 'decommission ' : ''
      title += context.succeeded ? 'completed' : 'failed'
      context.audit.update_status("#{title}: #{context.payload}")
      true
    rescue Exception => e
      Log.error(Log.format("SingleThreadBundleQueue.audit_status failed for #{@thread_name} thread", e, :trace))
    ensure
      # release queue thread to wait on next bundle in queue. we must ensure
      # that we are not currently on the queue thread so next-tick the signal.
      EM.next_tick { @mutex.synchronize { @sequence_finished.signal } }
    end
def audit_status(sequence)
      context = sequence.context
      title = context.decommission? ? 'decommission ' : ''
      title += context.succeeded ? 'completed' : 'failed'
      context.audit.update_status("#{title}: #{context.payload}")
      true
    rescue Exception => e
      Log.error(Log.format("SingleThreadBundleQueue.audit_status failed for #{@thread_name} thread", e, :trace))
    ensure
      # release queue thread to wait on next bundle in queue. we must ensure
      # that we are not currently on the queue thread so next-tick the signal.
      EM.next_tick { @mutex.synchronize { @sequence_finished.signal } }
    end
Audit executable sequence status after it ran

 === Parameters
 sequence(RightScale::ExecutableSequence):: finished sequence being audited

 === Return
 true:: Always return true