-
Notifications
You must be signed in to change notification settings - Fork 243
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
Use devstats.PID.json as devstate #6713
Use devstats.PID.json as devstate #6713
Conversation
✅ Deploy Preview for odo-docusaurus-preview canceled.
|
af7ea5f
to
0008627
Compare
e9f8d68
to
2dc707b
Compare
Thanks @rm3l for your review |
Investigating this error: On Windows, it seems that the second process detects correctly that a first process exists.
|
202db74
to
218b982
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works great - thanks!
@feloy Can you rebase your branch onto |
Co-authored-by: Armel Soro <armel@rm3l.org>
218b982
to
0877169
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
/override windows-integration-test/Windows-test |
@feloy: Overrode contexts on behalf of feloy: windows-integration-test/Windows-test In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
What type of PR is this:
/kind feature
What does this PR do / why we need it:
State of
odo dev
if now saved in a file.odo/devstate.${PID}.json
, to be able to run multiple instances and state for each of them.For compatibility, the file
.odo/devstate.json
is also used for the first instance ofodo dev
.One drawback is that if an instance of
odo dev
is killed, thedevstate.json
file won't be overwritten. One possibility would be to delete it when runningodo delete component
and the process with registered PID into devstate.json is not existing.Which issue(s) this PR fixes:
Fixes #6494
PR acceptance criteria:
Unit test
Integration test
Documentation
How to test changes / Special notes to the reviewer: