Skip to content
This repository was archived by the owner on Mar 5, 2026. It is now read-only.

Migrate autocomplete related protocol to the generated protocol#2584

Merged
mkondratek merged 8 commits intomainfrom
mkondratek/chore/migrate-to-protocol
Nov 8, 2024
Merged

Migrate autocomplete related protocol to the generated protocol#2584
mkondratek merged 8 commits intomainfrom
mkondratek/chore/migrate-to-protocol

Conversation

@mkondratek
Copy link
Copy Markdown
Contributor

@mkondratek mkondratek commented Nov 5, 2024

  • Update cody commit

Test plan

  1. Autocomplete works no worse

@mkondratek mkondratek self-assigned this Nov 5, 2024
@mkondratek mkondratek force-pushed the mkondratek/chore/migrate-to-protocol branch 2 times, most recently from 685b395 to 75b6ee3 Compare November 6, 2024 10:09
mkondratek added a commit to sourcegraph/cody-public-snapshot that referenced this pull request Nov 6, 2024
…6073)

Previously, CompletionBookkeepingEvent fields that represent timestamp
could be floating numbers (non-integer). That was breaking type
deserialization in the JetBrains client (and likely could cause troubles
in other clients). The protocol expects integers.

This PR ensures that the timestamps are integers.

## Test plan
Tested manually with sourcegraph/jetbrains#2584.

<!-- Required. See
https://docs-legacy.sourcegraph.com/dev/background-information/testing_principles.
-->

## Changelog

<!-- OPTIONAL; info at
https://www.notion.so/sourcegraph/Writing-a-changelog-entry-dd997f411d524caabf0d8d38a24a878c
-->
@mkondratek mkondratek force-pushed the mkondratek/chore/migrate-to-protocol branch from 75b6ee3 to f69bd50 Compare November 7, 2024 13:21
@mkondratek mkondratek enabled auto-merge (squash) November 7, 2024 22:14
Copy link
Copy Markdown
Contributor

@pkukielka pkukielka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mkondratek mkondratek merged commit f7ba809 into main Nov 8, 2024
@mkondratek mkondratek deleted the mkondratek/chore/migrate-to-protocol branch November 8, 2024 08:33
PriNova pushed a commit to PriNova/cody that referenced this pull request Nov 8, 2024
…ourcegraph#6073)

Previously, CompletionBookkeepingEvent fields that represent timestamp
could be floating numbers (non-integer). That was breaking type
deserialization in the JetBrains client (and likely could cause troubles
in other clients). The protocol expects integers.

This PR ensures that the timestamps are integers.

## Test plan
Tested manually with sourcegraph/jetbrains#2584.

<!-- Required. See
https://docs-legacy.sourcegraph.com/dev/background-information/testing_principles.
-->

## Changelog

<!-- OPTIONAL; info at
https://www.notion.so/sourcegraph/Writing-a-changelog-entry-dd997f411d524caabf0d8d38a24a878c
-->
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants