* improve production error message printing * update test cases * add test case * improve printing of build errors * improve types * fix test cases
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>