Clean up dead autocomplete code#8654
Merged
markijbema merged 5 commits intoApr 9, 2026
Merged
Conversation
Contributor
Author
Code Review SummaryStatus: 3 Issues Found | Recommendation: Address before merge Overview
Fix these issues in Kilo Cloud Issue Details (click to expand)No inline issues on diff-commentable lines. Other Observations (not in diff)Issues found in unchanged code that cannot receive inline comments:
Files Reviewed (11 files)
Reviewed by gpt-5.4-20260305 · 725,902 tokens |
chrarnoldus
approved these changes
Apr 9, 2026
jliounis
pushed a commit
to jliounis/kilocode
that referenced
this pull request
May 18, 2026
…-9980-4a7d-b2d4-13233973f500 Clean up dead autocomplete code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
src/services/autocomplete/**in the package knip coverage.Tests
bun run formatbun run check-types:extensionbun run compile-testsbun run lintbun run knip -- --reporter compact --max-show-issues 1000bun run check-kilocode-changebun run script/extract-source-links.tsbun test tests/unit/autocomplete-error-backoff.test.ts tests/unit/autocomplete-inline-utils.test.ts tests/unit/autocomplete-statusbar-utils.test.ts tests/unit/autocomplete-telemetry-utils.test.ts tests/unit/chat-autocomplete-utils.test.ts tests/unit/contextual-skip.test.ts tests/unit/useless-suggestion-filter.test.ts tests/unit/visible-code-utils.test.ts tests/unit/file-ignore-controller.test.ts tests/unit/i18n-shim.test.ts tests/unit/i18n-keys.test.tsbun test src/services/autocomplete/continuedev/core/llm/countTokens.test.ts src/services/autocomplete/continuedev/core/diff/util.test.ts src/services/autocomplete/continuedev/core/autocomplete/filtering/streamTransforms/lineStream.test.ts src/services/autocomplete/continuedev/core/autocomplete/templating/__tests__/formatOpenedFilesContext.test.ts src/services/autocomplete/continuedev/core/autocomplete/postprocessing/index.test.ts src/services/autocomplete/continuedev/core/autocomplete/postprocessing/__tests__/removePrefixOverlap.test.tsbun turbo typecheckNotes
bun test src/services/autocomplete ...invocation is not a supported target here; it fails on existing VS Code mock setup in source-local tests, so the supported unit files and remaining pure ContinueDev tests were run explicitly.