Repository navigation
Conversation
Rama542
requested review from
Caesarsage,
Harsh4902,
lbroudoux and
yada
as code owners
November 25, 2026 12:28
|
👋 @Rama542 Welcome to the Microcks community! 💖 Thanks and congrats 🎉 for opening your first pull request here! Be sure to follow the pull request template or please update it accordingly. Hope you have a great time there! |
Signed-off-by: Rama sasank gudipati <220448411+Rama542@users.noreply.github.com>
Rama542
force-pushed
the
fix/context-delete-running-instance
branch
from
November 25, 2026 12:38
0a56e7d to
0ebd516
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR fixes an issue where deleting the only context created by
microcks startremoves the configuration file while the localcontainer is still running. This causes the stored container ID to
be lost, preventing
microcks stopfrom stopping the running instance.The following changes are included:
Microcks instance by returning a usage error and preserving
the existing configuration.
LocalConfig.IsEmpty()to consider all configurationsections before removing the configuration file.
referencing them is deleted.
contextcommand documentation.Testing
The following commands were executed to validate the changes:
go fmt ./...go test ./cmd -run "TestContext|TestDeleteContext"go test ./pkg/config -run "TestLocalConfig"go build -o build/dist/microcksThe full
go test ./...run reports pre-existing Windowspath-related failures in unrelated packages.
AI Disclosure
AI assistance was used for analysis and implementation review.
I reviewed and tested the changes and take full responsibility
for this contribution.