Skip to content

[gnodev] Notify user if there are conflicting deployments #4197

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
leohhhn opened this issue Apr 21, 2025 · 0 comments
Open

[gnodev] Notify user if there are conflicting deployments #4197

leohhhn opened this issue Apr 21, 2025 · 0 comments

Comments

@leohhhn
Copy link
Contributor

leohhhn commented Apr 21, 2025

Description

We need to notify the user in this case:

  • The user deployed a package via msgaddpkg to path gno.land/r/xyz/pkg
  • At some point, gnodev, through it's resolver, finds another package with the same package path
  • It then deploys it with priority over the msgaddpkg one from the user.

This causes a peculiar situation in which people do not understand which package has been deployed and makes the case very confusing, which I've seen in practice about 3 or 4 times.

I suggest that we keep a list of manual AddPkg messages from the user, and in case the resolver finds a conflict, we notify the user that a conflict has happened and show the local/remote path from which the currently deployed package has been taken.

cc @gfanton

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Triage
Development

No branches or pull requests

1 participant