Skip to content

Use find_latest_files for loading add-ons - #4179

Open
vinistock wants to merge 1 commit into
mainfrom
vs_use_find_latest_files
Open

Use find_latest_files for loading add-ons#4179
vinistock wants to merge 1 commit into
mainfrom
vs_use_find_latest_files

Conversation

@vinistock

Copy link
Copy Markdown
Member

Motivation

We had a few bugs in the past related to loading multiple versions of the same add-on. We already added some guard rails, but I just discovered that RubyGems actually has a better API we can use.

Implementation

Gem.find_latest_files will only find once for each gem, using the latest possible version according to the Bundle.

@vinistock
vinistock requested review from rafaelfranca and st0012 July 28, 2026 18:20
@vinistock vinistock self-assigned this Jul 28, 2026
@vinistock
vinistock requested a review from a team as a code owner July 28, 2026 18:20
@vinistock vinistock added bugfix This PR will fix an existing bug server This pull request should be included in the server gem's release notes labels Jul 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix This PR will fix an existing bug server This pull request should be included in the server gem's release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant