-
Notifications
You must be signed in to change notification settings - Fork 37
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
Add copilot queries to query history #510
Conversation
…texts. This includes getting rid of RpcRequestContext/RpcNotificationContext, which just uses base class functionality. Web*Context overrides the base class behavior because a particular session is needed and the server implementation doesn't have that detail.
Also add type annotations various places to trigger editor type error help. Formatting changes.
24b2cb1
to
107446a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes all look good and sensible, and having easy integration tests running with docker compose is a nice QoL upgrade. I do have a bunch of errors when running the v1 tests, though
FAILED (failures=3, errors=130)
107446a
to
fca7712
Compare
fca7712
to
22eeae9
Compare
712e4f7
to
826dcdb
Compare
826dcdb
to
3525c27
Compare
This was applicable when pytest_asyncio was used; we are using the AsyncRunner to execute async code and so do not need pytest_asyncio
c24a14c
to
f619fd6
Compare
f619fd6
to
47ded48
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great updates.
This PR adds a feature where notifications are sent to VSCode each time a query is executed by the copilot.
It also adds a feature where the MessageServer is able to handle request responses and errors. This was implemented as I originally implemented the query history messages as requests, but move to notifications.
Also, a PR GitHub action was added to the project, along with a docker-compose that brings up a local postgres instance for integration tests that can be used locally and is used in the PR tests.
It also refactored a few things: