For reference see https://github.com/kolmafia/kolmafia/pull/1889
#1889 was a solution to preference file corruption. It appeared to address the issue so it was committed. But real world experience indicated a lot of deadlocks started occurring including one that occurred fairly consistently when using the Deck of Every Card. So it was reverted but kept open. As a side effect of being open several issues with testing were discovered and resolved. #2808 was created and committed to also address preference file issues. A passing test from #1889 was used with a branch that included #2808 and failed there. It is assumed that #2808 did not fix the original problem, although it is possible that the #1889 test is not a "good" test. A test was written (and committed) that used the Deck of Every Cards. It has been merged into #1889 but it has not been observed to fail. It is not certain whether the Deck induced deadlock has been fixed or whether other changes have reduced the frequency of occurrence.
I have built and run #1889 for the past week or so and had no deadlock problems.
I have not heard a lot of complains about preference file corruption in quite some time but I also know that there are many problems that I do not hear about because they are not reported or discussed on KoLmafia.us.
Should #1889 be Closed or Committed?
The case for taking some action now is the amount it time it has been open with no resolution. The alternative to Closing or Committing would be for someone to step up and agree to resolve the Deck deadlock or study the code enough to make a reliable claim that the cause of the deadlock has been eliminated. After a year and a half it is pretty clear that I personally lack something that would make that happen because I have tried and not yet succeeded.
If it is Closed then we may have to deal with preference file corruption again in the near future assuming the test in #1889 is valid. But that does not seem to be happening enough to be a current concern.
If it is Committed then we may have to deal with deadlock if Real World usage identifies additional instances. It should be noted that KoLmafia now has some deadlock detection built in and will produce stack traces when deadlock is discovered which might allow for a fix rather than a revert in #1889 is committed.
#1889 was a solution to preference file corruption. It appeared to address the issue so it was committed. But real world experience indicated a lot of deadlocks started occurring including one that occurred fairly consistently when using the Deck of Every Card. So it was reverted but kept open. As a side effect of being open several issues with testing were discovered and resolved. #2808 was created and committed to also address preference file issues. A passing test from #1889 was used with a branch that included #2808 and failed there. It is assumed that #2808 did not fix the original problem, although it is possible that the #1889 test is not a "good" test. A test was written (and committed) that used the Deck of Every Cards. It has been merged into #1889 but it has not been observed to fail. It is not certain whether the Deck induced deadlock has been fixed or whether other changes have reduced the frequency of occurrence.
I have built and run #1889 for the past week or so and had no deadlock problems.
I have not heard a lot of complains about preference file corruption in quite some time but I also know that there are many problems that I do not hear about because they are not reported or discussed on KoLmafia.us.
Should #1889 be Closed or Committed?
The case for taking some action now is the amount it time it has been open with no resolution. The alternative to Closing or Committing would be for someone to step up and agree to resolve the Deck deadlock or study the code enough to make a reliable claim that the cause of the deadlock has been eliminated. After a year and a half it is pretty clear that I personally lack something that would make that happen because I have tried and not yet succeeded.
If it is Closed then we may have to deal with preference file corruption again in the near future assuming the test in #1889 is valid. But that does not seem to be happening enough to be a current concern.
If it is Committed then we may have to deal with deadlock if Real World usage identifies additional instances. It should be noted that KoLmafia now has some deadlock detection built in and will produce stack traces when deadlock is discovered which might allow for a fix rather than a revert in #1889 is committed.