Closed t0yv0 closed 6 months ago
Attention: Patch coverage is 64.83516%
with 32 lines
in your changes are missing coverage. Please review.
Project coverage is 37.99%. Comparing base (
3a38438
) to head (2102eca
). Report is 2 commits behind head on main.:exclamation: Current head 2102eca differs from pull request most recent head b1a11a9. Consider uploading reports for the commit b1a11a9 to get more accurate results
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Did you mean to push changes here? I don't see any change since the last review
Pushed changes to address feedback .Thanks!
This came out of the friction of debugging a failed upgrade test. ProgramTest had a nice feature that left a folder in TMP with the current state right at the point of failure that can be further inspected in the CLI, printing the path to the folder when that happens.
This change moves us closer to the desired experience by substituting t.TempDir() with an inlined version of TempDir that does not delete it on failure; and similarly it stops destroying stacks for failed tests.
There is some further ergonomics to work out such as emitting an .envrc file so that all the env vars get picked up in the dir and the user does not need to chase down the file backend URL, passphrase and so on.