-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix the jobs status script so it works with the new gbasf2 version #209
Fix the jobs status script so it works with the new gbasf2 version #209
Conversation
this fixes #208 |
Codecov ReportAttention:
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #209 +/- ##
==========================================
+ Coverage 60.51% 60.87% +0.36%
==========================================
Files 23 23
Lines 1593 1595 +2
==========================================
+ Hits 964 971 +7
+ Misses 629 624 -5
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
Thanks, that looks great 👍 ! @0ctagon had figured out the changed import paths but was missing If you don't mind I'll also add commit 4418938 for better catching unexpected errors of What's finally missing is a Changelog entry. |
Previously we only raised an exception for returncodes of 3 and otherwise accepted the output. Any other returncodes should in theory not be possible but better be defensive and fail early with a proper error message instead of accepting garbage output and failing later with a confusing error message.
@meliache sounds good to catch also other failures! |
@eckerpatrick Oh you're quick, I just added a Changelog entry in addition to 4418938. 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.