-
Notifications
You must be signed in to change notification settings - Fork 123
renable reformatting in parallel #3679
Comments
Confirming this happens sporadically. Initially only on the Alpine builds, now also on other instances. |
Maybe we can exclude binary files from passing to the reformatters? Or we define a black list? |
I do not think we should add a blacklist for this specific reason. I suspect that If the approach above is too much work it should also be possible to exclude these specific files from the git diff. |
Yes, good observation, that sounds very plausible. I agree that tests should not modify files in the source tree (but write to temporary files instead). As temporary solution we could mark testscr_check_formatting to be not executed in parallel? Or is testmod_specload really the only test which writes into the source tree? |
I mark this issue stale as it did not have any activity for one year. I'll close it in two weeks if no further activity occurs. If you want it to be alive again, ping the issue by writing a message here or create a new issue with the remainder of this issue. |
@kodebach can you describe what needs to be done here to make this a FLOSS issue? |
|
Good idea but I am afraid it is hard to implement. Simply letting
Obviously a correct reimplementation would fix every issue. But I think we shouldn't wait for such events, as it might never happens. @kodebach Probably, in this case we should simply remove the offending test case (that makes these changes in the source repo). Then, we can revert febf6cd or, if an easy implementation exists, make build jobs have a read-only source tree, to detect/prevent further occurrences of such problems. |
I think that would be most of the If we want to avoid getting more untested code, we could also make |
Yes, good idea. So this task is:
|
Only remove the tests that check setter functionality ( I think there are also some tests (e.g. |
I mark this stale as it did not have any activity for one year. I'll close it in two weeks if no further activity occurs. If you want it to be alive again, ping by writing a message here or create a new issue with the remainder of this issue. |
I closed this now because it has been inactive for more than one year. If I closed it by mistake, please do not hesitate to reopen it or create a new issue with the remainder of this issue. |
https://build.libelektra.org/blue/organizations/jenkins/libelektra/detail/PR-3678/4/pipeline
The text was updated successfully, but these errors were encountered: