sqitch check reveals divergence after fresh database deploy, sha1 hashes match #861
-
EDIT: NOT A SQITCH PROBLEM Good afternoon, My team has a sqitch plan with, at the time of writing, 542 changes. A colleague edited a recent change during development, and as I have been doing for a while now, I pulled the changes down and ran After confirming the divergence with They match (wtf?) I deleted the database and did a fresh I deleted and redeployed again, several times, in fact, and I had not manually edited any deploy files during this testing, nor did I pull any new changes from our git repo. This issue has apparently not been affecting my coworkers. I am so, so confused. I'm not sure if this is a sqitch bug or if I just don't understand how System info:
What I have tried:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 10 replies
-
I noticed that sqitch checks (even after deploys) are not failing on databases on our production/test servers, so I guess it's somehow related to my local dev environment, but I'm at a loss as to what could be going on or how to fix it. |
Beta Was this translation helpful? Give feedback.
-
Damn.
WTF indeed.
That's the good news. Did you try a different computer by chance?
That's a few years old. Looking through the changes, the closest match I can find is #630, but that's about unique violations in the database. The only other wildcard I can think of is if you have cloned your repo of Sqitch changes on Windows and line endings are different, but that really shouldn't matter, honestly. Can you try a newer version?
Yeah, this is pretty weird! |
Beta Was this translation helpful? Give feedback.
No. I'm now pretty daggone sure it's not a sqitch problem.
In an earlier comment, I mentioned that I created a new sqitch plan with a whole lot of empty changes, but all numbered so it would be easy to spot something out-of-order in the deploy output. I didn't see anything weird in said output when alerted about a divergence by the check command.
Well, I added a timestamp to the deploy output in Engine.pm: