Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Address non-happy paths #5

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Address non-happy paths #5

wants to merge 8 commits into from

Conversation

jasonrute
Copy link
Collaborator

Sometimes the file_info messages don't have line and column. Sometimes a sync will get a "file unchanged" message or an error message. I wrote tests to cover these and fixed the Trio code.

I didn't fix or address the qt code. In particular, I made a change to the commands.py file (added a SyncResponse type (which has a message field). This might break something in the qt_server.

(This PR builds on my previous two.)

@PatrickMassot
Copy link
Member

Let's wait until #3 stabilizes then. Also I don't think we should merge this without checking the Qt code. Hopefully commands.py should be very stable and that won't happen to often. Otherwise we may need to split this repo into three packages. I'll check the Qt code once #3 and #4 land.

@jasonrute
Copy link
Collaborator Author

I agree we should check Qt code before merging. I just haven't got around to running it yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Freezes if you sync an unchanged file
2 participants