Skip to content
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

Improve error messages when cloning a job #3312

Merged
merged 2 commits into from Aug 17, 2020

Conversation

Martchus
Copy link
Contributor

In fact we don't want to duplicate any jobs which are still scheduled so
simply check for this state. (Assigned jobs might have just been started by
the worker and are therefore treated like running jobs.)
lib/OpenQA/Schema/Result/Jobs.pm Show resolved Hide resolved
* Return expected exceptions to the user as error messages
* Avoid returning random exceptions like database errors
* Improve logging
* See https://progress.opensuse.org/issues/69871
@codecov
Copy link

codecov bot commented Aug 14, 2020

Codecov Report

Merging #3312 into master will decrease coverage by 0.01%.
The diff coverage is 92.59%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3312      +/-   ##
==========================================
- Coverage   91.62%   91.60%   -0.02%     
==========================================
  Files         215      215              
  Lines       13086    13085       -1     
==========================================
- Hits        11990    11987       -3     
- Misses       1096     1098       +2     
Impacted Files Coverage Δ
lib/OpenQA/Schema/Result/Jobs.pm 97.49% <90.90%> (-0.23%) ⬇️
lib/OpenQA/Resource/Jobs.pm 95.00% <100.00%> (+0.12%) ⬆️
lib/OpenQA/Scheduler/Model/Jobs.pm 93.06% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5b230be...91e3843. Read the comment docs.

@mergify mergify bot merged commit b45f73c into os-autoinst:master Aug 17, 2020
@Martchus Martchus deleted the restart-ux branch August 17, 2020 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants