Skip to content

code-server --wait --merge $a $b $base $output never exits #7330

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

Open
2 tasks done
anguslees opened this issue Apr 30, 2025 · 1 comment
Open
2 tasks done

code-server --wait --merge $a $b $base $output never exits #7330

anguslees opened this issue Apr 30, 2025 · 1 comment
Labels
bug Something isn't working triage This issue needs to be triaged by a maintainer

Comments

@anguslees
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

OS/Web Information

  • Web Browser: chrome
  • Local OS: macos
  • Remote OS: linux
  • Remote Architecture: amd64
  • code-server --version:
1.96.2
08cbdfbdf11925e8a14ee03de97b942bba7e8a94
x64

Steps to Reproduce

  1. Open a terminal in code-server
  2. Run echo a > a; echo out > out
  3. Run code-server --wait --merge a a a out
  4. 3-way merge tab pops up (good)
  5. Save file, close tab, try anything. No way to make code-server --wait --merge command exit (bad)

Expected

3-way merge tab should pop up. There should be a "complete merge" button on bottom right, or failing that closing the merge tab should make code-server --wait --merge return successfully (exit 0).

Note simply editing a file with code-server --wait does work as expected. (code-server --wait command returns when tab is closed.)

Actual

There is no "complete merge" button. Closing the merge tab just closes the tab, and code-server --wait --merge continues running.

Logs

Screenshot/Video

No response

Does this bug reproduce in native VS Code?

I did not test native VS Code

Does this bug reproduce in GitHub Codespaces?

I did not test GitHub Codespaces

Are you accessing code-server over a secure context?

  • I am using a secure context.

Notes

No response

@anguslees anguslees added bug Something isn't working triage This issue needs to be triaged by a maintainer labels Apr 30, 2025
@code-asher
Copy link
Member

This is probably actually an upstream bug with VS Code. The code-server script inside the integrated terminal actually comes from VS Code itself (which is why --version does not mention code-server). I would recommend reproducing in Codespaces (there the script will be called code though, not code-server) then reporting at https://github.com/microsoft/vscode.

Now, if it does not reproduce in Codespaces, that could mean it is a code-server bug, but I am not sure how it could be.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage This issue needs to be triaged by a maintainer
Projects
None yet
Development

No branches or pull requests

2 participants