Skip to content

Prevent loading old gem installations as project add-ons#4052

Open
vinistock wants to merge 1 commit intomainfrom
04-06-prevent_loading_incompatible_add-on_versions
Open

Prevent loading old gem installations as project add-ons#4052
vinistock wants to merge 1 commit intomainfrom
04-06-prevent_loading_incompatible_add-on_versions

Conversation

@vinistock
Copy link
Copy Markdown
Member

@vinistock vinistock commented Apr 8, 2026

Motivation

From time to time, we still see the issue of incompatible add-on versions being loaded. I still suspect that this is due to stale gem installations that users forget to cleanup, which then get picked up accidentally by loading project add-ons.

Implementation

This PR tries to make our filtering more strict, so that if any project add-on paths look like a gem installation, we reject them.

Automated Tests

I added two scenarios that don't currently pass on main.

Copy link
Copy Markdown
Member Author


How to use the Graphite Merge Queue

Add the label graphite-merge to this PR to add it to the merge queue.

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@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 Apr 8, 2026
@vinistock vinistock self-assigned this Apr 8, 2026
@vinistock vinistock marked this pull request as ready for review April 8, 2026 20:57
@vinistock vinistock requested a review from a team as a code owner April 8, 2026 20:57
@vinistock vinistock requested review from alexcrocha and st0012 April 8, 2026 20:57
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.

3 participants