-
Notifications
You must be signed in to change notification settings - Fork 579
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
Blacklist bears from CI #1476
Comments
One possible way I can think of doing so is,
|
|
@satwikkansal , the requirements aspect of your post is a good medium term goal, but beyond scope of this issue. There is already quite a bit of work done in #1386 , It depends on a lot more effort occurring in the dependency_management repo. If you take a look at the current problem (#1472), a generated installation routine will fail unless it is very complex. It would need a special Hence we need blacklisting of some bears. |
We've just encountered a significant problem in requests coala/coala#4277 (comment) which could be fixed in vint-vim, but could also be fixed by blacklisting That means the blacklisting needs to drop the requirements from the 'pre-release', so it can be installed by the CI in the coala repo. |
@jayvdb If we want any code to be skipped by CI, why don't we make the code as a comment, till the issue get's fixed. This way our code also remains safe :) |
I think we want dynamic blacklisting from CI, and not commit the blacklisting to master. Similar to how we blacklist gitcommitbear from CI coafile |
In that case, bear is just not being run, but in here we have a problem with dependencies, so it will not be similar @meetmangukiya |
The blacklisting should be part of coala:
We need to ship/release new versions with some bears disabled when we have 'unfixable' problems. |
So, are we just going to disable the bear in coafile, I don't think that will be a good option. I had prefer making it as comment 😕 |
This is now possible by custom rules in |
Custom rules in tox.ini are migrated into get_tests.py so that they can be dynamically collated together. Disable phpmd test test_cleancode_violation, as it is currently failing due to a minor text change in the error emitted by the linter. Related to coala#2943 Related to coala#1476
Custom rules in tox.ini are migrated into get_tests.py so that they can be dynamically collated together. Disable phpmd test test_cleancode_violation, as it is currently failing due to a minor text change in the error emitted by the linter. Related to coala#2943 Related to coala#1476
Custom rules in tox.ini are migrated into get_tests.py so that they can be dynamically collated together. Related to coala#1476
Custom rules in tox.ini are migrated into get_tests.py so that they can be documented and dynamically collated together. Related to coala#1476
With many bears in one repo, we regularly have CI breakages that effectively put a halt to all other development. At least nothing can get merged, and then other breakages occur and are not easily spotted.
The tree needs to stay green.
A particularly difficult open case is #1472 (gotype deleted).
But in the last week we've also had a four day red period due to #1461 (checkstyle jar corruption) , and while that was broken #1470 (ramllint breakage) also occurred but wasnt noticed and fixed promptly.
To avoid these prolonged red tree periods easily, we need to disable broken bears from all CI if they are not able to be fixed immediately.
Ideally this flagged status appears in the Bear code itself, so that the brokenness can also be reported to users. In most cases, if a bear is broken on our CI, it is very likely users will also be seeing the same problems. The only time this isnt true is if it is a Linux problem with our trusty CI workers that doesnt occur on more recent Ubuntu or other distros.
The text was updated successfully, but these errors were encountered: