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

Wrong heredoc kills Docker LS #4408

Open
danCrespo opened this issue Oct 29, 2024 · 2 comments
Open

Wrong heredoc kills Docker LS #4408

danCrespo opened this issue Oct 29, 2024 · 2 comments

Comments

@danCrespo
Copy link

Type: Performance Issue

Steps to reproduce.

  • You can start writing a Dockerfile
  • Use a RUN instruction (not sure if the issue also happens with any other instruction)
  • Start the command using a here-string <<<CRASH , as if it were a heredoc. (I already know this sintax is wrong and invalid)
  • Enter a new line and type anything...
  • Close the wrong heredoc CRASH and...
    that's when the LS is killed by this wrong sintax.

Extension version: 1.29.3
VS Code version: Code 1.94.2 (384ff7382de624fb94dbaf6da11977bba1ecd427, 2024-10-09T16:08:44.566Z)
OS version: Windows_NT x64 10.0.22635
Modes:
Remote OS version: Linux x64 5.15.153.1-microsoft-standard-WSL2

System Info
Item Value
CPUs 11th Gen Intel(R) Core(TM) i9-11900 @ 2.50GHz (16 x 2496)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 31.21GB (4.34GB free)
Process Argv --folder-uri=vscode-remote://wsl+Ubuntu-22.04/home/dancr/repos/panacea-lg-scast --remote=wsl+Ubuntu-22.04 --crash-reporter-id ce7ffe95-f363-4111-947c-31b32712f148 --crash-reporter-id ce7ffe95-f363-4111-947c-31b32712f148
Screen Reader no
VM 0%
Item Value
Remote WSL: Ubuntu-22.04
OS Linux x64 5.15.153.1-microsoft-standard-WSL2
CPUs 11th Gen Intel(R) Core(TM) i9-11900 @ 2.50GHz (16 x 0)
Memory (System) 15.23GB (9.06GB free)
VM 0%
@rcjsuen
Copy link
Contributor

rcjsuen commented Nov 3, 2024

Thanks for the bug report, @danCrespo. I was able to reproduce the problem and have opened rcjsuen/dockerfile-ast#117 to track this.

@danCrespo
Copy link
Author

You're welcome @rcjsuen. Please let me know if you need any other resources: a screenshot, more details, or anything else that can help you. Although I think the mistake speaks for itself, I'm happy to help further. Greetings

@dbreshears dbreshears added this to the 1.31.0 milestone Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants