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

launch.json configuration not loaded properly after refreshing the page with IDE #21690

Closed
lexiv0re opened this issue Sep 8, 2022 · 5 comments
Labels
area/editor/theia Issues related to the che-theia IDE of Che kind/bug Outline of a bug - must adhere to the bug report template. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. severity/P2 Has a minor but important impact to the usage or development of the system.

Comments

@lexiv0re
Copy link

lexiv0re commented Sep 8, 2022

Describe the bug

For a workspace with 2 projects it is not picking the existing launch configuration if launch.json is created in the second workspace.

Che version

7.50

Steps to reproduce

  1. Create a workspace with two projects.
  2. Create a file to be run in the second project.
  3. Open the file and select Run -> Start Without Debugging. Start
  4. It asks for the environment and debug configuration and creates .theia/launch.json in the second project. LaunchConfig
  5. The file can now be run successfully with Run -> Start Without Debugging without any prompts.
  6. Refresh the page, close Getting Started tab so the same file is focused. Note, that launch.json is present. RunAgain
  7. Try Run -> Start Without Debugging again. Instead of executing the file it opens the existing launch.json and expects for more launch configurations to be added.

Prompt

Expected behavior

On the step 7 it is expected to use the existing configuration and run without any additional prompts.

Runtime

other (please specify in additional context)

Screenshots

No response

Installation method

other (please specify in additional context)

Environment

Linux

Eclipse Che Logs

No response

Additional context

microK8s
chectl 7.50.0

Note: If I try to run all the same steps but for the first project in the workspace the problem doesn't reproduce.

@lexiv0re lexiv0re added the kind/bug Outline of a bug - must adhere to the bug report template. label Sep 8, 2022
@che-bot che-bot added the status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. label Sep 8, 2022
@Kasturi1820 Kasturi1820 added severity/P2 Has a minor but important impact to the usage or development of the system. area/editors and removed status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. labels Sep 9, 2022
@azatsarynnyy azatsarynnyy added area/editor/theia Issues related to the che-theia IDE of Che and removed area/editors labels Sep 13, 2022
@che-bot
Copy link
Contributor

che-bot commented Mar 12, 2023

Issues go stale after 180 days of inactivity. lifecycle/stale issues rot after an additional 7 days of inactivity and eventually close.

Mark the issue as fresh with /remove-lifecycle stale in a new comment.

If this issue is safe to close now please do so.

Moderators: Add lifecycle/frozen label to avoid stale mode.

@che-bot che-bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Mar 12, 2023
@lexiv0re
Copy link
Author

/remove-lifecycle stale

@che-bot che-bot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Mar 13, 2023
@azatsarynnyy
Copy link
Member

@lexiv0re I suggest checking the described use case in the upstream Eclipse Theia project. To me, it looks like an upstream issue.
Also, take into account #21771

@lexiv0re
Copy link
Author

@azatsarynnyy thank you for the heads up.

I tested it on the upstream Theia with multi-root workspace and it's not reproducible there. That might be because

  • It has been already fixed there by now
  • It's specific to che-theia

@che-bot
Copy link
Contributor

che-bot commented Sep 17, 2023

Issues go stale after 180 days of inactivity. lifecycle/stale issues rot after an additional 7 days of inactivity and eventually close.

Mark the issue as fresh with /remove-lifecycle stale in a new comment.

If this issue is safe to close now please do so.

Moderators: Add lifecycle/frozen label to avoid stale mode.

@che-bot che-bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Sep 17, 2023
@che-bot che-bot closed this as completed Sep 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/editor/theia Issues related to the che-theia IDE of Che kind/bug Outline of a bug - must adhere to the bug report template. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. severity/P2 Has a minor but important impact to the usage or development of the system.
Projects
None yet
Development

No branches or pull requests

4 participants