Skip to content

fix(MODULES-5225): include app_name in cache key for virt_dir_path #406

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

Merged
merged 1 commit into from
Jun 10, 2025

Conversation

imaqsood
Copy link
Contributor

@imaqsood imaqsood commented Jun 3, 2025

Summary

Ensure app_name is part of the cache key to prevent incorrect cache hits when the same sitename and name are used with different app_name values.

Also refactored the method for clarity and safer string handling.

Checklist

  • 🟢 Spec tests.
  • 🟢 Acceptance tests.
  • Manually verified. (For example puppet apply)

@imaqsood imaqsood requested a review from a team as a code owner June 3, 2025 10:06
@imaqsood imaqsood force-pushed the MODULES-5225 branch 2 times, most recently from 0da4511 to e44ccf1 Compare June 4, 2025 04:26
Ensure app_name is part of the cache key to prevent incorrect cache hits
when the same sitename and name are used with different app_name values.

Also refactored the method for clarity and safer string handling.
Copy link
Contributor

@amitkarsale amitkarsale left a comment

Choose a reason for hiding this comment

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

LGTM

@imaqsood imaqsood merged commit 9b8772c into puppetlabs:main Jun 10, 2025
12 checks passed
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