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

CLI(package/tag): Don't cache previously fetched user package #4996

Merged
merged 1 commit into from
Aug 15, 2024

Conversation

xdoardo
Copy link
Contributor

@xdoardo xdoardo commented Aug 8, 2024

Recently it was brought up that tagging would fail in the case that the users selects to bump the package but its hash is the same. This was due to the fact that the implementation, in order to avoid making two calls, cached a response from the backend that potentially had the wrong (pre-bump) version but the same hash, which gated the tagging itself.

@xdoardo xdoardo requested a review from syrusakbary as a code owner August 8, 2024 13:42
@xdoardo xdoardo requested a review from theduke August 8, 2024 13:45
@xdoardo xdoardo changed the title fix(package/tag): Remove harmful cache CLI(package/tag): Dont' cache previously fetched user package Aug 8, 2024
@xdoardo xdoardo changed the title CLI(package/tag): Dont' cache previously fetched user package CLI(package/tag): Don't cache previously fetched user package Aug 8, 2024
@theduke theduke merged commit f6fe9ea into main Aug 15, 2024
62 of 63 checks passed
@theduke theduke deleted the fix-tagging branch August 15, 2024 05:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants