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

feat(language-server): integrate LS #5747

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Team-Hammerhead
Copy link
Collaborator

@Team-Hammerhead Team-Hammerhead commented Feb 21, 2025

Changes since last integration of Language Server

commit 881c27ccbd698b13533f6716771e8902abb7c990
Author: Bastian Doetsch <bastian.doetsch@snyk.io>
Date:   Mon Feb 24 13:23:55 2025 +0100

    feat: add scan source to metrics [IDE-924] (#781)
    
    Co-authored-by: bastiandoetsch <bastiandoetsch@users.noreply.github.com>

:100644 100644 1fdf21f6 f95de5b2 M	README.md
:100644 100644 e08c56c5 3d7c843a M	application/config/config.go
:100644 100644 1777478e fcd7d4f3 M	application/server/execute_command_test.go
:100644 100644 c80efa3c 74717a24 M	application/server/notification.go
:100644 100644 344db2b1 cd59cb1d M	application/server/notification_test.go
:100644 100644 f01166c5 3f930286 M	application/server/server.go
:100644 100644 3dda68f5 448bce6b M	application/server/server_smoke_test.go
:100644 100644 0a785384 08eb20cc M	application/server/server_test.go
:100644 100644 fa393dd2 ff3b4138 M	application/server/trust_test.go
:100644 100644 487fdf1f f5fd6bd6 M	domain/ide/command/command_service.go
:100644 100644 bc02db3f b99e178f M	domain/ide/workspace/folder.go
:100644 100644 21fb3664 89cf6b76 M	domain/ide/workspace/folder_test.go
:100644 100644 7cdd7388 2e1a9ec6 M	domain/snyk/scanner/scanner.go
:100644 100644 d33aa8fa 78ef2536 M	domain/snyk/scanner/test_scanner.go
:000000 100644 00000000 540573db A	internal/context/context_keys.go
:100644 100644 bbc2c9dd cc1e38f1 M	internal/mcp/llm_binding.go
:100644 100644 25dc5b4c d10e2e16 M	internal/mcp/llm_binding_smoke_test.go
:100644 100644 0bea5513 2d0dce31 M	internal/mcp/llm_binding_test.go
:100644 100644 f244a6d9 c4313c70 M	internal/mcp/options.go
:100644 100644 1bbe999b d0efd7dc R066	internal/mcp/tool.go	internal/mcp/scan_tool.go
:100644 100644 322f3ea7 a3067e0c M	internal/types/lsp.go
:100644 100644 d1845f79 438da3c7 M	internal/types/scan.go
:100644 100644 1bffe8b1 f910769c M	internal/types/workspace.go
:100644 000000 18d25f92 00000000 D	licenses/github.com/xtgo/uuid/LICENSE

commit 0f03ea69cf1acc74bef4f0c8aa54240ac8b1de9e
Author: Bastian Doetsch <bastian.doetsch@snyk.io>
Date:   Fri Feb 21 07:10:58 2025 +0100

    feat: add mcp server, refactoring [IDE-918] (#778)
    
    Co-authored-by: bastiandoetsch <bastiandoetsch@users.noreply.github.com>

:100644 100644 76b899d0 0ef12b5a M	.github/workflows/build.yaml
:100644 100644 ea0e95cf 60599423 M	.github/workflows/instance-tests.yaml
:100644 100644 b3d7b785 13019eed M	.github/workflows/release.yaml
:100644 100644 aa96c887 45b3eac0 M	.golangci.yaml
:100644 000000 bcca4404 00000000 D	.snyk
:100644 100644 c8983602 4a222c65 M	Makefile
:100644 100644 85fea8f8 d1d84f4d M	application/codeaction/codeaction.go
:100644 100644 0d89f1b3 8da24be3 M	application/codeaction/codeaction_test.go
:100644 100644 106402c0 e08c56c5 M	application/config/config.go
:100644 100644 37238e2a f748bc8c M	application/di/init.go
:100644 100644 9e26f71f 6deeab89 M	application/server/authentication_smoke_test.go
:100644 100644 60f0e546 81a77171 M	application/server/codeaction_handlers.go
:100644 100644 b9974c21 3ed6d966 M	application/server/configuration.go
:100644 100644 b3fd84fb a4419a0c M	application/server/configuration_test.go
:100644 100644 d9fff640 1777478e M	application/server/execute_command_test.go
:100644 100644 fbac9d32 e7ae52e7 M	application/server/inline_values_test.go
:100644 100644 434a812f c80efa3c M	application/server/notification.go
:100644 100644 efa31f61 51f656d1 M	application/server/notification/scan_notifier.go
:100644 100644 7fa98ed4 986c35d7 M	application/server/notification/scan_notifier_test.go
:100644 100644 7f978be1 248646b8 M	application/server/parallelization_test.go
:100644 100644 86dbce5f f01166c5 M	application/server/server.go
:100644 100644 7c7dc72a 3dda68f5 M	application/server/server_smoke_test.go
:100644 100644 a1c84e29 0a785384 M	application/server/server_test.go
:100644 100644 f7b9152d fa393dd2 M	application/server/trust_test.go
:100644 100644 bb12690b 33988a63 M	ast/ast.go
:100644 100644 a6fd8c70 c22479cf M	ast/maven/parser.go
:100644 100644 ed546b4d 19350bbc M	ast/maven/parser_test.go
:100644 100644 35962a51 6d77c0d6 M	docs/example-code.md
:100644 100644 14ca7277 6f5f005d M	docs/example.md
:100644 100644 1c44fa9c f45d4f19 M	domain/ide/codelens/codelens.go
:100644 100644 763641e0 5d084750 M	domain/ide/command/clear_cache.go
:100644 100644 06092538 0deb2b5f M	domain/ide/command/code_fix.go
:100644 100644 e3232d37 69753bef M	domain/ide/command/code_fix_diffs.go
:100644 100644 d450f7ce f168161f M	domain/ide/command/code_fix_diffs_test.go
:100644 100644 71587d09 ae7e9143 M	domain/ide/command/code_fix_test.go
:100644 100644 939ab41f f7a44e68 M	domain/ide/command/execute_cli.go
:100644 100644 6664a669 58fee0f8 M	domain/ide/command/folder_handler.go
:100644 100644 750b8691 17ceb56a M	domain/ide/command/generate_issue_description.go
:100644 100644 bfd5565e 228d4aa6 M	domain/ide/command/get_learn_lesson.go
:100644 100644 4cbb99b2 b93c6f26 M	domain/ide/command/get_learn_lesson_test.go
:100644 100644 9adfe690 6fe35b6d M	domain/ide/command/logout_test.go
:100644 100644 0839f0c7 c9099d95 M	domain/ide/command/navigate_to_range.go
:100644 100644 65f261d1 4deef8a1 M	domain/ide/command/open_learn_lesson_test.go
:100644 100644 bd555bb0 92d93c4f M	domain/ide/command/workspace_folder_scan.go
:100644 100644 fbed9550 eb36f48c M	domain/ide/converter/converter.go
:100644 100644 09195aba 949a3cab M	domain/ide/converter/converter_test.go
:100644 100644 4b925400 dd91c3a9 M	domain/ide/hover/fake_service.go
:100644 100644 623d23c6 ba9aa677 M	domain/ide/hover/model.go
:100644 100644 2f288921 68fae7f7 M	domain/ide/hover/service.go
:100644 100644 0a922657 d99b4bc5 M	domain/ide/hover/service_test.go
:100644 100644 f3889dce bc02db3f M	domain/ide/workspace/folder.go
:100644 100644 a4513308 21fb3664 M	domain/ide/workspace/folder_test.go
:100644 100644 f5c0e86f 63af504d M	domain/ide/workspace/workspace.go
:100644 100644 1098538a 80c27de7 M	domain/ide/workspace/workspace_test.go
:100644 100644 5595d622 8c6d1c7b M	domain/scanstates/noop_state_aggregator.go
:100644 100644 fe8a0a75 9dc4777e M	domain/scanstates/scan_state_aggregator.go
:100644 100644 54f1a496 d1d926da M	domain/scanstates/scan_state_aggregator_test.go
:100644 100644 b794618b 3f833cc3 M	domain/scanstates/state_aggregator.go
:100644 100644 c732f1aa 045ea220 M	domain/scanstates/summary_html.go
:100644 100644 cd2ace3e aff2ece8 M	domain/snyk/codeaction.go
:100644 100644 2e929e0b e6bd7e9f M	domain/snyk/codeaction_test.go
:100644 100644 6bc2986e e2e71baa M	domain/snyk/dataflow.go
:100644 100644 81a644ea 9dfb2db6 M	domain/snyk/delta/delta_provider.go
:100644 100644 2f648c13 af436659 M	domain/snyk/inline_value.go
:100644 100644 7d2a045d 11552b11 M	domain/snyk/issues.go
:100644 100644 6c97f0f8 a99608f7 M	domain/snyk/issues_provider.go
:100644 100644 944bb12d 70806ed8 M	domain/snyk/oss_issue_data.go
:100644 100644 55fa3a4f 1e608b5a M	domain/snyk/persistence/file_operation.go
:100644 100644 e3081e8d ac4c5d50 M	domain/snyk/persistence/git_persistence_provider.go
:100644 100644 d7e5d663 a4dfae4a M	domain/snyk/persistence/git_persistence_provider_test.go
:100644 100644 79c27414 14c1c1e4 M	domain/snyk/persistence/nop_scan_persister.go
:100644 000000 e78c1b7d 00000000 D	domain/snyk/product.go
:100644 100644 344d2f06 5419b093 M	domain/snyk/scan_result_processor_test.go
:100644 100644 1dbe9725 fb37fcbd M	domain/snyk/scanner/base_scan.go
:100644 100644 973c0cb8 42a37040 M	domain/snyk/scanner/pre_scan_command.go
:100644 100644 70913b8c 8f3c9ffd M	domain/snyk/scanner/scan_notifier.go
:100644 100644 374e993a f31494b3 M	domain/snyk/scanner/scan_notifier_mock.go
:100644 100644 4bd5537b 7cdd7388 M	domain/snyk/scanner/scanner.go
:100644 100644 be76c161 be5e5451 M	domain/snyk/scanner/scanner_test.go
:100644 100644 ca2c6b5f 29aa4a55 M	domain/snyk/scanner/test_product_scanner.go
:100644 100644 a3dae3c1 d33aa8fa M	domain/snyk/scanner/test_scanner.go
:100644 100644 ddd85b59 a758412f M	go.mod
:100644 100644 54939b99 8ed49972 M	go.sum
:100644 100644 8fe3f026 a852a981 M	infrastructure/cli/cli.go
:100644 100644 f28d1556 dbfc5028 M	infrastructure/cli/cli_extension_executor.go
:100644 100644 4f4af06b d0048885 M	infrastructure/cli/cli_extension_executor_test.go
:100644 100644 20959d10 2bfb0096 M	infrastructure/cli/cli_fake.go
:100644 100644 ea1fc905 a7533acd M	infrastructure/cli/install/installer_test.go
:100644 100644 76db9207 797c9f3c M	infrastructure/code/autofix.go
:100644 100644 6c00420e d386c9bb M	infrastructure/code/bundle.go
:100644 100644 00faf6cf 52598e62 M	infrastructure/code/bundle_test.go
:100644 100644 73282b39 166be805 M	infrastructure/code/bundle_uploader.go
:100644 100644 1cd34df8 75c90341 M	infrastructure/code/bundle_uploader_test.go
:100644 100644 3c134d7e a7e0f8cc M	infrastructure/code/cache.go
:100644 100644 84c07bbf cfb21286 M	infrastructure/code/cache_test.go
:100644 100644 982765f7 c603566a M	infrastructure/code/code.go
:100644 100644 c9756dc7 af80d612 M	infrastructure/code/code_error_reporter.go
:100644 100644 d9ff1356 a6516bc7 M	infrastructure/code/code_html.go
:100644 100644 15035d58 51a3152c M	infrastructure/code/code_html_test.go
:100644 100644 e9e69473 b588a00f M	infrastructure/code/code_test.go
:100644 100644 751b0614 1ad8ffea M	infrastructure/code/convert.go
:100644 100644 cb3d8a0a 8b421930 M	infrastructure/code/convert_test.go
:100644 100644 672d2f20 85ddaed4 M	infrastructure/code/fake_code_client_scanner.go
:100644 100644 d02fe88c dfd684b0 M	infrastructure/code/fake_snyk_code_api_service.go
:100644 100644 46fd1148 f1d7ed8b M	infrastructure/code/issue_enhancer.go
:100644 100644 adcb6bf0 fa9596c2 M	infrastructure/code/issue_enhancer_test.go
:100644 100644 b845abfb 50b15de9 M	infrastructure/code/path.go
:100644 100644 d11f3af4 a4571b8e M	infrastructure/code/snyk_code_http_client.go
:100644 100644 82f79563 b67345ff M	infrastructure/code/snyk_code_http_client_interface.go
:100644 100644 3ae0652a 04f3eafc M	infrastructure/code/snyk_code_http_client_pact_test.go
:100644 100644 5e3b85ef 8b1d6fe0 M	infrastructure/code/snyk_code_http_client_test.go
:100644 100644 82c4acb8 b92d3770 M	infrastructure/code/types.go
:100644 100644 45e5509e 29eb6c4d M	infrastructure/code/upload_batch.go
:100644 100644 1febea4e b2244a8e M	infrastructure/code/upload_batch_test.go
:100644 100644 254003e3 758d0c65 M	infrastructure/iac/iac.go
:100644 100644 772bd8f1 2120323b M	infrastructure/iac/iac_html.go
:100644 100644 40bccb34 89805b89 M	infrastructure/iac/iac_html_test.go
:100644 100644 3166261f ac5f9abb M	infrastructure/iac/iac_test.go
:100644 100644 77acf40e d0b8dc71 M	infrastructure/learn/mock_learn/service_mock.go
:100644 100644 d21813bf 3d22866c M	infrastructure/learn/service.go
:100644 100644 7a079368 dfe3fdfb M	infrastructure/learn/service_test.go
:100644 100644 b92cb68e 5762f325 M	infrastructure/oss/cli_package_scan.go
:100644 100644 5984ca78 d11fcfb0 M	infrastructure/oss/cli_package_scan_test.go
:100644 100644 3254b950 6adb6633 M	infrastructure/oss/cli_scanner.go
:100644 100644 809a45bd 559f2623 M	infrastructure/oss/cli_scanner_test.go
:100644 100644 8933a40e 4fa74466 M	infrastructure/oss/code_actions.go
:100644 100644 21b3a63a 4719cd3e M	infrastructure/oss/html_range_finder.go
:100644 100644 acbc5991 58c9acff M	infrastructure/oss/inline_value.go
:100644 100644 f2314263 2f1d6a17 M	infrastructure/oss/issue.go
:100644 100644 0b99273e c20a6873 M	infrastructure/oss/maven_range_finder.go
:100644 100644 40b04ee9 8ad89aac M	infrastructure/oss/maven_range_finder_test.go
:100644 100644 bc776a5f 9d013821 M	infrastructure/oss/npm_range_finder.go
:100644 100644 3952a6dd 54c5e680 M	infrastructure/oss/npm_range_finder_test.go
:100644 100644 cad1f670 b8295d7a M	infrastructure/oss/oss_html.go
:100644 100644 34cd6e04 ce3c0f66 M	infrastructure/oss/oss_html_test.go
:100644 100644 68d5626e e2fdabdb M	infrastructure/oss/oss_integration_test.go
:100644 100644 c33436ac dbffc39f M	infrastructure/oss/oss_test.go
:100644 100644 e19db381 7910982a M	infrastructure/oss/parser/html_parser.go
:100644 100644 7c400f4e 3ae2b0fe M	infrastructure/oss/parser/html_parser_test.go
:100644 100644 d9f8310a d617ab2d M	infrastructure/oss/parser/parser.go
:100644 100644 7806e1df 82949432 M	infrastructure/oss/range_finder.go
:100644 100644 6cebf620 d67099e5 M	infrastructure/oss/range_finder_test.go
:100644 100644 13590838 c771c394 M	infrastructure/oss/types.go
:100644 100644 3114fabe 045963b8 M	infrastructure/oss/vulnerability_count.go
:100644 100644 4f236291 56014f3a M	infrastructure/oss/vulnerability_count_test.go
:100644 100644 8ce185c7 203ecde5 M	infrastructure/sentry/sentry_error_reporter.go
:100644 100644 379cce0e cf56e8ff M	infrastructure/sentry/sentry_error_reporter_test.go
:100644 100644 ceaae37e 5a5706d4 M	infrastructure/utils/fingerprint.go
:100644 100644 63e0fedd c08ffb46 M	infrastructure/utils/fingerprint_test.go
:100644 100644 76d350fb fcf912b2 M	internal/delta/delta_finder.go
:100644 100644 c3f2b644 ac5cc35b M	internal/delta/delta_finder_test.go
:100644 100644 2e457d5f 21cb3736 M	internal/delta/findings_identifiable.go
:100644 100644 b06d4997 7b06c99b M	internal/delta/fuzzy_matcher.go
:100644 100644 e670c095 0900640f M	internal/delta/identity_enricher.go
:100644 100644 169f0c67 2823c987 M	internal/delta/mock_identifiable.go
:100644 100644 56f14226 fe1f7524 M	internal/html/severity_icons.go
:000000 100644 00000000 bbc2c9dd A	internal/mcp/llm_binding.go
:000000 100644 00000000 25dc5b4c A	internal/mcp/llm_binding_smoke_test.go
:000000 100644 00000000 0bea5513 A	internal/mcp/llm_binding_test.go
:000000 100644 00000000 4bee7457 A	internal/mcp/networking.go
:000000 100644 00000000 01f22a0b A	internal/mcp/networking_test.go
:000000 100644 00000000 f244a6d9 A	internal/mcp/options.go
:000000 100644 00000000 1bbe999b A	internal/mcp/tool.go
:100644 100644 f64f46db a22506ed M	internal/notification/notifier.go
:100644 100644 43809c5e 2b6d088f M	internal/notification/notifier_mock.go
:100644 100644 083b36cd ca671ad4 M	internal/observability/error_reporting/error_reporter.go
:100644 100644 38e9915e 3d3b12e2 M	internal/observability/error_reporting/test_error_reporter.go
:100644 100644 93879355 b746bd98 M	internal/scans/pre_scan_commands.go
:100644 100644 ef0fc4a7 bf57b2fc M	internal/scans/pre_scan_commands_test.go
:100644 100644 d9ee44ce 7d8c15d1 M	internal/storedconfig/git.go
:100644 100644 1211cc89 eb43528a M	internal/storedconfig/stored_config.go
:100644 100644 6ae6c3ed d8408ebd M	internal/storedconfig/stored_config_test.go
:100644 100644 f045fb77 d8c40f2d M	internal/storedconfig/xdg.go
:100644 100644 d0983f89 535249ea R097	domain/snyk/edit.go	internal/types/edit.go
:100644 100644 45f52b02 03ffa604 R098	domain/snyk/edit_test.go	internal/types/edit_test.go
:000000 100644 00000000 85fa077a A	internal/types/issues.go
:100644 100644 45ea2487 322f3ea7 M	internal/types/lsp.go
:100644 100644 a7fd154e 62424c5c R097	domain/snyk/range.go	internal/types/range.go
:100644 100644 5d8e43a6 4328b1b7 R098	domain/snyk/range_test.go	internal/types/range_test.go
:100644 100644 7fda9289 d1845f79 R058	domain/snyk/scan_result_processor.go	internal/types/scan.go
:100644 100644 1f46087e 1bffe8b1 M	internal/types/workspace.go
:100644 100644 f7a91cde 07757a72 M	internal/uri/uri_util.go
:100644 100644 ea31bac0 b889174e M	internal/uri/uri_util_test.go
:100644 100644 2a762d71 61c07776 M	internal/vcs/checkout_handler.go
:100644 100644 c812f48d 94ea3398 M	internal/vcs/checkout_handler_test.go
:100644 100644 49336b22 fcc81dcf M	internal/vcs/git_cloner.go
:100644 100644 034f0c48 03b78e5a M	internal/vcs/git_cloner_test.go
:100644 100644 2abaaa28 4a486766 M	internal/vcs/git_utils.go
:000000 100644 00000000 3d484354 A	licenses/github.com/mark3labs/mcp-go/LICENSE
:100644 100644 261eeb9e c8ff622f M	licenses/github.com/pjbgf/sha1cd/LICENSE
:100644 100644 a92cb34d 224b2024 M	licenses/github.com/skeema/knownhosts/NOTICE
:100644 100644 2a7cf70d 2a7cf70d R100	licenses/golang.org/x/exp/LICENSE	licenses/golang.org/x/exp/slices/LICENSE
:100644 100644 37674124 6872ca67 M	ls_extension/main_test.go

@Team-Hammerhead Team-Hammerhead requested a review from a team as a code owner February 21, 2025 06:24
Copy link
Contributor

github-actions bot commented Feb 21, 2025

Warnings
⚠️

"feat: automatic integration of language server 881c27ccbd698b13533f6716771e8902abb7c990" is too long. Keep the first line of your commit message under 72 characters.

Generated by 🚫 dangerJS against b29a733

@team-ide-user team-ide-user force-pushed the feat/automatic-upgrade-of-ls branch from 288784f to b29a733 Compare February 24, 2025 12:37
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.

2 participants