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

Ensure module details are marked as ready #19780

Conversation

adfoster-r7
Copy link
Contributor

Continuation of #19546

Ensure module details are marked as ready, so that module details aren't repopulated on each boot

Conditional check for cache invalidation:

Mdm::Module::Detail.find_each do |md|
unless md.ready
refresh << md
next
end

Old update logic that was lost in #19546

module_detail.ready = true
module_detail.save!

Verification

  • Verify CI passes

@adfoster-r7 adfoster-r7 added the rn-no-release-notes no release notes label Dec 31, 2024
@adfoster-r7 adfoster-r7 marked this pull request as ready for review January 7, 2025 13:16
@jheysel-r7 jheysel-r7 self-assigned this Jan 8, 2025
@jheysel-r7 jheysel-r7 merged commit e62010c into rapid7:master Jan 8, 2025
70 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rn-no-release-notes no release notes
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants