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

Migrate editTask/*, editCommands/code, webview/*, chat/web/new#2637

Merged
mkondratek merged 6 commits intomainfrom
mkondratek/chore/migrate-api-part-3x
Nov 14, 2024
Merged

Migrate editTask/*, editCommands/code, webview/*, chat/web/new#2637
mkondratek merged 6 commits intomainfrom
mkondratek/chore/migrate-api-part-3x

Conversation

@mkondratek
Copy link
Copy Markdown
Contributor

@mkondratek mkondratek commented Nov 13, 2024

This PR is a part of the protocol migration. Some endpoints are written by hand. We are switching to the protocol generated from Cody. In this PR:

Test plan

  • All migrated endpoints have been verified with debugger (and reviewed in the trace log).
  • New chat action executed 🟢
  • Autocomplete tested 🟢
  • Inline Edits (including cancel, undo, retry, accept) tested 🟢
  • Chat tested 🟢
  • Closing/Opening the project, closing/opening files, closing/opening new chats tested 🟢
  • Swtiching account (dotcom -> enterprsise) tested 🟢

@mkondratek mkondratek self-assigned this Nov 13, 2024
@mkondratek mkondratek changed the title Migrate editTask/* Migrate editTask/*, editCommands/code, webview/*, chat/web/new Nov 13, 2024
Comment thread build.gradle.kts

implementation("com.typesafe:config:1.4.3")
implementation("org.eclipse.lsp4j:org.eclipse.lsp4j.jsonrpc:0.23.1")
testImplementation("net.java.dev.jna:jna:5.10.0") // it is needed for integration tests
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

surprise 🎉 we still need it to run IT locally

.rows(15)
.bindText(IgnoreOverrideModel::policy)
.validationInfo { textArea ->
.validationOnInput { textArea ->
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

minor fix (now the json error is shown on input change

}

override fun doOKAction() {
super.doOKAction()
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

it was a bug, the values were always from before the change. rather small impact tho as we use it only for our testing.

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 46def5a into main Nov 14, 2024
@mkondratek mkondratek deleted the mkondratek/chore/migrate-api-part-3x branch November 14, 2024 09:45
mkondratek added a commit that referenced this pull request Nov 14, 2024
This PR is a part of the protocol migration. Some endpoints are written
by hand. We are switching to the protocol generated from Cody. In this
PR:
- [Migrate
ignore/test](03a93bf)


<!-- start git-machete generated -->

# Based on PR #2637

## Full chain of PRs as of 2024-11-13

* PR #2638:
`mkondratek/chore/migrate-api-part-4` ➔
`mkondratek/chore/migrate-api-part-3x`
* PR #2637:
  `mkondratek/chore/migrate-api-part-3x` ➔ `main`

<!-- end git-machete generated -->



## Test plan
- All migrated endpoints have been verified with debugger (and reviewed
in the trace log).
- Cody Ignore (with
`CODY_JETBRAINS_FEATURES=cody.feature.internals-menu=true`) 🟢
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