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
Add checks for NA in return status #544
Conversation
Codecov Report
@@ Coverage Diff @@
## master #544 +/- ##
==========================================
- Coverage 92.81% 91.27% -1.54%
==========================================
Files 12 12
Lines 3119 3119
==========================================
- Hits 2895 2847 -48
- Misses 224 272 +48
Continue to review full report at Codecov.
|
Tests passed, except for the Mac R-devel tests, but that issue is because the R-devel binary isnt available. |
@myshkin you can install the latest development version now and the fix should be included.
|
Thank you for the quick turnaround! This should help with debugging other issues. |
I will note that our output on erroring jobs now looks like
which certainly helps me narrow down where the problem is, but looks misleading, since no relevant message appears above. |
I would advise setting
while debugging stuff like this. |
Thanks for the help. I hope to have another bug report for you soon. In the mean time, when I do get the new
message, the exit code is still 0. Is that working as expected, or should there be a nonzero exit code to indicate an error? |
Do you mean the exit code ( |
I meant the exit code of the script; I'm using that to detect whether to rerun the job. Having updated cmdstanr and brms to HEAD of github master, though, I am now getting exit code 1 as expected. |
Submission Checklist
Summary
Fixes #543
Copyright and Licensing
Please list the copyright holder for the work you are submitting
(this will be you or your assignee, such as a university or company):
Rok Češnovar
By submitting this pull request, the copyright holder is agreeing to
license the submitted work under the following licenses: