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

[Bug] The packager status indicator shows inconsistent state #2142

Closed
serhergz opened this issue May 10, 2024 · 5 comments · Fixed by #2157
Closed

[Bug] The packager status indicator shows inconsistent state #2142

serhergz opened this issue May 10, 2024 · 5 comments · Fixed by #2157

Comments

@serhergz
Copy link

🐛 What is the bug? How can we reproduce it?

The package indicator changes it state independently of the actual packager state, specifically when the packager is running and one of these 3 actions are performed:

  • A new project is created
  • An existing project is added to the workspace
  • The stop packager command is used, and the user select a project folder not running a packager

In this 3 situations the Packager status indicator reset to the Packager Stopped status, while the packager is still running.

Steps to reproduce:

  1. Create a project
  2. Start the packager for that project
  3. Create a new project without stopping the packager

Other case, to reproduce:

  1. Create 2 projects
  2. Start the packager for the first project
  3. Execute the 'React Native: Stop Packager'
  4. On the quickpick select the second project (the one not running)

Expected behaviour

The expected behaviour is that the Packager indicator actually reflect the packager status, in the given example when creating a project the indicator should not change state since the packager is still running.
Ideally the indicator should track the status of each packager considering that each project could be running one instance of it.

Debug output

React Native output channel Image show React Native Packager is still running but packager indicator has reset to the Packager Stopped status Screenshot 2024-05-10 at 08 55 14

Environment

  • React Native Tools extension version: v1.13.0
@serhergz serhergz added the bug label May 10, 2024
@EzioLi01
Copy link
Collaborator

Hey @serhergz , thanks for reaching us.
Will fix this issue currently, any update will comment here, thank you!

@EzioLi01
Copy link
Collaborator

Linked in enhancement #2144.

@EzioLi01
Copy link
Collaborator

@serhergz Just want to confirm which OS have you used?

@serhergz
Copy link
Author

@serhergz Just want to confirm which OS have you used?

Thanks for the quick reply, This have been observed in MacOS Sonoma 14.4.1

@EzioLi01
Copy link
Collaborator

@serhergz Just want to confirm which OS have you used?

Thanks for the quick reply, This have been observed in MacOS Sonoma 14.4.1

Got it, will look into this.

@lexie011 lexie011 linked a pull request May 22, 2024 that will close this issue
@lexie011 lexie011 linked a pull request Jun 13, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants