-
Notifications
You must be signed in to change notification settings - Fork 23
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
added Document Synchronization integration tests #1805
base: main
Are you sure you want to change the base?
Commits on Jul 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 76ed7da - Browse repository at this point
Copy the full SHA 76ed7daView commit details -
Configuration menu - View commit details
-
Copy full SHA for 01012b3 - Browse repository at this point
Copy the full SHA 01012b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d8360a - Browse repository at this point
Copy the full SHA 1d8360aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9340583 - Browse repository at this point
Copy the full SHA 9340583View commit details -
more progress on integration test
they still don't pass but they are getting closer
Configuration menu - View commit details
-
Copy full SHA for 7dc23a4 - Browse repository at this point
Copy the full SHA 7dc23a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9679de4 - Browse repository at this point
Copy the full SHA 9679de4View commit details -
Configuration menu - View commit details
-
Copy full SHA for ce45bf4 - Browse repository at this point
Copy the full SHA ce45bf4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0152566 - Browse repository at this point
Copy the full SHA 0152566View commit details -
Configuration menu - View commit details
-
Copy full SHA for a6aa110 - Browse repository at this point
Copy the full SHA a6aa110View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e38115 - Browse repository at this point
Copy the full SHA 6e38115View commit details -
Configuration menu - View commit details
-
Copy full SHA for 78fc6bb - Browse repository at this point
Copy the full SHA 78fc6bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for dfbcd8a - Browse repository at this point
Copy the full SHA dfbcd8aView commit details -
Configuration menu - View commit details
-
Copy full SHA for cfe5bda - Browse repository at this point
Copy the full SHA cfe5bdaView commit details -
Configuration menu - View commit details
-
Copy full SHA for cf9e3b9 - Browse repository at this point
Copy the full SHA cf9e3b9View commit details -
more cleanup on doc-sync tests
renamed testing/requestWorkspaceDocuments -> testing/workspaceDocuments and put in some more asssertions
Configuration menu - View commit details
-
Copy full SHA for b00c265 - Browse repository at this point
Copy the full SHA b00c265View commit details -
turn on CODY_RECORD_IF_MISSING for integration tests
This prevents it from spewing an error over a graphql call
Configuration menu - View commit details
-
Copy full SHA for 17f6c4b - Browse repository at this point
Copy the full SHA 17f6c4bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b575ea - Browse repository at this point
Copy the full SHA 6b575eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 334c13f - Browse repository at this point
Copy the full SHA 334c13fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 41f126e - Browse repository at this point
Copy the full SHA 41f126eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b7590b - Browse repository at this point
Copy the full SHA 3b7590bView commit details -
Configuration menu - View commit details
-
Copy full SHA for c92b9ab - Browse repository at this point
Copy the full SHA c92b9abView commit details -
Configuration menu - View commit details
-
Copy full SHA for f6e8529 - Browse repository at this point
Copy the full SHA f6e8529View commit details -
Configuration menu - View commit details
-
Copy full SHA for 69974f5 - Browse repository at this point
Copy the full SHA 69974f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for a53d1ad - Browse repository at this point
Copy the full SHA a53d1adView commit details -
got the DocumentSynchronizationTest working again
DocumentCodeTest is still failing
Configuration menu - View commit details
-
Copy full SHA for 34450ae - Browse repository at this point
Copy the full SHA 34450aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ba9d00 - Browse repository at this point
Copy the full SHA 9ba9d00View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1867ba9 - Browse repository at this point
Copy the full SHA 1867ba9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 75a0b0a - Browse repository at this point
Copy the full SHA 75a0b0aView commit details -
Configuration menu - View commit details
-
Copy full SHA for dddffa7 - Browse repository at this point
Copy the full SHA dddffa7View commit details -
Configuration menu - View commit details
-
Copy full SHA for bc313a0 - Browse repository at this point
Copy the full SHA bc313a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 98a8cbc - Browse repository at this point
Copy the full SHA 98a8cbcView commit details -
added more error handling when finding repo roots
was failing during tests
Configuration menu - View commit details
-
Copy full SHA for 24e83df - Browse repository at this point
Copy the full SHA 24e83dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8af3bc8 - Browse repository at this point
Copy the full SHA 8af3bc8View commit details
Commits on Jul 9, 2024
-
Do not list the same account twice (#1864)
## Test plan Add account that exists 1. Using settings, add the account that already exists in the list
Configuration menu - View commit details
-
Copy full SHA for 748fe16 - Browse repository at this point
Copy the full SHA 748fe16View commit details -
Do not open subscription page when updating invalid pro account token…
… having a pro llm selected before (#1866) ## Test plan 1. Having a pro account 2. switch to a pro llm in the chat 3. remove the token from the web 4. re-authenticate via github
Configuration menu - View commit details
-
Copy full SHA for e9e9d99 - Browse repository at this point
Copy the full SHA e9e9d99View commit details -
Add auth telemetry events (#1863)
Closes https://linear.app/sourcegraph/issue/CODY-988/p1-authorization-and-log-in-log-out ## Test plan Repeat for dotcom and enterprise user account: **Scenario 1** 1. Remove all existing accounts 2. Make sure you are redirected to the login panel 3. Login using one of the available providers 4. Make sure that both `cody.auth.login/clicked` and `cody.auth.signin.token/clicked` telemetry events were fired **Scenario 2** 1. Click on Cody status bar and choose `Manage Accounts` 2. Click to add new account 3. Make sure that `cody.auth.login/clicked` was fired 4. Fill the account details (server and token) and confirm 5. Make sure that `cody.auth.signin.token/clicked` was fired
Configuration menu - View commit details
-
Copy full SHA for eb5dbd0 - Browse repository at this point
Copy the full SHA eb5dbd0View commit details -
Simplify SignInWithSourcegraphPanel.kt (#1865)
No functional changes. Features should work as before. ## Test plan 1. Sign in panel features working
Configuration menu - View commit details
-
Copy full SHA for 3b62b3a - Browse repository at this point
Copy the full SHA 3b62b3aView commit details -
Show the login screen when the token is missing (#1867)
## Test plan Delete the token from the keychain externally You can run a separate instance of IDE and remove the account there. 1. Log in to the account 2. Open another IDE, log in to the same account, apply, then remove the account, apply 3. Switch back to the first ide 4. Close and reopen the project 5. Login panel visible
Configuration menu - View commit details
-
Copy full SHA for ec50472 - Browse repository at this point
Copy the full SHA ec50472View commit details -
Minor code imporvements (#1870)
## Test plan 1. `Sign In with <>` and `Get started` buttons work
Configuration menu - View commit details
-
Copy full SHA for 763c249 - Browse repository at this point
Copy the full SHA 763c249View commit details -
Improve action discoverability by adding Cody: prefix in Search Every…
…where (#1872) Closes https://linear.app/sourcegraph/issue/CODY-2130/improve-how-actions-appear-in-shiftshift-menu ## Changes I moved action properties like `text` and `description` to `plugin.xml`. It is just easier to edit and inspect this way. To be honest, Geminit 1.5 did most of the work: > Given the following plugin.xml file and properties file, please modify plugin.xml so each action have additional propertes `text` and `description` with values from properties file. > Additionally for every action please add such tag: `<override-text place="GoToAction" text="Cody: $TEXT"/>` where `$TEXT` is taken from properties file as well. > For some actions like: `<action id="Cody.Accounts.LogInToSourcegraphAction" class="com.sourcegraph.cody.config.LogInToSourcegraphAction"/>` you may have to change them to form such as: > ``` > <action id="Cody.Accounts.LogInToSourcegraphAction" class="com.sourcegraph.cody.config.LogInToSourcegraphAction" text="Log In to Sourcegraph"> > <override-text place="GoToAction" text="Cody: Log In to Sourcegraph"/> > </action> >``` > > Please output whole content of the modified plugin.xml file. ## Test plan 1. Hit `Shift shift` 2. Type 'Cody:' ![image](https://github.com/sourcegraph/jetbrains/assets/1519649/5ffd1d07-0088-4cb6-b5c8-3894b281bbe1)
Configuration menu - View commit details
-
Copy full SHA for b49f1d2 - Browse repository at this point
Copy the full SHA b49f1d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for f08dba3 - Browse repository at this point
Copy the full SHA f08dba3View commit details -
Bump cody commit, add startup telemetry (#1873)
1. Bump cody commit to include changes from sourcegraph/cody#4766 2. Add startup telemetry event. I realised that only v2 telemetry events sent directly from IJ contains info about IDE version and we want to have at least one such event for every user IDE. Install action telemetry event would not be sufficient because it would not tell us anything about existing installations. Same as in sourcegraph/cody#4766
Configuration menu - View commit details
-
Copy full SHA for c3526a2 - Browse repository at this point
Copy the full SHA c3526a2View commit details -
Add the missing value for the ollama docs ## Test plan <!-- All pull requests REQUIRE a test plan: https://sourcegraph.com/docs/dev/background-information/testing_principles Why does it matter? These test plans are there to demonstrate that are following industry standards which are important or critical for our customers. They might be read by customers or an auditor. There are meant be simple and easy to read. Simply explain what you did to ensure your changes are correct! Here are a non exhaustive list of test plan examples to help you: - Making changes on a given feature or component: - "Covered by existing tests" or "CI" for the shortest possible plan if there is zero ambiguity - "Added new tests" - "Manually tested" (if non trivial, share some output, logs, or screenshot) - Updating docs: - "previewed locally" - share a screenshot if you want to be thorough - Updating deps, that would typically fail immediately in CI if incorrect - "CI" - "locally tested" --> ![Screenshot 2024-07-03 at 12 19 49 PM](https://github.com/sourcegraph/jetbrains/assets/68532117/bb29c397-a40e-453f-b8bf-010e169de863)
Configuration menu - View commit details
-
Copy full SHA for 72e484b - Browse repository at this point
Copy the full SHA 72e484bView commit details -
Our current setup produces a lot of stable releases that often are not unhidden eventually. That makes the QA and awaiting JB approval process parallel. Based on the recent experience only 1/8 releases goes public. That is a waste of JB approval team's time and CI time. Let's change the setup. The nightly version handling does not change but the default release script does not longer publish the stable version. Instead the separate workflow can be triggered on the specific tag that publishes the stable version. ## Test plan 1. push a tag for a nightly release 2. trigger the stable release manually to be tested once merged
Configuration menu - View commit details
-
Copy full SHA for 28460c5 - Browse repository at this point
Copy the full SHA 28460c5View commit details -
Add proper groups for Cody actions (#1884)
Closes https://linear.app/sourcegraph/issue/CODY-2095/organize-keymap-settings ## Changes 1. Proper grouping was added for all actions in plugin.xml 2. The same grouping is used for nice visual organisation of keymap management ## Test plan Visual verification in `Settings > Keymap` (see screenshots): ![image](https://github.com/sourcegraph/jetbrains/assets/1519649/b5292cfb-5a2f-47ae-9706-512fb2675b8a) ![image](https://github.com/sourcegraph/jetbrains/assets/1519649/5553077a-c21e-4003-b1c8-0c2f279f6467)
Configuration menu - View commit details
-
Copy full SHA for 75f3406 - Browse repository at this point
Copy the full SHA 75f3406View commit details -
Bump cody commit, adjust agent launch params (#1887)
## Test plan Full QA according to a test plan. As for launch script args change that is covered by automatic tests.
Configuration menu - View commit details
-
Copy full SHA for a670b86 - Browse repository at this point
Copy the full SHA a670b86View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d5fa88 - Browse repository at this point
Copy the full SHA 9d5fa88View commit details -
Configuration menu - View commit details
-
Copy full SHA for d1d43f3 - Browse repository at this point
Copy the full SHA d1d43f3View commit details