Closed eckerpatrick closed 1 year ago
Attention: 5 lines
in your changes are missing coverage. Please review.
Comparison is base (
5815d46
) 60.51% compared to head (fa7f42c
) 60.87%. Report is 15 commits behind head on main.
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Thanks, that looks great :+1: ! @0ctagon had figured out the changed import paths but was missing initializeCS()
.
If you don't mind I'll also add commit 4418938e2b7def3f1f392147ff884c8bdea946c0 for better catching unexpected errors of gbasf2_job_status.py
. In the b2luigi in the subprocess call of gbasf2_job_status.py
we only checked for a job status of 3
, which happens when result["OK"]
is False. However, any other unexpected crash of that script resulted in a non-zero exit code which b2luigi ignored and just continued with a garbage string. Therefore, we should also raise error messages for other non-zero exit codes. Not sure if that would have resulted in a better/earlier error message in this particular case though.
What's finally missing is a Changelog entry.
@meliache sounds good to catch also other failures! Will you also add the changelog in this context or should I add it?
@eckerpatrick Oh you're quick, I just added a Changelog entry in addition to 4418938e2b7def3f1f392147ff884c8bdea946c0. Can you just make a quick check that my changes didn't brick anything? They are minor and shouldn't brake anything, but I have no way to run gbasf2 to check anymore and who knows what I might have overlooked.
(These days I started sometimes merging minor hotfixes/improvements without proper code review using my admin authority and because it'd difficult to find reviewers/testers these day. But people get active here when something is broken so I'm happy to exploit that.)
There were some changes in the recent gbasf2 update which caused failures in the job status script, as the CS is not anymore automatically initialized by the
userCreds
decorator.