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

[v1.1] Use indexer when listing cached types by hash #324

Merged
merged 1 commit into from
Jan 10, 2024

Conversation

aruiz14
Copy link
Contributor

@aruiz14 aruiz14 commented Oct 11, 2023

Relates to rancher/fleet#1842
Backport of #326 (cherry-pick + only adapting the correct import paths). That pull request was in fact originally forward-ported from v1, as that is what Fleet 0.7 and Fleet 0.8 uses. This makes this patch the closest to what was already tested by some users on their testing and production setups (using a debug build).

In other words, this backport (and subsequent new v1 release) is necessary in order to use this change on Fleet, since the current release branches still use wrangler/v1, and upgrading to v2 is not feasible.

@aruiz14 aruiz14 changed the title Use indexer when listing cached types by hash [v1.1] Use indexer when listing cached types by hash Oct 13, 2023
aruiz14 added a commit to aruiz14/wrangler that referenced this pull request Nov 8, 2023
@aruiz14
Copy link
Contributor Author

aruiz14 commented Jan 3, 2024

Updated after #326 has been merged.

@aruiz14 aruiz14 marked this pull request as ready for review January 3, 2024 10:26
@aruiz14 aruiz14 requested review from KevinJoiner, rmweir and moio January 3, 2024 10:26
@aruiz14
Copy link
Contributor Author

aruiz14 commented Jan 3, 2024

I needed this change in v1 in order to be able to use it in Fleet (master branch already upgraded to v2, but existing release branches still use v1).

@aruiz14
Copy link
Contributor Author

aruiz14 commented Jan 3, 2024

CI is consistently failing but it's unrelated to my changes. I've opened #352 to address it

Copy link
Contributor

@moio moio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like a straight cherry-pick, therefore LGTM

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.

4 participants