dataform-co / dataform-web-tracking

Dataform is a collaborative data modelling platform that enables analysts and engineers to manage complex data models in SQL
https://dataform.co
MIT License
2 stars 0 forks source link

Git branch errors after migrating to GitHub: object not found - no match for id #146

Closed lewish closed 5 years ago

lewish commented 5 years ago

After migrating a project to GitHub, pushing one of the branches and merging to master (via GitHub) then opening another branch - an error along the following lines shows:

object not found - no match for id (...)
lewish commented 5 years ago

This is actually mostly harmess, and can be fixed with a git pull, however we don't show the git pull button when this exception get's thrown. Alternative workaround is to just create a new clean branch

lewish commented 5 years ago

Suggested fix:

In the case of exceptions thrown during git status calls when getting the branch info, we should still show the "Pull from ..." button in the top toolbar.

BenBirt commented 5 years ago

I can't seem to reproduce this. @lewish are there other steps than those listed in the first comment?

Just thinking this through, I'm assuming this error is complaining that a commit is missing from either our the dataform_head branch on the head repo or maybe the dataform_<branch> branch on the github repo?

I've tried creating commits on two separate branches on dataform, and various combinations of pushing them to github / merging them on github, but I can't get this error to trigger...

BenBirt commented 5 years ago

Closing until we can reproduce. (hopefully this won't happen again as a result of recent git integration fixes.)