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

Hitesh/vscode 1.36.3 release #5813

Merged
merged 3 commits into from
Oct 5, 2024
Merged

Conversation

hitesh-1997
Copy link
Contributor

Cherry-pick

  • Autocomplete: re-enable the agent tests. pull/5784
  • Autocomplete: Using the current document instead of precalculated text to get insertion text. pull/5812

Test plan

cherry-pick, updated changelog and version

valerybugakov and others added 3 commits October 5, 2024 01:53
- No functional changes. 
- Re-enabled existing autocomplete integration tests and improved the
stability of recoding updates. Initially, they were disabled here:
#5629
- Replaced most of the `sleep` calls with new agent `testing/X` requests
to await for a timeout in question ([Slack
thread](https://sourcegraph.slack.com/archives/C0729T2PBV2/p1727834492679739)).
- Removed the `NoopCompletionItemProvider` registration for
unauthenticated users to fix the flaky behavior where the real
autocomplete provider was not registered before the first
`autocomplete/execute` call in tests ([Slack
thread](https://sourcegraph.slack.com/archives/C05AGQYD528/p1727836036656949)).
Autocomplete is currently available only for authenticated requests, so
this change should not have any functional side effects.
Use the current document for tracking the insertText. Using the
pre-calculated text was making the offline diffs inaccurate, as
introduced in the
[PR](https://github.com/sourcegraph/cody/pull/5767/files).

## Test plan
CI checks
@hitesh-1997 hitesh-1997 merged commit 786e3f3 into vscode/1.36 Oct 5, 2024
20 checks passed
@hitesh-1997 hitesh-1997 deleted the hitesh/vscode-1.36.3-release branch October 5, 2024 00:00
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.

3 participants