random ci improvements, ported from abandoned capture-subprocess branch