-
Notifications
You must be signed in to change notification settings - Fork 208
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 minion guards for needle tasks #5961
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #5961 +/- ##
==========================================
- Coverage 98.78% 98.77% -0.01%
==========================================
Files 396 396
Lines 39023 39043 +20
==========================================
+ Hits 38547 38564 +17
- Misses 476 479 +3 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We probably need the same for the delete needle task. But otherwise it looks good.
why? |
Because it also invokes Git commands on a needle checkout (so far only using the |
Oh, the git operation is hidden in OpenQA::Schema::Result::Needles. I only looked at OpenQA::Task::Needle::Delete and didn't expect it elsewhere :( |
@Mergifyio rebase |
✅ Branch has been successfully rebased |
e986590
to
c4d80c2
Compare
In OpenQA::Task::Needle::Save, OpenQA::Task::Needle::Delete and OpenQA::Task::Git::Clone we are now using a guard for the individual directory `git_clone_${needledir}_task` instead of a global guard limit_needle_task. Issue: https://progress.opensuse.org/issues/164898
c4d80c2
to
015e115
Compare
I updated all git gru tasks to use a guard per directory instead of the global one |
There seems to be flaky coverage in
|
In OpenQA::Task::Needle::Save, OpenQA::Task::Needle::Delete and
OpenQA::Task::Git::Clone we are now using a guard for the individual directory
git_clone_${needledir}_task
instead of a global guard limit_needle_task.Issue: https://progress.opensuse.org/issues/164898