sqitch check reveals divergence after fresh database deploy, sha1 hashes match #861
Unanswered
the-noob-of-northrose
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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
sqitch rebase --modified
. However, I noticed that it wanted to revert to a change waaaay further back, one that hasn't been modified in many months, if ever.After confirming the divergence with
sqitch check
, I calculated the sha1 hash (using my OS's built-in sha1sum tool) of the deploy script it claims to diverge at, as well as the hashes of the scripts for the previous and next changes, and compared these to what is in the sqitch.changes table:They match (wtf?)
I deleted the database and did a fresh
sqitch deploy
.sqitch check
told me that there was a divergence at a different change (...wtf??)I deleted and redeployed again, several times, in fact, and
sqitch check
reported divergences at different changes each time (WTF???)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
check
actually works and I'm therefore not barking up the right tree for troubleshooting.System info:
What I have tried:
Beta Was this translation helpful? Give feedback.
All reactions