Closed blackshadowshade closed 6 years ago
Okay, good and bad news on the audit front.
I've just had a look at the isset() calls. I count 16 that need to be rewritten in the production code, but hundreds that need to be rewritten in the test code. The reason that the test code isn't showing errors is because the asserts are currently not testing anything, since they're similar to
assertFalse(isset($die->max))
which will always pass, due to the change of behaviour of isset().
I'll base a pull request on the 2398_site_upgrade branch.
The replay site has played 13100 each replayed and novel games with no errors or mismatches. How many is enough? I don't know. That certainly seems like enough to tell us that any logic bugs introduced are pretty subtle. So i'll let it keep going, but i'm inclined to say that logically speaking, the site can play games.
We need to figure out what to do about the automated apt package updates:
My inclination is to leave them on, because it gets us patching of some packages with no human time expended, and the downside (a bad update completely toasts the prod site and we have to rebuild it) isn't that bad. Anyone disagree or agree or have any opinion about this at all?
Is it possible to just accept some level of automatic patching, e.g., critical or mature patches?
Automatically notifying about updates (all, or a subset) seems like a fine idea; automatically applying them seems less appealing to me.
Okay, i hear y'all --- i'll figure out how to disable automatic patching.
Irilyth: as far as i know, you are the first person to say the words "automatic notification" in this conversation. I don't know how to configure that, and it doesn't sound valuable to me. So i'm not planning to look into it unless someone tells me i'm missing something.
Oh, if you're in favor of automatic updates and want to try it out, we can. I assumed you were opposed and James was in favor. :^)
The value of automatic notification is that we'd get e-mail from a cron job or something when there were updates available, and then we could go apply them. If you don't have that, and will just install updates in some other way on some other schedule, that's fine with me.
I think Chaos understands, but I'd be okay with automatic patching of critical fixes. Automatic patching of everything seems like a recipe for disaster. :)
Okay, i pushed a change to disable automated updates.
I'm very tempted to try to get this upgrade done this week. Here's what i think that would look like:
@cgolubi1, just one update to this issue. In the initial post of this issue, I listed related issues that might be affected by the site upgrade. I reckon that we might be able to close some of those issues now. Did you feel like doing so?
The production instance that we are currently running needs updating, for a number of reasons:
Specific issues that may relate to this site upgrade are: